@customize-agent/server 4.60.1 → 4.60.3
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +128 -81
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +22 -0
- package/.next/server/chunks/1243.js +1 -1
- package/.next/server/chunks/1936.js +2 -2
- package/.next/server/chunks/2328.js +1 -1
- package/.next/server/chunks/4683.js +142 -0
- package/.next/server/chunks/5304.js +1 -1
- package/.next/server/chunks/6321.js +1 -1
- package/.next/server/chunks/6822.js +1 -0
- package/.next/server/chunks/8204.js +1 -1
- package/.next/server/chunks/9399.js +1 -0
- package/.next/server/chunks/9666.js +59 -58
- package/.next/server/instrumentation.js +1 -1
- package/.next/server/instrumentation.js.nft.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/api/documents/export.js +2 -2
- package/.next/server/pages/api/documents/export.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generate/preview.js +1 -1
- package/.next/server/pages/api/documents/generate.js +1 -1
- package/.next/server/pages/api/health.js +1 -1
- package/.next/server/pages/api/kb/files/detail.js +1 -1
- package/.next/server/pages/api/kb/files/source-preview.js +1 -1
- package/.next/server/pages/canvas/[id].html +1 -1
- package/.next/server/pages/canvas.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/source-preview.html +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/skills/[id]/edit.html +1 -0
- package/.next/server/pages/skills/[id]/edit.js.nft.json +1 -0
- package/.next/server/pages/skills/[id].html +1 -0
- package/.next/server/pages/skills/[id].js.nft.json +1 -0
- package/.next/server/pages/skills/new.html +1 -0
- package/.next/server/pages/skills/new.js.nft.json +1 -0
- package/.next/server/pages/skills.html +1 -1
- package/.next/server/pages/system/logs.html +1 -1
- package/.next/server/pages-manifest.json +37 -34
- package/.next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_buildManifest.js +1 -0
- package/.next/static/chunks/{511-75b881093a3e908b.js → 127-7d37d37dab02bd10.js} +1 -1
- package/.next/static/chunks/162-a5be07e04aedf98a.js +8 -0
- package/.next/static/chunks/2-8570cd2beee4da6e.js +1 -0
- package/.next/static/chunks/257-3ea888b096943bc8.js +1 -0
- package/.next/static/chunks/280-3ce590d421b5c47d.js +16 -0
- package/.next/static/chunks/318-ca122b774ea4ee84.js +1 -0
- package/.next/static/chunks/324-650dc02536b071bf.js +4 -0
- package/.next/static/chunks/338-19ccbaec57a7bf9c.js +4 -0
- package/.next/static/chunks/425-42f2568bcdd98f4c.js +1 -0
- package/.next/static/chunks/499-2233cadc6d4da647.js +10 -0
- package/.next/static/chunks/530-a5a65dc8adb1ee11.js +1 -0
- package/.next/static/chunks/564-d3426eef3e3e415b.js +4 -0
- package/.next/static/chunks/576-6699fed6c88502fe.js +1 -0
- package/.next/static/chunks/579-fc0a2eb64aedb001.js +1 -0
- package/.next/static/chunks/665-0634aa49137defc4.js +1 -0
- package/.next/static/chunks/{426-22c4cedb04b0d45d.js → 711-40c1a2dbd15c2807.js} +6 -6
- package/.next/static/chunks/781-a6b83dbcd1a33cab.js +1 -0
- package/.next/static/chunks/{795-48065c56c3b80339.js → 795-1c1cb3bf1f600e99.js} +1 -1
- package/.next/static/chunks/{665-9607db8f8b43e52e.js → 808-0506edc7454b5c0e.js} +1 -1
- package/.next/static/chunks/819-96247c9054ad9683.js +1 -0
- package/.next/static/chunks/964-569c27befeaff602.js +78 -0
- package/.next/static/chunks/pages/{_app-c11b5e8072f49bcc.js → _app-10f13111671af8a4.js} +15 -15
- package/.next/static/chunks/pages/canvas/[id]-534b45f39f39630c.js +1 -0
- package/.next/static/chunks/pages/canvas-ffb08963e5cf9558.js +1 -0
- package/.next/static/chunks/pages/{guide-a8eecc6c02b5bb9c.js → guide-82ae330966139191.js} +1 -1
- package/.next/static/chunks/pages/knowledge/file-detail-4ccc50ced6382dab.js +1 -0
- package/.next/static/chunks/pages/knowledge/source-preview-56ce59763fa015db.js +1 -0
- package/.next/static/chunks/pages/knowledge-84e386d765ddd311.js +1 -0
- package/.next/static/chunks/pages/models-5eee2d09deb081fb.js +1 -0
- package/.next/static/chunks/pages/prompt-f00bf2272142bfa1.js +1 -0
- package/.next/static/chunks/pages/{settings-81dffd92939c1d36.js → settings-f6dfff648cf9ac0e.js} +1 -1
- package/.next/static/chunks/pages/skills/[id]/edit-89bbed9a3a854b04.js +1 -0
- package/.next/static/chunks/pages/skills/[id]-101d753aa8fbf7a9.js +1 -0
- package/.next/static/chunks/pages/skills/new-124599c772150a1d.js +1 -0
- package/.next/static/chunks/pages/skills-476714776be63ce5.js +1 -0
- package/.next/static/chunks/pages/system/logs-40edb648d89b0749.js +1 -0
- package/.next/static/css/{ad5a592c79d1448b.css → 2da1c822e3bdb4bb.css} +1 -1
- package/.next/static/css/e67420f8d0ea180d.css +1 -0
- package/messages/en-US.json +5 -1
- package/messages/zh-CN.json +5 -1
- package/package.json +1 -1
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +7 -0
- package/scripts/generate-brand-assets.cjs +109 -0
- package/.next/server/chunks/7848.js +0 -141
- package/.next/static/chunks/127-20f09f6ebe1e6c1f.js +0 -1
- package/.next/static/chunks/174-1bc48f295d7dd075.js +0 -10
- package/.next/static/chunks/189-3f4f4e237056adaf.js +0 -4
- package/.next/static/chunks/269-7a3502478bf67fff.js +0 -11
- package/.next/static/chunks/278-31fbe7e1b733a9b7.js +0 -1
- package/.next/static/chunks/310-6c678cb70e4ba2d6.js +0 -19
- package/.next/static/chunks/530-d9f0418ec7ab040f.js +0 -1
- package/.next/static/chunks/700-5d29b0475311f590.js +0 -1
- package/.next/static/chunks/709-a7c652953ccd3b4b.js +0 -1
- package/.next/static/chunks/823-ff35afb174f7998b.js +0 -1
- package/.next/static/chunks/835-d29f4cc7a3679606.js +0 -1
- package/.next/static/chunks/873-16d052cdd3768758.js +0 -1
- package/.next/static/chunks/914-292edce0ba2a212d.js +0 -1
- package/.next/static/chunks/964-7e9fe2d80a53aeee.js +0 -78
- package/.next/static/chunks/992-8032f477230baaaf.js +0 -1
- package/.next/static/chunks/pages/canvas/[id]-37bee3f7b816ed18.js +0 -1
- package/.next/static/chunks/pages/canvas-97971ae159337676.js +0 -1
- package/.next/static/chunks/pages/knowledge/file-detail-f89e6044f752277c.js +0 -1
- package/.next/static/chunks/pages/knowledge/source-preview-4a303fadb123430a.js +0 -1
- package/.next/static/chunks/pages/knowledge-a65ec687334ffed0.js +0 -1
- package/.next/static/chunks/pages/models-3e486e49cca91e5a.js +0 -1
- package/.next/static/chunks/pages/prompt-b8af2cef904e3e19.js +0 -1
- package/.next/static/chunks/pages/skills-77ba363270239bbf.js +0 -1
- package/.next/static/chunks/pages/system/logs-1f54b6c8791daa77.js +0 -1
- package/.next/static/css/1a59bfb0aa677e69.css +0 -1
- package/.next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_buildManifest.js +0 -1
- /package/.next/static/{d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727 → 7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf}/_ssgManifest.js +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{838:(e,t)=>{t.A={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"}},7576:(e,t,r)=>{r.d(t,{A:()=>K});var n=r(97109),o=r(3638),l=r(74567),a=r(55359),i=r(33442),s=r(44390),u=r(78902),c=r(9750),d=r(42644),p=r(92162),f=r(26047),m=r(4034),g=r(27273),h=r(10540),b=r(28403),v=r(84767);let y=(0,h.OF)(["Input","OTP"],e=>(e=>{let{componentCls:t,paddingXS:r}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:r,[`${t}-input-wrapper`]:{position:"relative",[`${t}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${t}-mask-input`]:{color:"transparent",caretColor:e.colorText,"&::selection":{color:"transparent"}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}})((0,b.oX)(e,(0,v.C)(e))),v.b),$=n.forwardRef((e,t)=>{let{className:r,value:a,onChange:i,onActiveChange:s,index:c,mask:p,onFocus:f,...m}=e,{getPrefixCls:g}=n.useContext(l.QO),h=g("otp"),b="string"==typeof p?p:a,v=n.useRef(null);n.useImperativeHandle(t,()=>v.current);let y=()=>{(0,d.er)(()=>{let e=v.current?.input;document.activeElement===e&&e&&e.select()})};return n.createElement("span",{className:`${h}-input-wrapper`,role:"presentation"},p&&""!==a&&void 0!==a&&n.createElement("span",{className:`${h}-mask-icon`,"aria-hidden":"true"},b),n.createElement(u.A,{"aria-label":`OTP Input ${c+1}`,type:!0===p?"password":"text",...m,ref:v,value:a,onInput:e=>{i(c,e.target.value)},onFocus:e=>{f?.(e),y()},onKeyDown:e=>{let{key:t,ctrlKey:r,metaKey:n}=e;"ArrowLeft"===t?s(c-1):"ArrowRight"===t?s(c+1):"z"===t&&(r||n)?e.preventDefault():"Backspace"!==t||a||s(c-1),y()},onMouseDown:y,onMouseUp:y,className:(0,o.$)(r,{[`${h}-mask-input`]:p})}))});function E(e){return(e||"").split("")}let w=e=>{let{index:t,prefixCls:r,separator:l,className:a,style:i}=e,s=(0,f.Tn)(l)?l(t):l;return s?n.createElement("span",{className:(0,o.$)(`${r}-separator`,a),style:i},s):null},x=n.forwardRef((e,t)=>{let{prefixCls:r,length:i=6,size:s,defaultValue:u,value:f,onChange:h,formatter:b,separator:v,variant:x,disabled:S,status:M,autoFocus:A,mask:C,type:D,autoComplete:R,onInput:O,onFocus:I,inputMode:N,classNames:k,styles:z,className:P,style:T,...L}=e,{classNames:H,styles:_,getPrefixCls:B,direction:W,style:j,className:F}=(0,l.TP)("otp"),K=B("otp",r),X={...e,length:i},G=(0,p.XT)(j),Y=(0,p.XT)(T),[V,q]=(0,p.AV)([H,k],[_,G,z,Y],{props:X}),U=(0,d.KE)(L,{aria:!0,data:!0,attr:!0}),[Q,J]=y(K),Z=(0,g.A)(e=>s??e),ee=n.useContext(a.$W),et=(0,m.v)(ee.status,M),er=n.useMemo(()=>({...ee,status:et,hasFeedback:!1,feedbackIcon:null}),[ee,et]),en=n.useRef(null),eo=n.useRef({});n.useImperativeHandle(t,()=>({focus:()=>{eo.current[0]?.focus()},blur:()=>{for(let e=0;e<i;e+=1)eo.current[e]?.blur()},nativeElement:en.current}));let el=e=>b?b(e):e,[ea,ei]=n.useState(()=>E(el(u||"")));n.useEffect(()=>{void 0!==f&&ei(E(f))},[f]);let es=(0,d._q)(e=>{ei(e),O&&O(e),h&&e.length===i&&e.every(e=>e)&&e.some((e,t)=>ea[t]!==e)&&h(e.join(""))}),eu=(0,d._q)((e,t)=>{let r=(0,c.A)(ea);for(let t=0;t<e;t+=1)r[t]||(r[t]="");t.length<=1?r[e]=t:r=r.slice(0,e).concat(E(t)),r=r.slice(0,i);for(let e=r.length-1;e>=0&&!r[e];e-=1)r.pop();return r=E(el(r.map(e=>e||" ").join(""))).map((e,t)=>" "!==e||r[t]?e:r[t])}),ec=(e,t)=>{let r=eu(e,t),n=Math.min(e+t.length,i-1);n!==e&&void 0!==r[e]&&eo.current[n]?.focus(),es(r)},ed=e=>{eo.current[e]?.focus()},ep={variant:x,disabled:S,status:et,mask:C,type:D,inputMode:N,autoComplete:R};return n.createElement("div",{...U,ref:en,className:(0,o.$)(P,K,{[`${K}-sm`]:"small"===Z,[`${K}-lg`]:"large"===Z,[`${K}-rtl`]:"rtl"===W},J,Q,F,V.root),style:q.root,role:"group"},n.createElement(a.$W.Provider,{value:er},Array.from({length:i}).map((e,t)=>{let r=`otp-${t}`,l=ea[t]||"";return n.createElement(n.Fragment,{key:r},n.createElement($,{ref:e=>{eo.current[t]=e},index:t,size:Z,htmlSize:1,className:(0,o.$)(V.input,`${K}-input`),style:q.input,onChange:ec,value:l,onActiveChange:ed,autoFocus:0===t&&A,onFocus:e=>((e,t)=>{for(let e=0;e<t;e+=1)if(!eo.current[e]?.input?.value){eo.current[e]?.focus();break}I?.(e)})(e,t),...ep}),t<i-1&&n.createElement(w,{separator:v,index:t,prefixCls:K,className:(0,o.$)(V.separator),style:q.separator}))})))});var S=r(70542),M=r(88483);function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let C=n.forwardRef((e,t)=>n.createElement(M.A,A({},e,{ref:t,icon:S.A})));var D=r(8263),R=r(6831),O=r(69925),I=r(62116);let N={click:"onClick",hover:"onMouseOver"},k=n.forwardRef((e,t)=>{let{disabled:r,action:a="click",visibilityToggle:i=!0,iconRender:s,prefixCls:c,inputPrefixCls:m,suffix:g,className:h,style:b,classNames:v,styles:y,...$}=e,{getPrefixCls:E,className:w,style:x,classNames:S,styles:M,iconRender:A}=(0,l.TP)("inputPassword"),[k]=(0,O.A)("global"),z=n.useContext(R.A),P=r??z,T={...e,disabled:P},[L,H]=(0,p.AV)([S,v],[M,y],{props:T}),_=(0,f.Qd)(i)&&void 0!==i.visible,[B,W]=(0,n.useState)(()=>!!_&&i.visible),j=(0,n.useRef)(null);n.useEffect(()=>{_&&W(i.visible)},[_,i]);let F=(0,I.A)(j),K=()=>{if(P)return;B&&F();let e=!B;W(e),(0,f.Qd)(i)&&i.onVisibleChange?.(e)},X=E("input",m),G=E("input-password",c),Y=i&&(e=>{let t=N[a]||"",r=(s||A||(e=>e?n.createElement(D.A,null):n.createElement(C,null)))(B),o=(0,f.Qd)(i)?i.tabIndex:void 0;return n.createElement("span",{key:"passwordIcon",role:"button",tabIndex:P?-1:o??0,className:`${e}-icon`,"aria-disabled":P,"aria-pressed":B,"aria-label":B?k.hide:k.show,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),K())},[t]:K},r)})(G),V=(0,o.$)(G,w,h,{[`${G}-${e.size}`]:!!e.size}),q={...$,type:B?"text":"password",prefixCls:X,suffix:n.createElement(n.Fragment,null,Y,g),disabled:P,className:V,style:{...x,...b},classNames:L,styles:H};return n.createElement(u.A,{ref:(0,d.K4)(t,j),...q})});var z=r(30486),P=r(112),T=r(52690),L=r(9290),H=r(49644),_=r(15561);let B=(0,h.OF)(["Input","Search"],e=>(e=>{let{componentCls:t,antCls:r,calc:n,max:o}=e,l=`${t}-btn`,[a,i]=(0,h.PN)(r,"input-search"),s=e.inputFontSizeSM??e.fontSize,u=o(e.controlHeightSM,n(s).mul(e.lineHeight).add(n(e.paddingBlockSM).mul(2)).add(n(e.lineWidth).mul(2)).equal());return{[t]:{[a("btn-height")]:(0,_.zA)(e.controlHeight),width:"100%",[l]:{height:i("btn-height"),[`&${r}-btn-icon-only`]:{width:i("btn-height")},"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}},[`&${t}-large`]:{[a("btn-height")]:(0,_.zA)(e.controlHeightLG)},[`&${t}-small`]:{[a("btn-height")]:(0,_.zA)(e.controlHeightSM)},[`&${t}-small ${l}`]:{minHeight:u,[`&${e.antCls}-btn-icon-only`]:{minWidth:u}}}}})((0,b.oX)(e,(0,v.C)(e))),v.b),W=n.forwardRef((e,t)=>{let r,{prefixCls:a,inputPrefixCls:i,className:s,size:c,style:f,enterButton:m=!1,searchIcon:h,addonAfter:b,loading:v,disabled:y,onSearch:$,onChange:E,onCompositionStart:w,onCompositionEnd:x,variant:S,onPressEnter:M,classNames:A,styles:C,hidden:D,...R}=e,{direction:O,getPrefixCls:I,className:N,style:k,classNames:_,styles:W,searchIcon:j}=(0,l.TP)("inputSearch"),F={...e,enterButton:m},[K,X]=(0,p.AV)([_,A],[W,C],{props:F},{button:{_default:"root"}}),G=n.useRef(!1),Y=I("input-search",a),V=I("input",i),[q,U]=B(Y),{compactSize:Q}=(0,H.RQ)(Y,O),J=(0,g.A)(e=>c??Q??e),Z=n.useRef(null),ee=e=>{document.activeElement===Z.current?.input&&e.preventDefault()},et=e=>{$&&$(Z.current?.input?.value,e,{source:"input"})},er="boolean"==typeof m?(0,P.A)(h,j,n.createElement(z.A,null)):null,en=`${Y}-btn`,eo=(0,o.$)(en,{[`${en}-${S}`]:S}),el=m||{},ea=el.type&&!0===el.type.__ANT_BUTTON;if(ea||"button"===el.type){let e=el.props;r=(0,T.Ob)(el,{onMouseDown:ee,onClick:e=>{el?.props?.onClick?.(e),et(e)},key:"enterButton",...ea?{className:(0,o.$)(eo,e.className),size:J}:{}})}else r=n.createElement(L.A,{classNames:K.button,styles:X.button,className:eo,color:m?"primary":"default",size:J,disabled:y,key:"enterButton",onMouseDown:ee,onClick:et,loading:v,icon:er,variant:"borderless"===S||"filled"===S||"underlined"===S?"text":m?"solid":void 0},m);b&&(r=[r,(0,T.Ob)(b,{key:"addonAfter"})]);let ei=(0,o.$)(Y,U,{[`${Y}-rtl`]:"rtl"===O,[`${Y}-${J}`]:!!J,[`${Y}-with-button`]:!!m},s,N,q,K.root),es=(0,d.KE)(R,{data:!0}),eu=(0,d.cJ)({...R,classNames:(0,d.cJ)(K,["button","root"]),styles:(0,d.cJ)(X,["button","root"]),prefixCls:V,type:"search",size:J,variant:S,onPressEnter:e=>{G.current||v||(M?.(e),et(e))},onCompositionStart:e=>{G.current=!0,w?.(e)},onCompositionEnd:e=>{G.current=!1,x?.(e)},onChange:e=>{e?.target&&"click"===e.type&&$&&$(e.target.value,e,{source:"clear"}),E?.(e)},disabled:y},Object.keys(es));return n.createElement(H.Ay,{className:ei,style:{...X.root,...k,...f},...es,hidden:D},n.createElement(u.A,{ref:(0,d.K4)(Z,t),...eu}),r)});var j=r(1210);let F=u.A;F.Group=e=>{let{getPrefixCls:t,direction:r}=(0,n.useContext)(l.QO),{prefixCls:u,className:c}=e,d=t("input-group",u),p=t("input"),[f,m]=(0,s.Ay)(p),g=(0,o.$)(d,m,{[`${d}-lg`]:"large"===e.size,[`${d}-sm`]:"small"===e.size,[`${d}-compact`]:e.compact,[`${d}-rtl`]:"rtl"===r},f,c),h=(0,n.useContext)(a.$W),b=(0,n.useMemo)(()=>({...h,isFormItemInput:!1}),[h]);return n.createElement(a.$W.Provider,{value:b},n.createElement(i.A.Compact,{className:g,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},F.Search=W,F.TextArea=j.A,F.Password=k,F.OTP=x;let K=F},8263:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(97109),o=r(24983),l=r(88483);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let i=n.forwardRef((e,t)=>n.createElement(l.A,a({},e,{ref:t,icon:o.A})))},19013:(e,t,r)=>{r.d(t,{C:()=>o});var n=r(97109);let o=()=>n.useReducer(e=>e+1,0)},24716:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(97109),o=r(3638),l=r(4034),a=r(74567),i=r(49644),s=r(7961),u=r(77032),c=r(10540);let d=(0,c.OF)("Addon",e=>[(e=>{let{componentCls:t,borderRadius:r,paddingSM:n,colorBorder:o,paddingXS:l,fontSizeLG:a,fontSizeSM:i,borderRadiusLG:u,borderRadiusSM:d,colorBgContainerDisabled:p,lineWidth:f,antCls:m}=e,[g,h]=(0,c.PN)(m,"space-addon");return{[t]:[{...(0,s.dF)(e),display:"inline-flex",alignItems:"center",gap:0,whiteSpace:"nowrap",paddingInline:n,margin:0,borderWidth:f,borderStyle:"solid",borderRadius:r,"&:hover":{zIndex:0},[`&${t}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:a,borderRadius:u},"&-small":{paddingInline:l,borderRadius:d,fontSize:i},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[g("addon-border-color")]:o,[g("addon-background")]:p,[g("addon-border-color-outlined")]:o,[g("addon-background-filled")]:p,borderColor:h("addon-border-color"),background:h("addon-background"),"&-variant-outlined":{[g("addon-border-color")]:h("addon-border-color-outlined")},"&-variant-filled":{[g("addon-border-color")]:"transparent",[g("addon-background")]:h("addon-background-filled"),[`&${t}-disabled`]:{[g("addon-border-color")]:o,[g("addon-background")]:p}},"&-variant-borderless":{border:"none",background:"transparent"},"&-variant-underlined":{border:"none",background:"transparent"}},{"&-status-error":{[g("addon-border-color-outlined")]:e.colorError,[g("addon-background-filled")]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[g("addon-border-color-outlined")]:e.colorWarning,[g("addon-background-filled")]:e.colorWarningBg,color:e.colorWarning}}]}})(e),(0,u.G)(e,{focus:!1})]),p=n.forwardRef((e,t)=>{let{className:r,children:s,style:u,prefixCls:c,variant:p="outlined",disabled:f,status:m,...g}=e,{getPrefixCls:h,direction:b}=n.useContext(a.QO),v=h("space-addon",c),[y,$]=d(v),{compactItemClassnames:E,compactSize:w}=(0,i.RQ)(v,b),x=(0,l.L)(v,m),S=(0,o.$)(v,y,E,$,`${v}-variant-${p}`,x,{[`${v}-${w}`]:w,[`${v}-disabled`]:f},r);return n.createElement("div",{ref:t,className:S,style:u,...g},s)})},24983:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"}},30486:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(97109),o=r(58758),l=r(88483);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let i=n.forwardRef((e,t)=>n.createElement(l.A,a({},e,{ref:t,icon:o.A})))},33442:(e,t,r)=>{r.d(t,{A:()=>E});var n=r(97109),o=r(42644),l=r(3638),a=r(26047);function i(e){return["small","middle","medium","large"].includes(e)}function s(e){return!!e&&(0,a.Et)(e)}var u=r(5045),c=r(92162),d=r(74567),p=r(24716),f=r(49644);let m=n.createContext({latestIndex:0}),g=m.Provider,h=e=>{let{className:t,prefix:r,index:o,children:i,separator:s,style:u,classNames:c,styles:d}=e,{latestIndex:p}=n.useContext(m);return(0,a.AZ)(i)?n.createElement(n.Fragment,null,n.createElement("div",{className:t,style:u},i),o<p&&s&&n.createElement("span",{className:(0,l.$)(`${r}-item-separator`,c?.separator),style:d?.separator},s)):null};var b=r(10540),v=r(28403);let y=(0,b.OF)("Space",e=>{let t=(0,v.oX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[(e=>{let{componentCls:t,antCls:r}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${r}-badge-not-a-wrapper:only-child`]:{display:"block"}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}})(t)]},()=>({}),{resetStyle:!1}),$=n.forwardRef((e,t)=>{let{getPrefixCls:r,direction:p,size:f,className:m,style:b,classNames:v,styles:$}=(0,d.TP)("space"),{size:E=f??"small",align:w,className:x,rootClassName:S,children:M,direction:A,orientation:C,prefixCls:D,split:R,separator:O,style:I,vertical:N,wrap:k=!1,classNames:z,styles:P,...T}=e,[L,H]=Array.isArray(E)?E:[E,E],_=i(H),B=i(L),W=s(H),j=s(L),F=(0,o.$r)(M,{keepEmpty:!0}),[K,X]=(0,u.M)(C,N,A),G=void 0!==w||X?w:"center",Y=O??R,V=r("space",D),[q,U]=y(V),Q={...e,size:E,orientation:K,align:G},[J,Z]=(0,c.AV)([v,z],[$,P],{props:Q}),ee=(0,l.$)(V,m,q,`${V}-${K}`,{[`${V}-rtl`]:"rtl"===p,[`${V}-align-${G}`]:G,[`${V}-gap-row-${H}`]:_,[`${V}-gap-col-${L}`]:B},x,S,U,J.root),et=(0,l.$)(`${V}-item`,J.item),er=F.map((e,t)=>{let r=e?.key||`${et}-${t}`;return n.createElement(h,{prefix:V,classNames:J,styles:Z,className:et,key:r,index:t,separator:Y,style:Z.item},e)}),en=n.useMemo(()=>({latestIndex:F.reduce((e,t,r)=>(0,a.AZ)(t)?r:e,0)}),[F]);if(0===F.length)return null;let eo={};return k&&(eo.flexWrap="wrap"),!B&&j&&(eo.columnGap=L),!_&&W&&(eo.rowGap=H),n.createElement("div",{ref:t,className:ee,style:{...eo,...Z.root,...b,...I},...T},n.createElement(g,{value:en},er))});$.Compact=f.Ay,$.Addon=p.A;let E=$},57271:(e,t,r)=>{r.d(t,{A:()=>eL});var n=r(97109),o=r(42644),l=r(3638);let a=n.createContext(null);function i(){return n.useContext(a)}function s(e,t){return e.filter(e=>e).some(e=>e.contains(t)||e===t)}var u=r(82865);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let d=n.forwardRef((e,t)=>{let{prefixCls:r,disabled:o,visible:a,children:i,popupElement:s,animation:d,transitionName:p,popupStyle:f,popupClassName:m,direction:g="ltr",placement:h,builtinPlacements:b,popupMatchSelectWidth:v,popupRender:y,popupAlign:$,getPopupContainer:E,empty:w,onPopupVisibleChange:x,onPopupMouseEnter:S,onPopupMouseDown:M,onPopupBlur:A,...C}=e,D=`${r}-dropdown`,R=s;y&&(R=y(s));let O=n.useMemo(()=>b||(e=>{let t=+(!0!==e);return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}})(v),[b,v]),I=d?`${D}-${d}`:p,N="number"==typeof v,k=n.useMemo(()=>!1===v||N?"minWidth":"width",[v,N]),z=f;N&&(z={...f,width:v});let P=n.useRef(null);return n.useImperativeHandle(t,()=>({getPopupElement:()=>P.current?.popupElement})),n.createElement(u.Ay,c({},C,{showAction:x?["click"]:[],hideAction:x?["click"]:[],popupPlacement:h||("rtl"===g?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:D,popupMotion:{motionName:I},popup:n.createElement("div",{onMouseEnter:S,onMouseDown:M,onBlur:A},R),ref:P,stretch:k,popupAlign:$,popupVisible:a,getPopupContainer:E,popupClassName:(0,l.$)(m,{[`${D}-empty`]:w}),popupStyle:z,onPopupVisibleChange:x}),i)});function p(e,t){let r,{key:n}=e;return("value"in e&&({value:r}=e),null!=n)?n:void 0!==r?r:`rc-index-key-${t}`}function f(e){return void 0!==e&&!Number.isNaN(e)}function m(e,t){let{label:r,value:n,options:o,groupLabel:l}=e||{},a=r||(t?"children":"label");return{label:a,value:n||"value",options:o||"options",groupLabel:l||a}}function g(e){let t={...e};return"props"in t||Object.defineProperty(t,"props",{get:()=>((0,o.$e)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t)}),t}function h(e){let{visible:t,values:r}=e;return t?n.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},`${r.slice(0,50).map(({label:e,value:t})=>["number","string"].includes(typeof e)?e:t).join(", ")}`,r.length>50?", ...":null):null}let b=(e,t=1)=>{if(t<=0)return void e();(e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)})(()=>{b(e,t-1)})};function v(e){let{children:t,...r}=e;return t?n.createElement("div",r,t):null}let y=n.createContext(null);function $(){return n.useContext(y)}let E=n.forwardRef((e,t)=>{let{onChange:r,onKeyDown:a,onBlur:s,style:u,syncWidth:c,value:d,className:p,autoComplete:f,...m}=e,{prefixCls:g,mode:h,onSearch:b,onSearchSubmit:v,onInputBlur:y,autoFocus:E,tokenWithEnter:w,placeholder:x,components:{input:S="input"}}=$(),{id:M,classNames:A,styles:C,open:D,activeDescendantId:R,role:O,disabled:I}=i()||{},N=(0,l.$)(`${g}-input`,A?.input,p),k=n.useRef(!1),z=n.useRef(null),P=n.useRef(null);n.useImperativeHandle(t,()=>P.current);let[T,L]=n.useState(void 0);(0,o.Nf)(()=>{let e=P.current;c&&e&&(e.style.width="0px",L(e.scrollWidth),e.style.width="")},[c,d]);let H={id:M,type:"text",...m,ref:P,style:{...C?.input,...u,"--select-input-width":T},autoFocus:E,autoComplete:f||"new-password",className:N,disabled:I,value:d||"",onChange:e=>{let{value:t}=e.target;if(w&&z.current&&/[\r\n]/.test(z.current)){let e=z.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(e,z.current)}z.current=null,b&&b(t,!0,k.current),r?.(e)},onKeyDown:e=>{let{key:t}=e,{value:r}=e.currentTarget;"Enter"!==t||"tags"!==h||D||k.current||!v||v(r),a?.(e)},onBlur:e=>{y?.(),s?.(e)},onPaste:e=>{let{clipboardData:t}=e;z.current=t?.getData("text")||""},onCompositionStart:()=>{k.current=!0},onCompositionEnd:e=>{if(k.current=!1,"combobox"!==h){let{value:t}=e.currentTarget;b?.(t,!0,!1)}},role:O||"combobox","aria-expanded":D||!1,"aria-haspopup":"listbox","aria-owns":D?`${M}_list`:void 0,"aria-autocomplete":"list","aria-controls":D?`${M}_list`:void 0,"aria-activedescendant":D?R:void 0};if(n.isValidElement(S)){let t=S.props||{},r={placeholder:e.placeholder||x,...H,...t};return Object.keys(t).forEach(e=>{let n=t[e];"function"==typeof n&&(r[e]=(...t)=>{n(...t),H[e]?.(...t)})}),r.ref=(0,o.K4)(S.ref,H.ref),n.cloneElement(S,r)}return n.createElement(S,H)});function w(e){let{prefixCls:t,placeholder:r,displayValues:o}=$(),{classNames:a,styles:s}=i(),{show:u=!0}=e;return o.length?null:n.createElement("div",{className:(0,l.$)(`${t}-placeholder`,a?.placeholder),style:{visibility:u?"visible":"hidden",...s?.placeholder}},r)}let x=n.createContext(null);function S(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function M(e){return["string","number"].includes(typeof e)}function A(e){let t;return e&&(M(e.title)?t=e.title.toString():M(e.label)&&(t=e.label.toString())),t}function C(){return(C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}"undefined"!=typeof window&&window.document&&window.document.documentElement;let D=n.forwardRef(({inputProps:e},t)=>{let{prefixCls:r,searchValue:o,activeValue:a,displayValues:s,maxLength:u,mode:c,components:d}=$(),{triggerOpen:p,title:f,showSearch:m,classNames:g,styles:h}=i(),b=n.useContext(x),[v,y]=n.useState(!1),S="combobox"===c,M=s[0],D=n.useMemo(()=>S&&a&&!v&&p?a:m?o:"",[S,a,v,p,o,m]),[R,O,I,N]=n.useMemo(()=>{let e,t,r;if(M&&b?.flattenOptions){let n=b.flattenOptions.find(e=>e.value===M.value);n?.data&&(e=n.data.className,t=n.data.style,r=A(n.data))}M&&!r&&(r=A(M)),void 0!==f&&(r=f);let n=!!e||!!t;return[e,t,r,n]},[M,b?.flattenOptions,f]);n.useEffect(()=>{S&&y(!1)},[S,a]);let k=M&&null!==M.label&&void 0!==M.label&&""!==String(M.label).trim(),z=S&&d?.input?null:M?N?n.createElement("div",{className:(0,l.$)(`${r}-content-value`,R),style:{...D?{visibility:"hidden"}:{},...O},title:I},M.label):M.label:n.createElement(w,{show:!D});return n.createElement("div",{className:(0,l.$)(`${r}-content`,k&&`${r}-content-has-value`,D&&`${r}-content-has-search-value`,N&&`${r}-content-has-option-style`,g?.content),style:h?.content,title:N?void 0:I},z,n.createElement(E,C({ref:t},e,{value:D,maxLength:"combobox"===c?u:void 0,onChange:t=>{y(!0),e.onChange?.(t)}})))});var R=r(61910);let O=e=>{let{className:t,style:r,customizeIcon:o,customizeIconProps:a,children:i,onMouseDown:s,onClick:u}=e,c="function"==typeof o?o(a):o;return n.createElement("span",{className:t,onMouseDown:e=>{e.preventDefault(),s?.(e)},style:{userSelect:"none",WebkitUserSelect:"none",...r},unselectable:"on",onClick:u,"aria-hidden":!0},void 0!==c?c:n.createElement("span",{className:(0,l.$)(t.split(/\s+/).map(e=>`${e}-icon`))},i))};function I(){return(I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function N(e){return e.key??e.value}let k=e=>{e.preventDefault(),e.stopPropagation()},z=n.forwardRef(function({inputProps:e},t){let{prefixCls:r,displayValues:o,searchValue:a,mode:s,onSelectorRemove:u,removeIcon:c}=$(),{disabled:d,showSearch:p,triggerOpen:f,rawOpen:m,toggleOpen:g,autoClearSearchValue:h,tagRender:b,maxTagPlaceholder:v,maxTagTextLength:y,maxTagCount:x,classNames:S,styles:M}=i(),C=`${r}-selection-item`,D=a;m||"multiple"!==s||!1===h||(D="");let z=p&&D||"",P=p&&!d,T=c??"\xd7",L=v??(e=>`+ ${e.length} ...`),H=(e,t,r,o,a)=>n.createElement("span",{title:A(e),className:(0,l.$)(C,{[`${C}-disabled`]:r},S?.item),style:M?.item},n.createElement("span",{className:(0,l.$)(`${C}-content`,S?.itemContent),style:M?.itemContent},t),o&&n.createElement(O,{className:(0,l.$)(`${C}-remove`,S?.itemRemove),style:M?.itemRemove,onMouseDown:k,onClick:a,customizeIcon:T},"\xd7")),_=(e,t,r,o,l,a,i)=>n.createElement("span",{onMouseDown:e=>{k(e),g(!f)}},b({label:t,value:e,index:i?.index,disabled:r,closable:o,onClose:l,isMaxTag:!!a}));return n.createElement(R.A,{prefixCls:`${r}-content`,className:S?.content,style:M?.content,prefix:!o.length&&!z&&n.createElement(w,null),data:o,renderItem:(e,t)=>{let{disabled:r,label:n,value:o}=e,l=!d&&!r,a=n;if("number"==typeof y&&("string"==typeof n||"number"==typeof n)){let e=String(a);e.length>y&&(a=`${e.slice(0,y)}...`)}let i=t=>{t&&t.stopPropagation(),u?.(e)};return"function"==typeof b?_(o,a,r,l,i,void 0,t):H(e,a,r,l,i)},renderRest:e=>{if(!o.length)return null;let t="function"==typeof L?L(e):L;return"function"==typeof b?_(void 0,t,!1,!1,void 0,!0):H({title:t},t,!1)},suffix:n.createElement(E,I({ref:t,disabled:d,readOnly:!P},e,{value:z||"",syncWidth:!0})),itemKey:N,maxCount:x})}),P=n.forwardRef(function(e,t){let{multiple:r,onInputKeyDown:l,tabIndex:a}=$(),s=i(),{showSearch:u}=s,c={...(0,o.KE)(s,{aria:!0}),onKeyDown:l,readOnly:!u,tabIndex:a};return r?n.createElement(z,{ref:t,inputProps:c}):n.createElement(D,{ref:t,inputProps:c})});function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let L=["value","onChange","removeIcon","placeholder","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex","activeValue","onSelectorRemove","focused"],H=n.forwardRef(function(e,t){let{prefixCls:r,className:a,style:s,prefix:u,suffix:c,clearIcon:d,children:p,multiple:f,displayValues:m,placeholder:g,mode:h,searchValue:b,onSearch:$,onSearchSubmit:E,onInputBlur:w,maxLength:x,autoFocus:S,onMouseDown:M,onClearMouseDown:A,onInputKeyDown:C,onSelectorRemove:D,tokenWithEnter:R,components:O,...I}=e,{triggerOpen:N,toggleOpen:k,showSearch:z,disabled:H,loading:_,classNames:B,styles:W}=i(),j=n.useRef(null),F=n.useRef(null),K=(0,o._q)(e=>{var t;let{which:r}=e,n=F.current instanceof HTMLTextAreaElement;!n&&N&&(r===o.DD.UP||r===o.DD.DOWN)&&e.preventDefault(),C&&C(e),!(n&&!N&&~[o.DD.UP,o.DD.DOWN,o.DD.LEFT,o.DD.RIGHT].indexOf(r))&&!(e.ctrlKey||e.altKey||e.metaKey)&&(t=r)&&![o.DD.ESC,o.DD.SHIFT,o.DD.BACKSPACE,o.DD.TAB,o.DD.WIN_KEY,o.DD.ALT,o.DD.META,o.DD.WIN_KEY_RIGHT,o.DD.CTRL,o.DD.SEMICOLON,o.DD.EQUALS,o.DD.CAPS_LOCK,o.DD.CONTEXT_MENU,o.DD.UP,o.DD.LEFT,o.DD.RIGHT,o.DD.F1,o.DD.F2,o.DD.F3,o.DD.F4,o.DD.F5,o.DD.F6,o.DD.F7,o.DD.F8,o.DD.F9,o.DD.F10,o.DD.F11,o.DD.F12].includes(t)&&k(!0)});n.useImperativeHandle(t,()=>({focus:e=>{(F.current||j.current).focus?.(e)},blur:()=>{(F.current||j.current).blur?.()},nativeElement:(0,o.rb)(j.current)}));let X=(0,o._q)(e=>{if(!H){let t=(0,o.rb)(F.current);e.nativeEvent._ori_target=t;let r=t===e.target||t?.contains(e.target);t&&!r&&e.preventDefault();let n=N&&!f&&("combobox"===h||z),l=N&&f&&r;e.nativeEvent._select_lazy?N&&!f&&k(!1):(F.current?.focus(),n||l||k())}M?.(e)}),{root:G}=O,Y=(0,o.cJ)(I,L),V=Object.keys((0,o.KE)(Y,{aria:!0})),q={...e,onInputKeyDown:K};if(G){let e=G.props||{},t={...e,...Y};return(Object.keys(e).forEach(r=>{let n=e[r],o=Y[r];"function"==typeof n&&"function"==typeof o&&(t[r]=(...e)=>{o(...e),n(...e)})}),n.isValidElement(G))?n.cloneElement(G,{...t,ref:(0,o.K4)(G.ref,j)}):n.createElement(G,T({},t,{ref:j}))}return n.createElement(y.Provider,{value:q},n.createElement("div",T({},(0,o.cJ)(Y,V),{ref:j,className:a,style:s,onMouseDown:X}),n.createElement(v,{className:(0,l.$)(`${r}-prefix`,B?.prefix),style:W?.prefix},u),n.createElement(P,{ref:F}),n.createElement(v,{className:(0,l.$)(`${r}-suffix`,{[`${r}-suffix-loading`]:_},B?.suffix),style:W?.suffix},c),d&&n.createElement(v,{className:(0,l.$)(`${r}-clear`,B?.clear),style:W?.clear,onMouseDown:e=>{e.nativeEvent._select_lazy=!0,A?.(e)}},d),p))});function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let B=e=>"tags"===e||"multiple"===e,W=n.forwardRef((e,t)=>{let r,{id:i,prefixCls:u,className:c,styles:p,classNames:m,showSearch:g,tagRender:v,showScrollBar:y="optional",direction:$,omitDomProps:E,displayValues:w,onDisplayValuesChange:x,emptyOptions:S,notFoundContent:M="Not Found",onClear:A,maxCount:C,placeholder:D,mode:R,disabled:O,loading:I,getInputElement:N,getRawInputElement:k,open:z,defaultOpen:P,onPopupVisibleChange:T,activeValue:L,onActiveValueChange:W,activeDescendantId:j,searchValue:F,autoClearSearchValue:K,onSearch:X,onSearchSplit:G,tokenSeparators:Y,allowClear:V,prefix:q,suffix:U,suffixIcon:Q,clearIcon:J,OptionList:Z,animation:ee,transitionName:et,popupStyle:er,popupClassName:en,popupMatchSelectWidth:eo,popupRender:el,popupAlign:ea,placement:ei,builtinPlacements:es,getPopupContainer:eu,showAction:ec=[],onFocus:ed,onBlur:ep,onKeyUp:ef,onKeyDown:em,onMouseDown:eg,components:eh,...eb}=e,ev=B(R),ey=n.useRef(null),e$=n.useRef(null),eE=n.useRef(null),[ew,ex]=n.useState(!1);n.useImperativeHandle(t,()=>({focus:ey.current?.focus,blur:ey.current?.blur,scrollTo:e=>eE.current?.scrollTo(e),nativeElement:(0,o.rb)(ey.current)}));let eS=function(e,t,r){return n.useMemo(()=>{let{root:n,input:o}=e||{};return r&&(n=r()),t&&(o=t()),{root:n,input:o}},[e,t,r])}(eh,N,k),eM=n.useMemo(()=>{if("combobox"!==R)return F;let e=w[0]?.value;return"string"==typeof e||"number"==typeof e?String(e):""},[F,R,w]),eA="combobox"===R&&"function"==typeof N&&N()||null,eC=!M&&S,[eD,eR,eO,eI]=function(e,t,r,l){let[a,i]=(0,n.useState)(!1);(0,n.useEffect)(()=>{i(!0)},[]);let[s,u]=(0,o.PW)(e,t),[c,d]=(0,n.useState)(!1),p=!!a&&s,f=l(p),m=(0,n.useRef)(0),g=(0,o._q)(e=>{r&&f!==e&&r(e),u(e)}),h=(0,o._q)((e,t={})=>{let{cancelFun:r}=t;m.current+=1;let n=m.current,o="boolean"==typeof e?e:!f;function l(){n!==m.current||r?.()||(g(o),d(!1))}d(!o),o?l():b(()=>{l()})});return[p,f,h,c]}(P||!1,z,T,e=>!O&&!eC&&e),eN=n.useMemo(()=>"function"==typeof Y||(Y||[]).some(e=>["\n","\r\n"].includes(e)),[Y]),ek=n.useMemo(()=>"function"==typeof Y?(e,t)=>{let r=Y(e),n=Array.isArray(r)&&1===r.length&&r[0]===e;return Array.isArray(r)&&r.length&&!n?void 0!==t?r.slice(0,t):r:null}:(e,t)=>((e,t,r)=>{if(!t||!t.length)return null;let n=!1,o=(e,[t,...r])=>{if(!t)return[e];let l=e.split(t);return n=n||l.length>1,l.reduce((e,t)=>[...e,...o(t,r)],[]).filter(Boolean)},l=o(e,t);return n?void 0!==r?l.slice(0,r):l:null})(e,Y,t),[Y]),ez=(e,t,r)=>{if(ev&&f(C)&&w.length>=C)return;let n=!0,o=e;W?.(null);let l=f(C)?C-w.length:void 0,a=r?null:ek(e,l);return"combobox"!==R&&a&&(o="",G?.(a),eO(!1),n=!1),X&&eM!==o&&X(o,{source:t?"typing":"effect"}),e&&t&&n&&eO(!0),n};n.useEffect(()=>{eD||ev||"combobox"===R||ez("",!1,!1)},[eD]),n.useEffect(()=>{O&&(eO(!1),ex(!1))},[O,eR]);let[eP,eT]=function(e=250){let t=n.useRef(null),r=n.useRef(null);return n.useEffect(()=>()=>{window.clearTimeout(r.current)},[]),[()=>t.current,function(n){(n||null===t.current)&&(t.current=n),window.clearTimeout(r.current),r.current=window.setTimeout(()=>{t.current=null},e)}]}(),eL=n.useRef(!1),eH=(0,o._q)(e=>{x(w.filter(t=>t!==e),{type:"remove",values:[e]})}),e_=()=>[(0,o.rb)(ey.current),e$.current?.getPopupElement()];!function(e,t,r,l){let a=(0,o._q)(n=>{if(l)return;let o=n.target;o.shadowRoot&&n.composed&&(o=n.composedPath()[0]||o),n._ori_target&&(o=n._ori_target),t&&!s(e(),o)&&r(!1)});n.useEffect(()=>(window.addEventListener("mousedown",a),()=>window.removeEventListener("mousedown",a)),[a])}(e_,eR,eO,!!eS.root);let eB=n.useRef(!1),eW=()=>{eR&&!eB.current&&eO(!1,{cancelFun:()=>s(e_(),document.activeElement)})},ej=(e,...t)=>{let{target:r}=e,n=e$.current?.getPopupElement();n?.contains(r)&&eO&&eO(!0),eg?.(e,...t),eB.current=!0,b(()=>{eB.current=!1})},[,eF]=n.useState({});eS.root&&(r=e=>{eO(e)});let eK=n.useMemo(()=>({...e,notFoundContent:M,open:eR,triggerOpen:eR,rawOpen:eD,id:i,showSearch:g,multiple:ev,toggleOpen:eO,showScrollBar:y,styles:p,classNames:m,lockOptions:eI}),[e,M,eO,i,g,ev,eR,eD,y,p,m,eI]),eX=n.useMemo(()=>{let e=U??Q;return"function"==typeof e?e({searchValue:eM,open:eR,focused:ew,showSearch:g,loading:I}):e},[U,Q,eM,eR,ew,g,I]),{allowClear:eG,clearIcon:eY}=((e,t,r,o,l=!1,a,i)=>{let s=(0,n.useMemo)(()=>"boolean"==typeof r?{allowClear:r}:r&&"object"==typeof r?r:{allowClear:!1},[r]);return(0,n.useMemo)(()=>{let e=!l&&!1!==s.allowClear&&(t.length||a)&&("combobox"!==i||""!==a);return{allowClear:e,clearIcon:e?s.clearIcon||o||"\xd7":null}},[s,o,l,t.length,a,i])})(0,w,V,J,O,eM,R),eV=n.createElement(Z,{ref:eE}),eq=(0,l.$)(u,c,{[`${u}-focused`]:ew,[`${u}-multiple`]:ev,[`${u}-single`]:!ev,[`${u}-allow-clear`]:eG,[`${u}-show-arrow`]:null!=eX,[`${u}-disabled`]:O,[`${u}-loading`]:I,[`${u}-open`]:eR,[`${u}-customize-input`]:eA,[`${u}-show-search`]:g}),eU=n.createElement(H,_({},eb,{ref:ey,prefixCls:u,className:eq,focused:ew,prefix:q,suffix:eX,clearIcon:eY,multiple:ev,mode:R,displayValues:w,placeholder:D,searchValue:eM,activeValue:L,onSearch:ez,onSearchSubmit:e=>{e&&e.trim()&&X(e,{source:"submit"})},onInputBlur:()=>{eL.current=!1},onFocus:e=>{ex(!0),O||(ec.includes("focus")&&eO(!0),ed?.(e))},onBlur:e=>{ex(!1),eM&&("tags"===R?X(eM,{source:"submit"}):"multiple"===R&&X("",{source:"blur"})),eW(),O||ep?.(e)},onClearMouseDown:()=>{A?.(),ey.current?.focus(),x([],{type:"clear",values:w}),ez("",!1,!1)},onKeyDown:e=>{let t=eP(),{key:r}=e,n="Enter"===r,o=" "===r;if(n||o){let t="combobox"===R,r=t||g;(o&&!r||n&&!t)&&e.preventDefault(),eR||eO(!0)}if(eT(!!eM),"Backspace"===r&&!t&&ev&&!eM&&w.length){let e=[...w],t=null;for(let r=e.length-1;r>=0;r-=1){let n=e[r];if(!n.disabled){e.splice(r,1),t=n;break}}t&&x(e,{type:"remove",values:[t]})}!eR||n&&eL.current||o||(n&&(eL.current=!0),eE.current?.onKeyDown(e)),em?.(e)},onKeyUp:(e,...t)=>{eR&&eE.current?.onKeyUp(e,...t),"Enter"===e.key&&(eL.current=!1),ef?.(e,...t)},onSelectorRemove:eH,tokenWithEnter:eN,onMouseDown:ej,components:eS}));return eU=n.createElement(d,{ref:e$,disabled:O,prefixCls:u,visible:eR,popupElement:eV,animation:ee,transitionName:et,popupStyle:er,popupClassName:en,direction:$,popupMatchSelectWidth:eo,popupRender:el,popupAlign:ea,placement:ei,builtinPlacements:es,getPopupContainer:eu,empty:S,onPopupVisibleChange:r,onPopupMouseEnter:function(){eF({})},onPopupMouseDown:ej,onPopupBlur:eW},eU),n.createElement(a.Provider,{value:eK},n.createElement(h,{visible:ew&&!eR,values:w}),eU)}),j=()=>null;j.isSelectOptGroup=!0;let F=()=>null;F.isSelectOption=!0;var K=r(93307);function X(){return(X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function G(e){return"string"==typeof e||"number"==typeof e}let Y=n.forwardRef((e,t)=>{let{prefixCls:r,id:a,open:s,multiple:u,mode:c,searchValue:d,toggleOpen:p,notFoundContent:m,onPopupScroll:g,showScrollBar:h,lockOptions:b}=i(),{maxCount:v,flattenOptions:y,onActiveValue:$,defaultActiveFirstOption:E,onSelect:w,menuItemSelectedIcon:S,rawValues:M,fieldNames:A,virtual:C,direction:D,listHeight:R,listItemHeight:I,optionRender:N,classNames:k,styles:z}=n.useContext(x),P=`${r}-item`,T=(0,o.Kr)(()=>y,[s,b],(e,t)=>t[0]&&!t[1]),L=n.useRef(null),H=n.useMemo(()=>u&&f(v)&&M?.size>=v,[u,v,M?.size]),_=e=>{e.preventDefault()},B=e=>{L.current?.scrollTo("number"==typeof e?{index:e}:e)},W=n.useCallback(e=>"combobox"!==c&&M.has(e),[c,[...M].toString(),M.size]),j=(e,t=1)=>{let r=T.length;for(let n=0;n<r;n+=1){let o=(e+n*t+r)%r,{group:l,data:a}=T[o]||{};if(!l&&!a?.disabled&&(W(a.value)||!H))return o}return -1},[F,Y]=n.useState(()=>j(0)),V=(e,t=!1)=>{Y(e);let r={source:t?"keyboard":"mouse"},n=T[e];if(!n)return void $(null,-1,r);$(n.value,e,r)};(0,n.useEffect)(()=>{V(!1!==E?j(0):-1)},[T.length,d]);let q=n.useCallback(e=>"combobox"===c?String(e).toLowerCase()===d.toLowerCase():M.has(e),[c,d,[...M].toString(),M.size]);(0,n.useEffect)(()=>{let e;if(!u&&s&&1===M.size){let t=Array.from(M)[0],r=T.findIndex(({data:e})=>d?String(e.value).startsWith(d):e.value===t);-1!==r&&(V(r),e=setTimeout(()=>{B(r)}))}return s&&L.current?.scrollTo(void 0),()=>clearTimeout(e)},[s,d]);let U=e=>{void 0!==e&&w(e,{selected:!M.has(e)}),u||p(!1)};if(n.useImperativeHandle(t,()=>({onKeyDown:e=>{let{which:t,ctrlKey:r}=e;switch(t){case o.DD.N:case o.DD.P:case o.DD.UP:case o.DD.DOWN:{let e=0;if(t===o.DD.UP?e=-1:t===o.DD.DOWN?e=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&r&&(t===o.DD.N?e=1:t===o.DD.P&&(e=-1)),0!==e){let t=j(F+e,e);B(t),V(t,!0)}break}case o.DD.TAB:case o.DD.ENTER:{let t=T[F];if(!t||t.data.disabled)return U(void 0);!H||M.has(t.value)?U(t.value):U(void 0),s&&e.preventDefault();break}case o.DD.ESC:p(!1),s&&e.stopPropagation()}},onKeyUp:()=>{},scrollTo:e=>{B(e)}})),0===T.length)return n.createElement("div",{role:"listbox",id:`${a}_list`,className:`${P}-empty`,onMouseDown:_},m);let Q=Object.keys(A).map(e=>A[e]);function J(e,t){let{group:r}=e;return{role:r?"presentation":"option",id:`${a}_list_${t}`}}let Z=e=>{let t=T[e];if(!t)return null;let r=t.data||{},{value:l,disabled:a}=r,{group:i}=t,s=(0,o.KE)(r,!0),u=t.label;return t?n.createElement("div",X({"aria-label":"string"!=typeof u||i?null:u},s,{key:e},J(t,e),{"aria-selected":q(l),"aria-disabled":a}),l):null},ee={role:"listbox",id:`${a}_list`};return n.createElement(n.Fragment,null,C&&n.createElement("div",X({},ee,{style:{height:0,width:0,overflow:"hidden"}}),Z(F-1),Z(F),Z(F+1)),n.createElement(K.A,{itemKey:"key",ref:L,data:T,height:R,itemHeight:I,fullHeight:!1,onMouseDown:_,onScroll:g,virtual:C,direction:D,innerProps:C?null:ee,showScrollBar:h,className:k?.popup?.list,style:z?.popup?.list},(e,t)=>{let{group:r,groupOption:a,data:i,label:s,value:u}=e,{key:c}=i;if(r){let e=i.title??(G(s)?s.toString():void 0);return n.createElement("div",{className:(0,l.$)(P,`${P}-group`,i.className),title:e},void 0!==s?s:c)}let{disabled:d,title:p,children:f,style:m,className:g,...h}=i,b=(0,o.cJ)(h,Q),v=W(u),y=d||!v&&H,$=`${P}-option`,E=(0,l.$)(P,$,g,k?.popup?.listItem,{[`${$}-grouped`]:a,[`${$}-active`]:F===t&&!y,[`${$}-disabled`]:y,[`${$}-selected`]:v}),w=e.label,x=!S||"function"==typeof S||v,M="number"==typeof w?w:w||u,A=G(M)?M.toString():void 0;return void 0!==p&&(A=p),n.createElement("div",X({},(0,o.KE)(b),C?{}:J(e,t),{"aria-selected":C?void 0:q(u),"aria-disabled":y,className:E,title:A,onMouseMove:()=>{F===t||y||V(t)},onClick:()=>{y||U(u)},style:{...z?.popup?.listItem,...m}}),n.createElement("div",{className:`${$}-content`},"function"==typeof N?N(e,{index:t}):M),n.isValidElement(S)||v,x&&n.createElement(O,{className:`${P}-option-state`,customizeIcon:S,customizeIconProps:{value:u,disabled:y,isSelected:v}},v?"✓":null))}))});function V(e,t){return S(e).join("").toUpperCase().includes(t)}function q(e){let t=n.useRef();return t.current=e,n.useCallback((...e)=>t.current(...e),[])}function U(){return(U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let Q=["inputValue"],J=n.forwardRef((e,t)=>{let{id:r,mode:l,prefixCls:a="rc-select",backfill:i,fieldNames:s,showSearch:u,searchValue:c,onSearch:d,autoClearSearchValue:f,filterOption:h,optionFilterProp:b,filterSort:v,onSelect:y,onDeselect:$,onActive:E,popupMatchSelectWidth:w=!0,optionLabelProp:M,options:A,optionRender:C,children:D,defaultActiveFirstOption:R,menuItemSelectedIcon:O,virtual:I,direction:N,listHeight:k=200,listItemHeight:z=20,labelRender:P,value:T,defaultValue:L,labelInValue:H,onChange:_,maxCount:j,classNames:F,styles:K,...X}=e,[G,J]=function(e,t,r){let{filterOption:o,searchValue:l,optionFilterProp:a,filterSort:i,onSearch:s,autoClearSearchValue:u}=t;return n.useMemo(()=>{let t="object"==typeof e,n={filterOption:o,searchValue:l,optionFilterProp:a,filterSort:i,onSearch:s,autoClearSearchValue:u,...t?e:{}};return[!!t||"combobox"===r||"tags"===r||"multiple"===r&&void 0===e||e,n]},[r,e,o,l,a,i,s,u])}(u,{searchValue:c,onSearch:d,autoClearSearchValue:f,filterOption:h,optionFilterProp:b,filterSort:v},l),{filterOption:Z,searchValue:ee,optionFilterProp:et,filterSort:er,onSearch:en,autoClearSearchValue:eo=!0}=J,el=n.useMemo(()=>et?Array.isArray(et)?et:[et]:[],[et]),ea=(0,o.Bi)(r),ei=B(l),es=!!(!A&&D),eu=n.useMemo(()=>(void 0!==Z||"combobox"!==l)&&Z,[Z,l]),ec=n.useMemo(()=>m(s,es),[JSON.stringify(s),es]),[ed,ep]=(0,o.PW)("",ee),ef=ed||"",em=((e,t,r,l,a)=>n.useMemo(()=>{let i=e;e||(i=function e(t,r=!1){return(0,o.$r)(t).map((t,o)=>{if(!n.isValidElement(t)||!t.type)return null;let{type:{isSelectOptGroup:l},key:a,props:{children:i,...s}}=t;if(r||!l){let{key:e,props:{children:r,value:n,...o}}=t;return{key:e,value:void 0!==n?n:e,children:r,...o}}return{key:`__RC_SELECT_GRP__${null===a?o:a}__`,label:a,...s,options:e(i)}}).filter(e=>e)}(t));let s=new Map,u=new Map,c=(e,t,r)=>{r&&"string"==typeof r&&e.set(t[r],t)},d=(e,t=!1)=>{for(let n=0;n<e.length;n+=1){let o=e[n];!o[r.options]||t?(s.set(o[r.value],o),c(u,o,r.label),l.forEach(e=>{c(u,o,e)}),c(u,o,a)):d(o[r.options],!0)}};return d(i),{options:i,valueOptions:s,labelOptions:u}},[e,t,r,l,a]))(A,D,ec,el,M),{valueOptions:eg,labelOptions:eh,options:eb}=em,ev=n.useCallback(e=>S(e).map(e=>{let t,r,n,o;!function(e){return!e||"object"!=typeof e}(e)?(r=e.label,t=e.value):t=e;let l=eg.get(t);return l&&(void 0===r&&(r=l?.[M||ec.label]),n=l?.disabled,o=l?.title),{label:r,value:t,key:t,disabled:n,title:o}}),[ec,M,eg]),[ey,e$]=(0,o.PW)(L,T),[eE,ew]=((e,t)=>{let r=n.useRef({values:new Map,options:new Map});return[n.useMemo(()=>{let{values:n,options:o}=r.current,l=e.map(e=>void 0===e.label?{...e,label:n.get(e.value)?.label}:e),a=new Map,i=new Map;return l.forEach(e=>{a.set(e.value,e),i.set(e.value,t.get(e.value)||o.get(e.value))}),r.current.values=a,r.current.options=i,l},[e,t]),n.useCallback(e=>t.get(e)||r.current.options.get(e),[t])]})(n.useMemo(()=>{let e=ev(ei&&null===ey?[]:ey);return"combobox"===l&&function(e){return!e&&0!==e}(e[0]?.value)?[]:e},[ey,ev,l,ei]),eg),ex=n.useMemo(()=>{if(!l&&1===eE.length){let e=eE[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return eE.map(e=>({...e,label:("function"==typeof P?P(e):e.label)??e.value}))},[l,eE,P]),eS=n.useMemo(()=>new Set(eE.map(e=>e.value)),[eE]);n.useEffect(()=>{if("combobox"===l){let e=eE[0]?.value;ep(null!=e?String(e):"")}},[eE]);let eM=q((e,t)=>({[ec.value]:e,[ec.label]:t??e})),eA=((e,t,r,o,l)=>n.useMemo(()=>{if(!r||!1===o)return e;let{options:n,label:a,value:i}=t,s=[],u="function"==typeof o,c=r.toUpperCase(),d=u?o:(e,t)=>l&&l.length?l.some(e=>V(t[e],c)):t[n]?V(t["children"!==a?a:"label"],c):V(t[i],c),p=u?e=>g(e):e=>e;return e.forEach(e=>{if(e[n]){if(d(r,p(e)))s.push(e);else{let t=e[n].filter(e=>d(r,p(e)));t.length&&s.push({...e,[n]:t})}return}d(r,p(e))&&s.push(e)}),s},[e,o,l,r,t]))(n.useMemo(()=>{if("tags"!==l)return eb;let e=[...eb];return[...eE].sort((e,t)=>e.value<t.value?-1:1).forEach(t=>{let r=t.value;eg.has(r)||e.push(eM(r,t.label))}),e},[eM,eb,eg,eE,l]),ec,ef,eu,el),eC=n.useMemo(()=>"tags"!==l||!ef||eA.some(e=>(e=>el.length?el.some(t=>e?.[t]===ef):e?.value===ef)(e))||eA.some(e=>e[ec.value]===ef)||eg.get(ef)?.disabled?eA:[eM(ef),...eA],[eM,el,l,eA,ef,ec,eg]),eD=e=>[...e].sort((e,t)=>er(e,t,{searchValue:ef})).map(e=>Array.isArray(e.options)?{...e,options:e.options.length>0?eD(e.options):e.options}:e),eR=n.useMemo(()=>er?eD(eC):eC,[eC,er,ef]),eO=n.useMemo(()=>(function(e,{fieldNames:t,childrenAsData:r}={}){let n=[],{label:o,value:l,options:a,groupLabel:i}=m(t,!1);return!function e(t,s){Array.isArray(t)&&t.forEach(t=>{if(!s&&a in t){let o=t[i];void 0===o&&r&&(o=t.label),n.push({key:p(t,n.length),group:!0,data:t,label:o}),e(t[a],!0)}else{let e=t[l];n.push({key:p(t,n.length),groupOption:s,data:t,label:t[o],value:e})}})}(e,!1),n})(eR,{fieldNames:ec,childrenAsData:es}),[eR,ec,es]),eI=e=>{let t=ev(e);if(e$(t),_&&(t.length!==eE.length||t.some((e,t)=>eE[t]?.value!==e?.value))){let e=H?t.map(({label:e,value:t})=>({label:e,value:t})):t.map(e=>e.value),r=t.map(e=>g(ew(e.value)));_(ei?e:e[0],ei?r:r[0])}},[eN,ek]=n.useState(null),[ez,eP]=n.useState(0),eT=void 0!==R?R:"combobox"!==l,eL=n.useRef(),eH=n.useCallback((e,t,{source:r="keyboard"}={})=>{eP(t),i&&"combobox"===l&&null!==e&&"keyboard"===r&&ek(String(e));let n=Promise.resolve().then(()=>{eL.current===n&&E?.(e)});eL.current=n},[i,l,E]),e_=(e,t,r)=>{let n=()=>{let t=ew(e);return[H?{label:t?.[ec.label],value:e}:e,g(t)]};if(t&&y){let[e,t]=n();y(e,t)}else if(!t&&$&&"clear"!==r){let[e,t]=n();$(e,t)}},eB=q((e,t)=>{let r=!ei||t.selected;eI(r?ei?[...eE,e]:[e]:eE.filter(t=>t.value!==e)),e_(e,r),"combobox"===l?ek(""):(!B||eo)&&(ep(""),ek(""))}),eW=n.useMemo(()=>{let e=!1!==I&&!1!==w;return{...em,flattenOptions:eO,onActiveValue:eH,defaultActiveFirstOption:eT,onSelect:eB,menuItemSelectedIcon:O,rawValues:eS,fieldNames:ec,virtual:e,direction:N,listHeight:k,listItemHeight:z,childrenAsData:es,maxCount:j,optionRender:C,classNames:F,styles:K}},[j,em,eO,eH,eT,eB,O,eS,ec,I,w,N,k,z,es,C,F,K]);return n.createElement(x.Provider,{value:eW},n.createElement(W,U({},X,{id:ea,prefixCls:a,ref:t,omitDomProps:Q,mode:l,classNames:F,styles:K,displayValues:ex,onDisplayValuesChange:(e,t)=>{eI(e);let{type:r,values:n}=t;("remove"===r||"clear"===r)&&n.forEach(e=>{e_(e.value,!1,r)})},maxCount:j,direction:N,showSearch:G,searchValue:ef,onSearch:(e,t)=>{if(ep(e),ek(null),"submit"===t.source){let t=(e||"").trim();if(t){if(eg.get(t)?.disabled)return void ep("");eI(Array.from(new Set([...eS,t]))),e_(t,!0),ep("")}return}"blur"!==t.source&&("combobox"===l&&eI(e),en?.(e))},autoClearSearchValue:eo,onSearchSplit:e=>{let t=e;"tags"!==l&&(t=e.map(e=>{let t=eh.get(e);return t?.value}).filter(e=>void 0!==e)),"tags"===l&&(t=t.filter(e=>!eg.get(e)?.disabled));let r=Array.from(new Set([...eS,...t]));eI(r),r.forEach(e=>{e_(e,!0)})},popupMatchSelectWidth:w,OptionList:Y,emptyOptions:!eO.length,activeValue:eN,activeDescendantId:`${ea}_list_${ez}`})))});J.Option=F,J.OptGroup=j;var Z=r(36319),ee=r(92162),et=r(84649);function er(e,t,r){return!1===e?null:!0===e?r:e&&void 0!==e[t]?e[t]:r}var en=r(82725),eo=r(4034),el=r(74567),ea=r(97194),ei=r(6831),es=r(632),eu=r(27273),ec=r(55359),ed=r(73134),ep=r(49644),ef=r(7709),em=r(7961),eg=r(77032),eh=r(10540),eb=r(28403),ev=r(86827),ey=r(69811);let e$=e=>{let{optionHeight:t,optionFontSize:r,optionLineHeight:n,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:r,lineHeight:n,boxSizing:"border-box"}};var eE=r(15561);let ew=(e,t)=>{let{componentCls:r,antCls:n}=e,[o]=(0,eh.PN)(n,"select"),{border:l,borderHover:a,borderActive:i,borderOutline:s}=t,u=t.background||e.selectorBg||e.colorBgContainer;return{[o("border-color")]:l,[o("background-color")]:u,[o("affix-color")]:t.affixColor,[`&:not(${r}-disabled)`]:{"&:hover":{[o("border-color")]:a,[o("background-color")]:t.backgroundHover||u},[`&${r}-focused`]:{[o("border-color")]:i,[o("background-color")]:t.backgroundActive||u,boxShadow:`0 0 0 ${(0,eE.zA)(e.controlOutlineWidth)} ${s}`}},[`&${r}-disabled`]:{[o("border-color")]:t.borderDisabled||t.border,[o("background-color")]:t.backgroundDisabled||t.background}}},ex=(e,t,r,n,o,l)=>{let{componentCls:a}=e;return{[`&${a}-${t}`]:[ew(e,r),{[`&${a}-status-error`]:ew(e,{...r,...n}),[`&${a}-status-warning`]:ew(e,{...r,...o})},l]}},eS=(e,t)=>({outline:`${(0,eE.zA)(e.lineWidth)} ${e.lineType} ${t}`,outlineOffset:(0,eE.zA)(e.calc(e.lineWidth).mul(-1).equal()),transition:["outline-offset","outline"].map(e=>`${e} 0s`).join(", ")}),eM=(0,eh.OF)("Select",(e,{rootPrefixCls:t})=>{let r=(0,eb.oX)(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[(e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},(e=>{let{antCls:t,componentCls:r,motionDurationMid:n,inputPaddingHorizontalBase:o}=e,l={[`${r}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[r]:{...(0,em.dF)(e),[`${r}-selection-item`]:{flex:1,fontWeight:"normal",position:"relative",userSelect:"none",...em.L9,[`> ${t}-typography`]:{display:"inline"}},[`${r}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${r}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:o,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:["color","opacity"].map(e=>`${e} ${n} ease`).join(", "),textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":l,"&:hover":l},[`${r}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${r}-has-feedback`]:{[`${r}-clear`]:{insetInlineEnd:e.calc(o).add(e.fontSize).add(e.paddingXS).equal()}}}}}})(e),(e=>{let{antCls:t,componentCls:r}=e,n=`${r}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,l=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,i=`${r}-dropdown-placement-`,s=`${n}-option-selected`;return[{[`${r}-dropdown`]:{...(0,em.dF)(e),position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
|
|
2
|
-
${o}${i}bottomLeft,
|
|
3
|
-
${l}${i}bottomLeft
|
|
4
|
-
`]:{animationName:ev.ox},[`
|
|
5
|
-
${o}${i}topLeft,
|
|
6
|
-
${l}${i}topLeft,
|
|
7
|
-
${o}${i}topRight,
|
|
8
|
-
${l}${i}topRight
|
|
9
|
-
`]:{animationName:ev.nP},[`${a}${i}bottomLeft`]:{animationName:ev.vR},[`
|
|
10
|
-
${a}${i}topLeft,
|
|
11
|
-
${a}${i}topRight
|
|
12
|
-
`]:{animationName:ev.YU},"&-hidden":{display:"none"},[n]:{...e$(e),cursor:"pointer",transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":{flex:"auto",...em.L9},"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-selected:not(${n}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${n}-option-state`]:{color:e.colorPrimary}},[`&-active:not(${n}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected${n}-option-active:not(${n}-option-disabled)`]:{backgroundColor:e.controlItemBgActiveHover},"&-disabled":{[`&${n}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...e$(e),color:e.colorTextDisabled}},[`${s}:has(+ ${s})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${s}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}}},(0,ev._j)(e,"slide-up"),(0,ev._j)(e,"slide-down"),(0,ey.Mh)(e,"move-up"),(0,ey.Mh)(e,"move-down")]})(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,eg.G)(e,{focusElCls:`${t}-focused`})]})(r),(e=>{let{componentCls:t,fontHeight:r,controlHeight:n,fontSizeIcon:o,showArrowPaddingInlineEnd:l,iconCls:a,antCls:i,max:s,calc:u}=e,[c,d]=(0,eh.PN)(i,"select"),p=s(u(l).sub(o).equal(),0);return{[t]:[{[c("border-radius")]:e.borderRadius,[c("border-color")]:"#000",[c("border-size")]:e.lineWidth,[c("background-color")]:e.colorBgContainer,[c("font-size")]:e.fontSize,[c("line-height")]:e.lineHeight,[c("font-height")]:r,[c("color")]:e.colorText,[c("affix-color")]:e.colorText,[c("height")]:n,[c("padding-horizontal")]:u(e.paddingSM).sub(e.lineWidth).equal(),[c("padding-vertical")]:`calc((${d("height")} - ${d("font-height")}) / 2 - ${d("border-size")})`,...(0,em.dF)(e),display:"inline-flex",flexWrap:"nowrap",position:"relative",transition:`all ${e.motionDurationSlow}`,alignItems:"flex-start",outline:0,cursor:"pointer",borderRadius:d("border-radius"),borderWidth:d("border-size"),borderStyle:e.lineType,borderColor:d("border-color"),background:d("background-color"),fontSize:d("font-size"),lineHeight:d("line-height"),color:d("color"),paddingInline:d("padding-horizontal"),paddingBlock:d("padding-vertical"),[`${t}-prefix`]:{color:d("affix-color"),flex:"none",lineHeight:1},[`${t}-placeholder`]:{...em.L9,color:e.colorTextPlaceholder,pointerEvents:"none",zIndex:1},[`${t}-content`]:{flex:"auto",minWidth:0,position:"relative",display:"flex",marginInlineEnd:p,"&:before":{content:'"\\a0"',width:0,overflow:"hidden"},"&-value":{visibility:"inherit"},"input[readonly]":{cursor:"inherit",caretColor:"transparent"}},[`${t}-suffix`]:{flex:"none",color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:"center",[a]:{verticalAlign:"top"}},"&-disabled":{background:e.colorBgContainerDisabled,color:e.colorTextDisabled,cursor:"not-allowed",input:{cursor:"not-allowed"}},"&-sm":{[c("height")]:e.controlHeightSM,[c("padding-horizontal")]:u(e.paddingXS).sub(e.lineWidth).equal(),[c("border-radius")]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:d("padding-horizontal")}},"&-lg":{[c("height")]:e.controlHeightLG,[c("font-size")]:e.fontSizeLG,[c("line-height")]:e.lineHeightLG,[c("font-height")]:e.fontHeightLG,[c("border-radius")]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:"none",background:"transparent",appearance:"none",border:0,margin:0,padding:0,color:d("color"),fontFamily:"inherit",fontSize:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:"absolute",inset:0,lineHeight:"inherit"},[`${t}-content`]:{...em.L9,alignSelf:"center","&-has-value":{display:"block","&:before":{display:"none"}},"&-has-search-value":{color:"transparent",[`> *:not(${t}-input)`]:{opacity:0}},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1,opacity:1}},[`&${t}-open ${t}-content`]:{"&-has-value":{opacity:.25},"&-has-search-value":{opacity:1,transition:`opacity ${e.motionDurationMid} ${e.motionEaseInOut}`,color:"transparent",[`> *:not(${t}-input)`]:{opacity:0}}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:"text"}},(e=>{let{componentCls:t,calc:r,iconCls:n,paddingXS:o,paddingXXS:l,INTERNAL_FIXED_ITEM_MARGIN:a,lineWidth:i,colorIcon:s,colorIconHover:u,inputPaddingHorizontalBase:c,antCls:d}=e,[p,f]=(0,eh.PN)(d,"select");return{"&-multiple":{[p("multi-item-background")]:e.multipleItemBg,[p("multi-item-border-color")]:"transparent",[p("multi-item-border-radius")]:e.borderRadiusSM,[p("multi-item-height")]:e.multipleItemHeight,[p("multi-padding-base")]:`calc((${f("height")} - ${f("multi-item-height")}) / 2)`,[p("multi-padding-vertical")]:`calc(${f("multi-padding-base")} - ${a} - ${i})`,[p("multi-item-padding-horizontal")]:`calc(${c} - ${f("multi-padding-vertical")} - ${i} * 2)`,paddingBlock:f("multi-padding-vertical"),paddingInlineStart:`calc(${f("multi-padding-base")} - ${i})`,[`${t}-prefix`]:{marginInlineStart:f("multi-item-padding-horizontal")},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:"absolute",lineHeight:f("line-height"),insetInlineStart:f("multi-item-padding-horizontal"),width:`calc(100% - ${f("multi-item-padding-horizontal")})`,top:"50%",transform:"translateY(-50%)"},[`${t}-content`]:{flexWrap:"wrap",alignItems:"center",lineHeight:1,"&-item-prefix":{height:f("font-size")},"&-item":{lineHeight:1,maxWidth:"calc(100% - 4px)"},[`${t}-content-item-prefix + ${t}-content-item-suffix,
|
|
13
|
-
${t}-content-item-suffix:first-child`]:{marginInlineStart:f("multi-item-padding-horizontal")},[`${t}-selection-item`]:{lineHeight:`calc(${f("multi-item-height")} - ${i} * 2)`,border:`${i} solid ${f("multi-item-border-color")}`,display:"flex",marginBlock:a,marginInlineEnd:r(a).mul(2).equal(),background:f("multi-item-background"),borderRadius:f("multi-item-border-radius"),paddingInlineStart:o,paddingInlineEnd:l,transition:["height","line-height","padding"].map(t=>`${t} ${e.motionDurationSlow}`).join(","),"&-content":{...em.L9,marginInlineEnd:l},"&-remove":{...(0,em.Nk)(),display:"inline-flex",alignItems:"center",color:s,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}}},[`${t}-input`]:{lineHeight:r(a).mul(2).add(f("multi-item-height")).equal(),width:"calc(var(--select-input-width, 0) * 1px)",minWidth:4,maxWidth:"100%",transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[p("multi-item-height")]:e.multipleItemHeightSM,[p("multi-item-border-radius")]:e.borderRadiusXS},[`&${t}-lg`]:{[p("multi-item-height")]:e.multipleItemHeightLG,[p("multi-item-border-radius")]:e.borderRadius},[`&${t}-filled`]:{[p("multi-item-border-color")]:e.colorSplit,[p("multi-item-background")]:e.colorBgContainer,[`&${t}-disabled`]:{[p("multi-item-border-color")]:"transparent"}}}}})(e),ex(e,"outlined",{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorBorderHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline,affixColor:e.colorErrorAffix},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline,affixColor:e.colorWarningAffix}),ex(e,"filled",{border:"transparent",borderHover:"transparent",borderActive:e.activeBorderColor,borderOutline:"transparent",borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{color:e.colorErrorText,background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),ex(e,"borderless",{border:"transparent",borderHover:"transparent",borderActive:"transparent",borderOutline:"transparent",background:"transparent"},{},{},{[`&:not(${t}-disabled):has(input:focus-visible), &:not(${t}-disabled):has(textarea:focus-visible)`]:eS(e,e.activeBorderColor),[`&${t}-status-error:not(${t}-disabled):has(input:focus-visible), &${t}-status-error:not(${t}-disabled):has(textarea:focus-visible)`]:eS(e,e.colorError),[`&${t}-status-warning:not(${t}-disabled):has(input:focus-visible), &${t}-status-warning:not(${t}-disabled):has(textarea:focus-visible)`]:eS(e,e.colorWarning)}),ex(e,"underlined",{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:"transparent"},{border:e.colorError,borderHover:e.colorErrorBorderHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:"transparent",borderInlineColor:"transparent"}),(e=>{let{antCls:t,componentCls:r}=e,n={background:"transparent"},o=`> input[disabled], > textarea[disabled], > ${r}-input, > ${t}-input-affix-wrapper-disabled, > ${t}-input-search`;return{[`&${r}-customize`]:{border:0,padding:0,fontSize:"inherit",lineHeight:"inherit",[`${r}-placeholder`]:{display:"none"},[`${r}-content`]:{margin:0,padding:0,"&-value":{display:"none"}},[`&${r}-disabled ${r}-content`]:{[o]:n,"input[disabled], textarea[disabled]":n}}}})(e)]}})(r)]},e=>{let{fontSize:t,lineHeight:r,lineWidth:n,controlHeight:o,controlHeightSM:l,controlHeightLG:a,paddingXXS:i,controlPaddingHorizontal:s,zIndexPopupBase:u,colorText:c,fontWeightStrong:d,controlItemBgActive:p,controlItemBgHover:f,colorBgContainer:m,colorFillSecondary:g,colorBgContainerDisabled:h,colorTextDisabled:b,colorPrimaryHover:v,colorPrimary:y,controlOutline:$}=e,E=2*i,w=2*n,x=Math.min(o-E,o-w),S=Math.min(l-E,l-w),M=Math.min(a-E,a-w);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),zIndexPopup:u+50,optionSelectedColor:c,optionSelectedFontWeight:d,optionSelectedBg:p,optionActiveBg:f,optionPadding:`${(o-t*r)/2}px ${s}px`,optionFontSize:t,optionLineHeight:r,optionHeight:o,selectorBg:m,clearBg:m,singleItemHeightLG:a,multipleItemBg:g,multipleItemBorderColor:"transparent",multipleItemHeight:x,multipleItemHeightSM:S,multipleItemHeightLG:M,multipleSelectorBgDisabled:h,multipleItemColorDisabled:b,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:v,activeBorderColor:y,activeOutlineColor:$,selectAffixPadding:i}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var eA=r(84190),eC=r(4216),eD=r(45042),eR=r(60470),eO=r(83914),eI=r(30486),eN=r(112),ek=r(44137);let ez="SECRET_COMBOBOX_MODE_DO_NOT_USE",eP=n.forwardRef((e,t)=>{let r,{prefixCls:a,bordered:i,className:s,rootClassName:u,getPopupContainer:c,popupClassName:d,dropdownClassName:p,listHeight:f=256,placement:m,listItemHeight:g,size:h,disabled:b,notFoundContent:v,status:y,builtinPlacements:$,dropdownMatchSelectWidth:E,popupMatchSelectWidth:w,direction:x,style:S,allowClear:M,variant:A,popupStyle:C,dropdownStyle:D,transitionName:R,tagRender:O,maxCount:I,prefix:N,dropdownRender:k,popupRender:z,onDropdownVisibleChange:P,onOpenChange:T,styles:L,classNames:H,clearIcon:_,showSearch:B,...W}=e,{getPopupContainer:j,getPrefixCls:F,renderEmpty:K,direction:X,virtual:G,popupMatchSelectWidth:Y,popupOverflow:V}=n.useContext(el.QO),{showSearch:q,allowClear:U,style:Q,styles:en,className:em,classNames:eg,clearIcon:eh,loadingIcon:eb,menuItemSelectedIcon:ev,removeIcon:ey,suffixIcon:e$}=(0,el.TP)("select"),[,eE]=(0,ef.Ay)(),ew=g??eE?.controlHeight,ex=F("select",a),eS=F(),eP=x??X,{compactSize:eT,compactItemClassnames:eL}=(0,ep.RQ)(ex,eP),[eH,e_]=(0,ed.A)("select",A,i),eB=(0,es.A)(ex),[eW,ej]=eM(ex,eB),eF=n.useMemo(()=>{let{mode:t}=e;if("combobox"!==t)return t===ez?"combobox":t},[e.mode]),eK="multiple"===eF||"tags"===eF,eX=function(e,t){return void 0!==t?t:null!==e}(e.suffixIcon,e.showArrow),eG=function(e){return n.useMemo(()=>{if(e)return(...t)=>n.createElement(ek.A,{space:!0},e.apply(void 0,t))},[e])}(z||k),{status:eY,hasFeedback:eV,isFormItemInput:eq,feedbackIcon:eU}=n.useContext(ec.$W),eQ=(0,eo.v)(eY,y);r=void 0!==v?v:"combobox"===eF?null:K?.("Select")||n.createElement(ea.A,{componentName:"Select"});let{suffixIcon:eJ,itemIcon:eZ,removeIcon:e0,clearIcon:e1}=function({suffixIcon:e,contextSuffixIcon:t,clearIcon:r,contextClearIcon:o,menuItemSelectedIcon:l,contextMenuItemSelectedIcon:a,removeIcon:i,contextRemoveIcon:s,loading:u,loadingIcon:c,contextLoadingIcon:d,searchIcon:p,contextSearchIcon:f,multiple:m,hasFeedback:g,showSuffixIcon:h,feedbackIcon:b,showArrow:v,componentName:y}){return n.useMemo(()=>{let y=(0,eN.A)(r,o,n.createElement(eC.A,null)),$=t=>null!==e||g||v?n.createElement(n.Fragment,null,!1!==h&&t,g&&b):null,E=null;return E=void 0!==e?$(e):u?$((0,eN.A)(c,d,n.createElement(eO.A,{spin:!0}))):({open:e,showSearch:r})=>e&&r?$((0,eN.A)(p,f,n.createElement(eI.A,null))):$((0,eN.A)(t,n.createElement(eR.A,null))),{clearIcon:y,suffixIcon:E,itemIcon:(0,eN.A)(l,a,m?n.createElement(eA.A,null):null),removeIcon:(0,eN.A)(i,s,n.createElement(eD.A,null))}},[e,t,r,o,l,a,i,s,u,c,d,p,f,m,g,h,b,v])}({...W,multiple:eK,hasFeedback:eV,feedbackIcon:eU,showSuffixIcon:eX,prefixCls:ex,componentName:"Select",clearIcon:_,searchIcon:er(B,"searchIcon"),contextClearIcon:eh,contextLoadingIcon:eb,contextMenuItemSelectedIcon:ev,contextRemoveIcon:ey,contextSearchIcon:er(q,"searchIcon"),contextSuffixIcon:e$}),e2=M??U,e6=B??q,e4=(0,o.cJ)(W,["suffixIcon","itemIcon"]),e3=(0,eu.A)(e=>h??eT??e),e8=n.useContext(ei.A),e5=b??e8,e7={...e,variant:eH,status:eQ,disabled:e5,size:e3},e9=(0,ee.XT)(Q),te=(0,ee.XT)(S),[tt,tr]=(0,ee.AV)([eg,H],[en,e9,L,te],{props:e7},{popup:{_default:"root"}}),tn=(0,l.$)(tt.popup.root,d,p,{[`${ex}-dropdown-${eP}`]:"rtl"===eP},u,ej,eB,eW),to={...tr.popup?.root,...C??D},tl=(0,l.$)({[`${ex}-lg`]:"large"===e3,[`${ex}-sm`]:"small"===e3,[`${ex}-rtl`]:"rtl"===eP,[`${ex}-${eH}`]:e_,[`${ex}-in-form-item`]:eq},(0,eo.L)(ex,eQ,eV),eL,em,s,tt.root,u,ej,eB,eW),ta=n.useMemo(()=>void 0!==m?m:"rtl"===eP?"bottomRight":"bottomLeft",[m,eP]),[ti]=(0,Z.YK)("SelectLike",tr.popup.root?.zIndex??to.zIndex);return n.createElement(J,{ref:t,virtual:G,classNames:tt,styles:tr,showSearch:e6,...e4,style:tr.root,popupMatchSelectWidth:w??E??Y,transitionName:(0,et.b)(eS,"slide-up",R),builtinPlacements:$||(e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:{...t,points:["tl","bl"],offset:[0,4]},bottomRight:{...t,points:["tr","br"],offset:[0,4]},topLeft:{...t,points:["bl","tl"],offset:[0,-4]},topRight:{...t,points:["br","tr"],offset:[0,-4]}}})(V),listHeight:f,listItemHeight:ew,mode:eF,prefixCls:ex,placement:ta,direction:eP,prefix:N,suffixIcon:eJ,menuItemSelectedIcon:eZ,removeIcon:e0,allowClear:!0===e2?{clearIcon:e1}:e2,notFoundContent:r,className:tl,getPopupContainer:c||j,popupClassName:tn,disabled:e5,popupStyle:{...tr.popup.root,...to,zIndex:ti},maxCount:eK?I:void 0,tagRender:eK?O:void 0,popupRender:eG,onPopupVisibleChange:T||P})}),eT=(0,en.A)(eP,"popupAlign");eP.SECRET_COMBOBOX_MODE_DO_NOT_USE=ez,eP.Option=F,eP.OptGroup=j,eP._InternalPanelDoNotUseOrYouWillBeFired=eT;let eL=eP},58758:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"}},60470:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(97109),o=r(838),l=r(88483);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let i=n.forwardRef((e,t)=>n.createElement(l.A,a({},e,{ref:t,icon:o.A})))},61910:(e,t,r)=>{r.d(t,{A:()=>$});var n=r(64446),o=r(97109),l=r(3638),a=r(20008),i=r(73473);let s=void 0,u=o.forwardRef(function(e,t){let r,{prefixCls:i,invalidate:u,item:c,renderItem:d,responsive:p,responsiveDisabled:f,registerSize:m,itemKey:g,className:h,style:b,children:v,display:y,order:$,component:E="div",...w}=e,x=p&&!y;o.useEffect(()=>()=>{m(g,null)},[]);let S=d&&c!==s?d(c,{index:$}):v;u||(r={opacity:+!x,height:x?0:s,overflowY:x?"hidden":s,order:p?$:s,pointerEvents:x?"none":s,position:x?"absolute":s});let M={};x&&(M["aria-hidden"]=!0);let A=o.createElement(E,(0,n.A)({className:(0,l.$)(!u&&i,h),style:{...r,...b}},M,w,{ref:t}),S);return p&&(A=o.createElement(a.Ay,{onResize:({offsetWidth:e})=>{m(g,e)},disabled:f},A)),A});var c=r(19750),d=r(61222),p=r(49127);function f(e,t){let[r,n]=o.useState(t);return[r,(0,c.A)(t=>{e(()=>{n(t)})})]}let m=o.createContext(null),g=o.forwardRef((e,t)=>{let r=o.useContext(m);if(!r){let{component:r="div",...l}=e;return o.createElement(r,(0,n.A)({},l,{ref:t}))}let{className:a,...i}=r,{className:s,...c}=e;return o.createElement(m.Provider,{value:null},o.createElement(u,(0,n.A)({ref:t,className:(0,l.$)(a,s)},i,c)))}),h="responsive",b="invalidate";function v(e){return`+ ${e.length} ...`}let y=o.forwardRef(function(e,t){let{prefixCls:r="rc-overflow",data:s=[],renderItem:c,renderRawItem:g,itemKey:y,itemWidth:$=10,ssr:E,style:w,className:x,maxCount:S,renderRest:M,renderRawRest:A,prefix:C,suffix:D,component:R="div",itemComponent:O,onVisibleChange:I,...N}=e,k="full"===E,z=function(){let e=o.useRef(null);return t=>{if(!e.current){e.current=[];var r=()=>{(0,d.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})};if("undefined"==typeof MessageChannel)(0,p.A)(r);else{let e=new MessageChannel;e.port1.onmessage=()=>r(),e.port2.postMessage(void 0)}}e.current.push(t)}}(),[P,T]=f(z,null),L=P||0,[H,_]=f(z,new Map),[B,W]=f(z,0),[j,F]=f(z,0),[K,X]=f(z,0),[G,Y]=f(z,0),[V,q]=(0,o.useState)(null),[U,Q]=(0,o.useState)(null),J=o.useMemo(()=>null===U&&k?Number.MAX_SAFE_INTEGER:U||0,[U,P]),[Z,ee]=(0,o.useState)(!1),et=`${r}-item`,er=Math.max(B,j),en=S===h,eo=s.length&&en,el=S===b,ea=eo||"number"==typeof S&&s.length>S,ei=(0,o.useMemo)(()=>{let e=s;return eo?e=null===P&&k?s:s.slice(0,Math.min(s.length,L/$)):"number"==typeof S&&(e=s.slice(0,S)),e},[s,$,P,S,eo]),es=(0,o.useMemo)(()=>eo?s.slice(J+1):s.slice(ei.length),[s,ei,eo,J]),eu=(0,o.useCallback)((e,t)=>"function"==typeof y?y(e):(y&&e?.[y])??t,[y]),ec=(0,o.useCallback)(c||(e=>e),[c]);function ed(e,t,r){(U!==e||void 0!==t&&t!==V)&&(Q(e),r||(ee(e<s.length-1),I?.(e)),void 0!==t&&q(t))}function ep(e,t){_(r=>{let n=new Map(r);return null===t?n.delete(e):n.set(e,t),n})}function ef(e){return H.get(eu(ei[e],e))}(0,i.A)(()=>{if(L&&"number"==typeof er&&ei){let e=K+G,t=ei.length,r=t-1;if(!t)return void ed(0,null);for(let n=0;n<t;n+=1){let t=ef(n);if(k&&(t=t||0),void 0===t){ed(n-1,void 0,!0);break}if(e+=t,0===r&&e<=L||n===r-1&&e+ef(r)<=L){ed(r,null);break}if(e+er>L){ed(n-1,e-t-G+j);break}}D&&ef(0)+G>L&&q(null)}},[L,H,j,K,G,eu,ei]);let em=Z&&!!es.length,eg={};null!==V&&eo&&(eg={position:"absolute",top:0,insetInlineStart:V});let eh={prefixCls:et,responsive:eo,component:O,invalidate:el},eb=g?(e,t)=>{let r=eu(e,t);return o.createElement(m.Provider,{key:r,value:{...eh,order:t,item:e,itemKey:r,registerSize:ep,display:t<=J}},g(e,t))}:(e,t)=>{let r=eu(e,t);return o.createElement(u,(0,n.A)({},eh,{order:t,key:r,item:e,renderItem:ec,itemKey:r,registerSize:ep,display:t<=J}))},ev={order:em?J:Number.MAX_SAFE_INTEGER,className:`${et}-rest`,registerSize:function(e,t){F(t),W(j)},display:em},ey=M||v,e$=A?o.createElement(m.Provider,{value:{...eh,...ev}},A(es)):o.createElement(u,(0,n.A)({},eh,ev),"function"==typeof ey?ey(es):ey),eE=o.createElement(R,(0,n.A)({className:(0,l.$)(!el&&r,x),style:w,ref:t},N),C&&o.createElement(u,(0,n.A)({},eh,{responsive:en,responsiveDisabled:!eo,order:-1,className:`${et}-prefix`,registerSize:function(e,t){X(t)},display:!0}),C),ei.map(eb),ea?e$:null,D&&o.createElement(u,(0,n.A)({},eh,{responsive:en,responsiveDisabled:!eo,order:J,className:`${et}-suffix`,registerSize:function(e,t){Y(t)},display:!0,style:eg}),D));return en?o.createElement(a.Ay,{onResize:function(e,t){T(t.clientWidth)},disabled:!eo},eE):eE});y.Item=g,y.RESPONSIVE=h,y.INVALIDATE=b;let $=y},62116:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(97109);function o(e,t){let r=(0,n.useRef)([]),o=()=>{r.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute("type")==="password"&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value")}))};return(0,n.useEffect)(()=>(t&&o(),()=>r.current.forEach(e=>{e&&clearTimeout(e)})),[]),o}},64446:(e,t,r)=>{r.d(t,{A:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}},69811:(e,t,r)=>{r.d(t,{Mh:()=>p});var n=r(15561),o=r(5688);let l=new n.Mo("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.Mo("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),i=new n.Mo("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new n.Mo("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new n.Mo("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new n.Mo("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new n.Mo("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new n.Mo("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:l,outKeyframes:a},"move-left":{inKeyframes:i,outKeyframes:s},"move-right":{inKeyframes:u,outKeyframes:c}},p=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:l,outKeyframes:a}=d[t];return[(0,o.b)(n,l,a,e.motionDurationMid),{[`
|
|
14
|
-
${n}-enter,
|
|
15
|
-
${n}-appear
|
|
16
|
-
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},70542:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"}},78902:(e,t,r)=>{r.d(t,{A:()=>$});var n=r(97109),o=r(39019),l=r(42644),a=r(3638),i=r(44137),s=r(76631),u=r(92162),c=r(4034),d=r(74567),p=r(6831),f=r(632),m=r(27273),g=r(55359),h=r(73134),b=r(49644),v=r(62116),y=r(44390);let $=(0,n.forwardRef)((e,t)=>{let{prefixCls:r,bordered:$=!0,status:E,size:w,disabled:x,onBlur:S,onFocus:M,suffix:A,allowClear:C,addonAfter:D,addonBefore:R,className:O,style:I,styles:N,rootClassName:k,onChange:z,classNames:P,variant:T,...L}=e,{getPrefixCls:H,direction:_,allowClear:B,autoComplete:W,className:j,style:F,classNames:K,styles:X}=(0,d.TP)("input"),G=H("input",r),Y=(0,n.useRef)(null),V=(0,f.A)(G),[q,U]=(0,y.MG)(G,k);(0,y.Ay)(G,V);let{compactSize:Q,compactItemClassnames:J}=(0,b.RQ)(G,_),Z=(0,m.A)(e=>w??Q??e),ee=n.useContext(p.A),et=x??ee,er={...e,size:Z,disabled:et},en=(0,u.XT)(F),eo=(0,u.XT)(I),[el,ea]=(0,u.AV)([K,P],[X,en,N,eo],{props:er}),{status:ei,hasFeedback:es,feedbackIcon:eu}=(0,n.useContext)(g.$W),ec=(0,c.v)(ei,E),ed=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!es;(0,n.useRef)(ed);let ep=(0,v.A)(Y,!0),ef=(es||A)&&n.createElement(n.Fragment,null,A,es&&eu),em=(0,s.O)({allowClear:C,contextAllowClear:B,componentName:"Input"}),[eg,eh]=(0,h.A)("input",T,$);return n.createElement(o.Ay,{ref:(0,l.K4)(t,Y),prefixCls:G,autoComplete:W,...L,disabled:et,onBlur:e=>{ep(),S?.(e)},onFocus:e=>{ep(),M?.(e)},style:ea.root,styles:ea,suffix:ef,allowClear:em,className:(0,a.$)(O,k,U,V,J,j,el.root),onChange:e=>{ep(),z?.(e)},addonBefore:R&&n.createElement(i.A,{form:!0,space:!0},R),addonAfter:D&&n.createElement(i.A,{form:!0,space:!0},D),classNames:{...el,input:(0,a.$)({[`${G}-sm`]:"small"===Z,[`${G}-lg`]:"large"===Z,[`${G}-rtl`]:"rtl"===_},el.input,q),variant:(0,a.$)({[`${G}-${eg}`]:eh},(0,c.L)(G,ec)),affixWrapper:(0,a.$)({[`${G}-affix-wrapper-sm`]:"small"===Z,[`${G}-affix-wrapper-lg`]:"large"===Z,[`${G}-affix-wrapper-rtl`]:"rtl"===_},q),wrapper:(0,a.$)({[`${G}-group-rtl`]:"rtl"===_},q),groupWrapper:(0,a.$)({[`${G}-group-wrapper-sm`]:"small"===Z,[`${G}-group-wrapper-lg`]:"large"===Z,[`${G}-group-wrapper-rtl`]:"rtl"===_,[`${G}-group-wrapper-${eg}`]:eh},(0,c.L)(`${G}-group-wrapper`,ec,es),q)}})})},86827:(e,t,r)=>{r.d(t,{EZ:()=>p,J6:()=>c,L2:()=>d,YU:()=>s,_j:()=>m,gx:()=>u,nP:()=>i,ox:()=>l,vR:()=>a});var n=r(15561),o=r(5688);let l=new n.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i=new n.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new n.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),u=new n.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),c=new n.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),d=new n.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),p=new n.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),f={"slide-up":{inKeyframes:l,outKeyframes:a},"slide-down":{inKeyframes:i,outKeyframes:s},"slide-left":{inKeyframes:u,outKeyframes:c},"slide-right":{inKeyframes:d,outKeyframes:p}},m=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:l,outKeyframes:a}=f[t];return[(0,o.b)(n,l,a,e.motionDurationMid),{[`
|
|
17
|
-
${n}-enter,
|
|
18
|
-
${n}-appear
|
|
19
|
-
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},93307:(e,t,r)=>{r.d(t,{A:()=>S});var n=r(64446),o=r(3638),l=r(20008),a=r(42644),i=r(97109),s=r(61222);let u=i.forwardRef(({height:e,offsetY:t,offsetX:r,children:a,prefixCls:s,onInnerResize:u,innerProps:c,rtl:d,extra:p},f)=>{let m={},g={display:"flex",flexDirection:"column"};return void 0!==t&&(m={height:e,position:"relative",overflow:"hidden"},g={...g,transform:`translateY(${t}px)`,[d?"marginRight":"marginLeft"]:-r,position:"absolute",left:0,right:0,top:0}),i.createElement("div",{style:m},i.createElement(l.Ay,{onResize:({offsetHeight:e})=>{e&&u&&u()}},i.createElement("div",(0,n.A)({style:g,className:(0,o.$)({[`${s}-holder-inner`]:s}),ref:f},c),a,p)))});function c({children:e,setRef:t}){let r=i.useCallback(e=>{t(e)},[]);return i.cloneElement(e,{ref:r})}u.displayName="Filler";let d="object"==typeof navigator&&/Firefox/i.test(navigator.userAgent),p=(e,t,r,n)=>{let o=(0,i.useRef)(!1),l=(0,i.useRef)(null),a=(0,i.useRef)({top:e,bottom:t,left:r,right:n});return a.current.top=e,a.current.bottom=t,a.current.left=r,a.current.right=n,(e,t,r=!1)=>{let n=e?t<0&&a.current.left||t>0&&a.current.right:t<0&&a.current.top||t>0&&a.current.bottom;return r&&n?(clearTimeout(l.current),o.current=!1):(!n||o.current)&&(clearTimeout(l.current),o.current=!0,l.current=setTimeout(()=>{o.current=!1},50)),!o.current&&n}};class f{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 m(e){let t=parseFloat(e);return isNaN(t)?0:t}let g=14/15;function h(e){return Math.floor(e**.5)}function b(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}let v=i.forwardRef((e,t)=>{let{prefixCls:r,rtl:n,scrollOffset:l,scrollRange:s,onStartMove:u,onStopMove:c,onScroll:d,horizontal:p,spinSize:f,containerSize:m,style:g,thumbStyle:h,showScrollBar:v}=e,[y,$]=i.useState(!1),[E,w]=i.useState(null),[x,S]=i.useState(null),M=!n,A=i.useRef(),C=i.useRef(),[D,R]=i.useState(v),O=i.useRef(),I=()=>{!0!==v&&!1!==v&&(clearTimeout(O.current),R(!0),O.current=setTimeout(()=>{R(!1)},3e3))},N=s-m||0,k=m-f||0,z=i.useMemo(()=>0===l||0===N?0:l/N*k,[l,N,k]),P=i.useRef({top:z,dragging:y,pageY:E,startTop:x});P.current={top:z,dragging:y,pageY:E,startTop:x};let T=e=>{$(!0),w(b(e,p)),S(P.current.top),u(),e.stopPropagation(),e.preventDefault()};i.useEffect(()=>{let e=e=>{e.preventDefault()},t=A.current,r=C.current;return t.addEventListener("touchstart",e,{passive:!1}),r.addEventListener("touchstart",T,{passive:!1}),()=>{t.removeEventListener("touchstart",e),r.removeEventListener("touchstart",T)}},[]);let L=i.useRef();L.current=N;let H=i.useRef();H.current=k,i.useEffect(()=>{if(y){let e,t=t=>{let{dragging:r,pageY:n,startTop:o}=P.current;a.er.cancel(e);let l=A.current.getBoundingClientRect(),i=m/(p?l.width:l.height);if(r){let r=(b(t,p)-n)*i,l=o;!M&&p?l-=r:l+=r;let s=L.current,u=H.current,c=Math.ceil((u?l/u:0)*s);c=Math.min(c=Math.max(c,0),s),e=(0,a.er)(()=>{d(c,p)})}},r=()=>{$(!1),c()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",r,{passive:!0}),window.addEventListener("touchend",r,{passive:!0}),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchend",r),a.er.cancel(e)}}},[y]),i.useEffect(()=>(I(),()=>{clearTimeout(O.current)}),[l]),i.useImperativeHandle(t,()=>({delayHidden:I}));let _=`${r}-scrollbar`,B={position:"absolute",visibility:D?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 p?(Object.assign(B,{height:8,left:0,right:0,bottom:0}),Object.assign(W,{height:"100%",width:f,[M?"left":"right"]:z})):(Object.assign(B,{width:8,top:0,bottom:0,[M?"right":"left"]:0}),Object.assign(W,{width:"100%",height:f,top:z})),i.createElement("div",{ref:A,className:(0,o.$)(_,{[`${_}-horizontal`]:p,[`${_}-vertical`]:!p,[`${_}-visible`]:D}),style:{...B,...g},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseMove:I},i.createElement("div",{ref:C,className:(0,o.$)(`${_}-thumb`,{[`${_}-thumb-moving`]:y}),style:{...W,...h},onMouseDown:T}))});function y(e=0,t=0){let r=e/t*e;return isNaN(r)&&(r=0),Math.floor(r=Math.max(r,20))}let $=[],E={overflowY:"auto",overflowAnchor:"none"};function w(e,t){let{prefixCls:r="rc-virtual-list",className:w,height:x,itemHeight:S,fullHeight:M=!0,style:A,data:C,children:D,itemKey:R,virtual:O,direction:I,scrollWidth:N,component:k="div",onScroll:z,onVirtualScroll:P,onVisibleChange:T,innerProps:L,extraRender:H,styles:_,showScrollBar:B="optional",...W}=e,j=i.useCallback(e=>"function"==typeof R?R(e):e?.[R],[R]),[F,K,X,G]=function(e,t,r){let[n,o]=i.useState(0),l=(0,i.useRef)(new Map),a=(0,i.useRef)(new f),s=(0,i.useRef)(0);function u(){s.current+=1}function c(e=!1){u();let t=()=>{let e=!1;l.current.forEach((t,r)=>{if(t&&t.offsetParent){let{offsetHeight:n}=t,{marginTop:o,marginBottom:l}=getComputedStyle(t),i=n+m(o)+m(l);a.current.get(r)!==i&&(a.current.set(r,i),e=!0)}}),e&&o(e=>e+1)};if(e)t();else{s.current+=1;let e=s.current;Promise.resolve().then(()=>{e===s.current&&t()})}}return(0,i.useEffect)(()=>u,[]),[function(t,r){let n=e(t),o=l.current.get(n);r?(l.current.set(n,r),c()):l.current.delete(n)},c,a.current,n]}(j,0,0),Y=!!(!1!==O&&x&&S),V=i.useMemo(()=>Object.values(X.maps).reduce((e,t)=>e+t,0),[X.id,X.maps]),q=Y&&C&&(Math.max(S*C.length,V)>x||!!N),U="rtl"===I,Q=(0,o.$)(r,{[`${r}-rtl`]:U},w),J=C||$,Z=(0,i.useRef)(),ee=(0,i.useRef)(),et=(0,i.useRef)(),[er,en]=(0,i.useState)(0),[eo,el]=(0,i.useState)(0),[ea,ei]=(0,i.useState)(!1),es=()=>{ei(!0)},eu=()=>{ei(!1)};function ec(e){en(t=>{let r,n=(r="function"==typeof e?e(t):e,Number.isNaN(eM.current)||(r=Math.min(r,eM.current)),r=Math.max(r,0));return Z.current.scrollTop=n,n})}let ed=(0,i.useRef)({start:0,end:J.length}),ep=(0,i.useRef)(),[ef]=function(e,t,r){let[n,o]=i.useState(e),[l,a]=i.useState(null);return i.useEffect(()=>{let r=function(e,t,r){let n,o,l=e.length,a=t.length;if(0===l&&0===a)return null;l<a?(n=e,o=t):(n=t,o=e);let i={__EMPTY_ITEM__:!0};function s(e){return void 0!==e?r(e):i}let u=null,c=1!==Math.abs(l-a);for(let e=0;e<o.length;e+=1){let t=s(n[e]);if(t!==s(o[e])){u=e,c=c||t!==s(o[e+1]);break}}return null===u?null:{index:u,multiple:c}}(n||[],e||[],t);r?.index!==void 0&&a(e[r.index]),o(e)},[e]),[l]}(J,j);ep.current=ef;let{scrollHeight:em,start:eg,end:eh,offset:eb}=i.useMemo(()=>{let e,t,r;if(!Y)return{scrollHeight:void 0,start:0,end:J.length-1,offset:void 0};if(!q)return{scrollHeight:ee.current?.offsetHeight||0,start:0,end:J.length-1,offset:void 0};let n=0,o=J.length;for(let l=0;l<o;l+=1){let o=j(J[l]),a=X.get(o),i=n+(void 0===a?S:a);i>=er&&void 0===e&&(e=l,t=n),i>er+x&&void 0===r&&(r=l),n=i}return void 0===e&&(e=0,t=0,r=Math.ceil(x/S)),void 0===r&&(r=J.length-1),{scrollHeight:n,start:e,end:r=Math.min(r+1,J.length-1),offset:t}},[q,Y,er,J,G,x]);ed.current.start=eg,ed.current.end=eh,i.useLayoutEffect(()=>{let e=X.getRecord();if(1===e.size){let t=Array.from(e.keys())[0],r=e.get(t),n=J[eg];if(n&&void 0===r&&j(n)===t){let e=X.get(t)-S;ec(t=>t+e)}}X.resetRecord()},[em]);let[ev,ey]=i.useState({width:0,height:x}),e$=(0,i.useRef)(),eE=(0,i.useRef)(),ew=i.useMemo(()=>y(ev.width,N),[ev.width,N]),ex=i.useMemo(()=>y(ev.height,em),[ev.height,em]),eS=em-x,eM=(0,i.useRef)(eS);eM.current=eS;let eA=er<=0,eC=er>=eS,eD=eo<=0,eR=eo>=N,eO=p(eA,eC,eD,eR),eI=()=>({x:U?-eo:eo,y:er}),eN=(0,i.useRef)(eI()),ek=(0,a._q)(e=>{if(P){let t={...eI(),...e};(eN.current.x!==t.x||eN.current.y!==t.y)&&(P(t),eN.current=t)}});function ez(e,t){t?((0,s.flushSync)(()=>{el(e)}),ek()):ec(e)}let eP=e=>{let t=e,r=N?N-ev.width:0;return Math.min(t=Math.max(t,0),r)},[eT,eL]=function(e,t,r,n,o,l,s){let u=(0,i.useRef)(0),c=(0,i.useRef)(null),f=(0,i.useRef)(null),m=(0,i.useRef)(!1),g=p(t,r,n,o),h=(0,i.useRef)(null),b=(0,i.useRef)(null);return[function(t){if(!e)return;a.er.cancel(b.current),b.current=(0,a.er)(()=>{h.current=null},2);let{deltaX:r,deltaY:n,shiftKey:o}=t,i=r,p=n;("sx"===h.current||!h.current&&o&&n&&!r)&&(i=n,p=0,h.current="sx");let v=Math.abs(i),y=Math.abs(p);if(null===h.current&&(h.current=l&&v>y?"x":"y"),"y"===h.current)!function(e,t){if(a.er.cancel(c.current),!g(!1,t))e._virtualHandled||(e._virtualHandled=!0,u.current+=t,f.current=t,d||e.preventDefault(),c.current=(0,a.er)(()=>{let e=m.current?10:1;s(u.current*e,!1),u.current=0}))}(t,p);else s(i,!0),d||t.preventDefault()},function(t){e&&(m.current=t.detail===f.current)}]}(Y,eA,eC,eD,eR,!!N,(0,a._q)((e,t)=>{t?((0,s.flushSync)(()=>{el(t=>eP(t+(U?-e:e)))}),ek()):ec(t=>t+e)}));!function(e,t,r){let n,o=(0,i.useRef)(!1),l=(0,i.useRef)(0),s=(0,i.useRef)(0),u=(0,i.useRef)(null),c=(0,i.useRef)(null),d=e=>{if(o.current){let t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=l.current-t,a=s.current-n,i=Math.abs(o)>Math.abs(a);i?l.current=t:s.current=n;let u=r(i,i?o:a,!1,e);u&&e.preventDefault(),clearInterval(c.current),u&&(c.current=setInterval(()=>{i?o*=g:a*=g;let e=Math.floor(i?o:a);(!r(i,e,!0)||.1>=Math.abs(e))&&clearInterval(c.current)},16))}},p=()=>{o.current=!1,n()},f=e=>{n(),1!==e.touches.length||o.current||(o.current=!0,l.current=Math.ceil(e.touches[0].pageX),s.current=Math.ceil(e.touches[0].pageY),u.current=e.target,u.current.addEventListener("touchmove",d,{passive:!1}),u.current.addEventListener("touchend",p,{passive:!0}))};n=()=>{u.current&&(u.current.removeEventListener("touchmove",d),u.current.removeEventListener("touchend",p))},(0,a.Nf)(()=>(e&&t.current.addEventListener("touchstart",f,{passive:!0}),()=>{t.current?.removeEventListener("touchstart",f),n(),clearInterval(c.current)}),[e])}(Y,Z,(e,t,r,n)=>!eO(e,t,r)&&(!n||!n._virtualHandled)&&(n&&(n._virtualHandled=!0),eT({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0)),i.useEffect(()=>{let e=Z.current;if(q&&e){let t,r,n=!1,o=()=>{a.er.cancel(t)},l=()=>{o(),t=(0,a.er)(()=>{(e=>{ec(t=>t+e)})(r),l()})},i=()=>{n=!1,o()},s=e=>{!e.target.draggable&&0===e.button&&(e._virtualHandled||(e._virtualHandled=!0,n=!0))},u=t=>{if(n){let n=b(t,!1),{top:a,bottom:i}=e.getBoundingClientRect();n<=a?(r=-h(a-n),l()):n>=i?(r=h(n-i),l()):o()}};return e.addEventListener("mousedown",s),e.ownerDocument.addEventListener("mouseup",i),e.ownerDocument.addEventListener("mousemove",u),e.ownerDocument.addEventListener("dragend",i),()=>{e.removeEventListener("mousedown",s),e.ownerDocument.removeEventListener("mouseup",i),e.ownerDocument.removeEventListener("mousemove",u),e.ownerDocument.removeEventListener("dragend",i),o()}}},[q]),(0,a.Nf)(()=>{function e(e){let t=eA&&e.detail<0,r=eC&&e.detail>0;!Y||t||r||e.preventDefault()}let t=Z.current;return t.addEventListener("wheel",eT,{passive:!1}),t.addEventListener("DOMMouseScroll",eL,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),()=>{t.removeEventListener("wheel",eT),t.removeEventListener("DOMMouseScroll",eL),t.removeEventListener("MozMousePixelScroll",e)}},[Y,eA,eC]),(0,a.Nf)(()=>{if(N){let e=eP(eo);el(e),ek({x:e})}},[ev.width,N]);let eH=()=>{e$.current?.delayHidden(),eE.current?.delayHidden()},e_=function(e,t,r,n){let[o,l]=i.useMemo(()=>[new Map,[]],[e,r.id,n]);return(a,i=a)=>{let s=o.get(a),u=o.get(i);if(void 0===s||void 0===u){let c=e.length;for(let d=l.length;d<c;d+=1){let c=t(e[d]);o.set(c,d);let p=r.get(c)??n;if(l[d]=(l[d-1]||0)+p,c===a&&(s=d),c===i&&(u=d),void 0!==s&&void 0!==u)break}}return{top:l[s-1]||0,bottom:l[u]}}}(J,j,X,S),eB=function(e,t,r,n,o,l,s,u,c){let d=i.useRef(),[p,f]=i.useState(null);return(0,a.Nf)(()=>{if(p&&p.times<10){if(!e.current)return void f(e=>({...e}));s();let{targetAlign:a,originAlign:i,index:c,offset:d}=p,m=function(e,t){let r="function"==typeof e?e(t):e;return Number.isFinite(r)?r:0}(d,{getSize:l}),g=e.current.clientHeight,h=!1,b=a,v=null;if(g){let l=a||i,s=0,d=0,f=0,y=Math.min(t.length-1,c);for(let e=0;e<=y;e+=1){let l=o(t[e]);d=s;let a=r.get(l);s=f=d+(void 0===a?n:a)}let $="top"===l?m:g-m;for(let e=y;e>=0;e-=1){let n=o(t[e]),l=r.get(n);if(void 0===l){h=!0;break}if(($-=l)<=0)break}switch(l){case"top":v=d-m;break;case"bottom":v=f-g+m;break;default:{let{scrollTop:t}=e.current;d<t?b="top":f>t+g&&(b="bottom")}}null!==v&&u(v),v!==p.lastTop&&(h=!0)}h&&f({...p,times:p.times+1,targetAlign:b,lastTop:v})}},[p,e.current]),e=>{if(null==e)return void c();if(a.er.cancel(d.current),"number"==typeof e)u(e);else if(e&&"object"==typeof e){let r,{align:n}=e;"index"in e?{index:r}=e:r=t.findIndex(t=>o(t)===e.key);let{offset:l=0}=e;f({times:0,index:r,offset:l,originAlign:n})}}}(Z,J,X,S,j,e_,()=>K(!0),ec,eH);i.useImperativeHandle(t,()=>({nativeElement:et.current,getScrollInfo:eI,scrollTo:e=>{e&&"object"==typeof e&&("left"in e||"top"in e)?(void 0!==e.left&&el(eP(e.left)),eB(e.top)):eB(e)}})),(0,a.Nf)(()=>{T&&T(J.slice(eg,eh+1),J)},[eg,eh,J]);let eW=H?.({start:eg,end:eh,virtual:q,offsetX:eo,scrollTop:er,offsetY:eb,rtl:U,getSize:e_}),ej=function(e,t,r,n,o,l,a,{getKey:s}){return e.slice(t,r+1).map((e,r)=>{let u=a(e,t+r,{style:{width:n},offsetX:o}),d=s(e);return i.createElement(c,{key:d,setRef:t=>l(e,t)},u)})}(J,eg,eh,N,eo,F,D,{getKey:j}),eF=null;x&&(eF={[M?"height":"maxHeight"]:x,...E},Y&&(eF.overflowY="hidden",N&&(eF.overflowX="hidden"),ea&&(eF.pointerEvents="none")));let eK={};return U&&(eK.dir="rtl"),i.createElement("div",(0,n.A)({ref:et,style:{...A,position:"relative"},className:Q},eK,W),i.createElement(l.Ay,{onResize:e=>{ey({width:e.offsetWidth,height:e.offsetHeight})}},i.createElement(k,{className:`${r}-holder`,style:eF,ref:Z,onScroll:function(e){let{scrollTop:t}=e.currentTarget;t!==er&&ec(t),z?.(e),ek()},onMouseEnter:eH},i.createElement(u,{prefixCls:r,height:em,offsetX:eo,offsetY:eb,scrollWidth:N,onInnerResize:K,ref:ee,innerProps:L,rtl:U,extra:eW},ej))),q&&em>x&&i.createElement(v,{ref:e$,prefixCls:r,scrollOffset:er,scrollRange:em,rtl:U,onScroll:ez,onStartMove:es,onStopMove:eu,spinSize:ex,containerSize:ev.height,style:_?.verticalScrollBar,thumbStyle:_?.verticalScrollBarThumb,showScrollBar:B}),q&&N>ev.width&&i.createElement(v,{ref:eE,prefixCls:r,scrollOffset:eo,scrollRange:N,rtl:U,onScroll:ez,onStartMove:es,onStopMove:eu,spinSize:ew,containerSize:ev.width,horizontal:!0,style:_?.horizontalScrollBar,thumbStyle:_?.horizontalScrollBarThumb,showScrollBar:B}))}let x=i.forwardRef(w);x.displayName="List",i.forwardRef((e,t)=>w({...e,virtual:!1},t)).displayName="List";let S=x},97194:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(97109),o=r(74567),l=r(84253);let a=e=>{let{componentName:t}=e,{getPrefixCls:r}=(0,n.useContext)(o.QO),a=r("empty");switch(t){case"Table":case"List":return n.createElement(l.A,{image:l.A.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return n.createElement(l.A,{image:l.A.PRESENTED_IMAGE_SIMPLE,className:`${a}-small`});case"Table.filter":return null;default:return n.createElement(l.A,null)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[530],{8090:(e,t,n)=>{n.d(t,{EL:()=>et,zT:()=>ee,II:()=>$,bJ:()=>eo,Jr:()=>V,O0:()=>eh,uj:()=>L,GC:()=>U,qj:()=>es,x8:()=>Z,Kg:()=>el,uH:()=>ep,Qs:()=>J,PI:()=>ei,dB:()=>eg,Jy:()=>em,uv:()=>O,vp:()=>Q,m_:()=>P,kH:()=>K,z9:()=>X,Aq:()=>ed,RV:()=>ec,Kq:()=>en});var r=n(97109),l=n(84662),a=n(30486),o=n(4527),i=n(80042),c=n(99650),s=n(25345),u=n(7851),d=n(33555),m=n(43240),p=n(26619),f=n(23216),h=n(46791),g=n(8579),v=n(26631),x=n(35459),y=n(64629),w=n(76824),b=n(83374),k=n(81668),j=n(39356),A=n(8263),I=n(61024),S=n(32919),M=n(96538);let C=["failed","paused","repairing","blocked","running","pending","completed"],E=["chars","costUsd"];function R(e,t){return e.seq!==t.seq?e.seq-t.seq:e.id===t.id?0:e.id<t.id?-1:1}function N(e){let t=new Map;for(let n of e){if(void 0===n.parentId)continue;let e=t.get(n.parentId);e?e.push(n):t.set(n.parentId,[n])}for(let e of t.values())e.sort(R);return t}function _(e){let t=new Map(e.map(e=>[e.id,e])),n=new Map;for(let r of e){let e=0,l=r,a=new Set([r.id]);for(;(null==l?void 0:l.parentId)!==void 0;){let n=t.get(l.parentId);if(!n||a.has(n.id))break;a.add(n.id),e+=1,l=n}n.set(r.id,e)}return n}let T=new Set(["prepare","understand","plan","blueprint","write","close","deliver","chapter","block","turn","round","round.decide","round.fix","repair.request","repair.localize","repair.impact","repair.transaction","repair.recheck","supervisor","resume.plan","skill.load"]),B=new Set(["failed","paused","repairing","blocked","running","pending","completed"]);var D=n(94394);let q={pending:{key:"common.statusWaiting",text:"等待中",color:"default"},running:{key:"common.statusRunning",text:D.uh.running,color:"processing"},completed:{key:"common.statusCompleted",text:D.uh.success,color:"success"},paused:{key:"common.statusPaused",text:"已暂停",color:"gold"},repairing:{key:"common.statusRepairing",text:"修复中",color:"warning"},blocked:{key:"common.statusBlocked",text:"已放弃(阻塞)",color:"warning"},failed:{key:"common.statusAbnormal",text:"异常",color:"error"}};function z(e,t,n,r){let l=e[t];if(!l)return"未知".concat(n,"(").concat(t||"空",")");if(l.key&&r){let e=r(l.key);if(e&&e!==l.key)return e}return l.text}function P(e,t){return z(q,e,"状态",t)}function O(e){var t,n;return null!=(n=null==(t=q[e])?void 0:t.color)?n:"default"}let F={queued:{key:"common.statusWaiting",text:"排队中",color:"default"},generating:{key:"common.statusRunning",text:"生成中",color:"processing"},paused:{key:"common.statusPaused",text:"已暂停",color:"gold"},completed:{key:"common.statusCompleted",text:"已完成",color:"success"},completed_with_issues:{key:"common.statusReview",text:"完成(有需复核项)",color:"warning"},warning:{key:"common.statusReview",text:"需复核",color:"warning"},failed:{key:"common.statusAbnormal",text:"失败",color:"error"},aborted:{key:"common.statusAbnormal",text:"已中止",color:"default"}};function U(e,t){return z(F,e,"记录状态",t)}function L(e){var t,n;return null!=(n=null==(t=F[e])?void 0:t.color)?n:"default"}let H=["failed","paused","repairing","blocked","running","pending","completed"];function Q(e){let t=H.indexOf(e);return t>=0?t:H.length}let Y={prepare:"生成准备",understand:"资料理解",plan:"规划",blueprint:"蓝图",write:"正文撰写",close:"收口",deliver:"交付",chapter:"章节",block:"块",turn:"轮次",round:"收口轮","round.decide":"收口\xb7判定","round.fix":"收口\xb7修复","repair.request":"修复\xb7请求","repair.localize":"修复\xb7定位","repair.impact":"修复\xb7影响面","repair.transaction":"修复\xb7事务","repair.recheck":"修复\xb7复检","skill.load":"技能命中",supervisor:"调度决策","resume.plan":"续跑任务书"};function X(e){var t;return e?null!=(t=Y[e])?t:e:"未知节点"}let G={role_binding:(0,r.createElement)(l.A),knowledge_retrieval:(0,r.createElement)(a.A),file_understanding:(0,r.createElement)(o.A),fact_extraction:(0,r.createElement)(i.A),chapter_generation:(0,r.createElement)(c.A),llm_review:(0,r.createElement)(s.A),validation:(0,r.createElement)(u.A),reference:(0,r.createElement)(d.A),prepare:(0,r.createElement)(m.A),understand:(0,r.createElement)(p.A),plan:(0,r.createElement)(f.A),blueprint:(0,r.createElement)(h.A),write:(0,r.createElement)(g.A),chapter:(0,r.createElement)(v.A),block:(0,r.createElement)(x.A),turn:(0,r.createElement)(y.A),round:(0,r.createElement)(w.A),close:(0,r.createElement)(b.A),deliver:(0,r.createElement)(k.A),repair:(0,r.createElement)(j.A),skill:(0,r.createElement)(A.A),supervisor:(0,r.createElement)(I.A),resume:(0,r.createElement)(S.A),default:(0,r.createElement)(m.A)};function K(e){var t;return null!=(t=G[e.split(".")[0]||e])?t:G.default}function J(e){var t;return null!=(t=G[e])?t:G.default}function W(e){var t,n;let r=e.issues;return{id:e.id,...void 0!==e.parentId?{parentId:e.parentId}:{},type:e.type||"block",title:null!=(t=e.title)?t:"",seq:"number"==typeof e.seq&&Number.isFinite(e.seq)?e.seq:0,status:"string"==typeof(n=e.status)&&B.has(n)?e.status:"failed",startedAt:"number"==typeof e.startedAt&&Number.isFinite(e.startedAt)&&e.startedAt>0?e.startedAt:0,...void 0!==e.completedAt?{completedAt:e.completedAt}:{},...e.progress?{progress:e.progress}:{},...e.metrics?{metrics:e.metrics}:{},...Array.isArray(r)&&r.length>0?{issues:r}:{},...void 0!==e.payloadRef?{payloadRef:e.payloadRef}:{}}}function V(e,t){let n=new Map(e.map(e=>[e.id,e]));return(function(e,t){let n=function(e){let t=N(e),n=_(e),r=[...e].sort((e,t)=>{var r,l;return(null!=(r=n.get(t.id))?r:0)-(null!=(l=n.get(e.id))?l:0)||R(e,t)}),l=new Map(e.map(e=>[e.id,e]));for(let e of r){let n=t.get(e.id);if(!n||0===n.length)continue;let r=n.map(e=>{var t;return null!=(t=l.get(e.id))?t:e});l.set(e.id,function(e,t){var n,r,l;if(0===t.length)return{...e};let a=[...t].sort(R),o={...null!=(r=e.metrics)?r:{}};for(let t of E){let n=function(e,t,n){var r,l;let a=0,o=!1,i=null==(r=e.metrics)?void 0:r[n];for(let e of("number"==typeof i&&Number.isFinite(i)&&(a+=i,o=!0),t)){let t=null==(l=e.metrics)?void 0:l[n];"number"==typeof t&&Number.isFinite(t)&&(a+=t,o=!0)}return o?a:void 0}(e,a,t);void 0===n?delete o[t]:o[t]=n}let i=null==(n=e.progress)?void 0:n.label,c={current:a.filter(e=>"completed"===e.status).length,total:a.length,...void 0!==i?{label:i}:{}},s=function(e){let t=new Set,n=[];for(let l of e){var r;let e=null==(r=l.provenance)?void 0:r.fingerprint;if("string"==typeof e&&e.length>0){if(t.has(e))continue;t.add(e)}n.push(l)}return n}(a.flatMap(e=>{var t;return null!=(t=e.issues)?t:[]})),u=null!=(l=function(e){let t,n=1/0;for(let r of e){let e=function(e){let t=C.indexOf(e);return t>=0?t:0}(r);e<n&&(n=e,t=r)}return t}(a.map(e=>e.status)))?l:e.status;return{...e,status:u,progress:c,...Object.keys(o).length>0?{metrics:o}:{},...s.length>0?{issues:s}:{}}}(e,r))}return[...e].sort(R).map(e=>{var t;return null!=(t=l.get(e.id))?t:e})}(e),r=N(n),l=new Set(n.map(e=>e.id)),a=1/0,o=(e,t)=>{var n;let l=t+1<a?(null!=(n=r.get(e.id))?n:[]).filter(t=>t.id!==e.id).map(e=>o(e,t+1)):[];return{...e,children:l}},i=n.filter(e=>void 0===e.parentId||!l.has(e.parentId)).sort(R).map(e=>o(e,0)),c=new Set,s=e=>{for(let t of e)c.add(t.id),s(t.children)};for(let e of(s(i),n))c.has(e.id)||i.push(o(e,0));return i})(function(e,t){if(void 0===t)return[...e];let n=_(e),r=Math.max(0,Math.floor(t));return e.filter(e=>{var t;return(null!=(t=n.get(e.id))?t:0)<r})}(e.map(W),t)).map(e=>(function e(t,n){var r,l;let a=n.get(t.id),o=null!=(r=null==a?void 0:a.type)?r:String(t.type),i=t.issues;return{id:t.id,...void 0!==t.parentId?{parentId:t.parentId}:{},type:o,unknownType:!("string"==typeof o&&T.has(o)),title:t.title||X(o),seq:t.seq,status:t.status,..."number"==typeof t.startedAt&&t.startedAt>0?{startedAt:t.startedAt}:{},...void 0!==t.completedAt?{completedAt:t.completedAt}:{},...t.progress?{progress:t.progress}:{},metrics:null!=(l=t.metrics)?l:{},issues:Array.isArray(i)?i:[],...void 0!==t.payloadRef?{payloadRef:t.payloadRef}:{},children:t.children.map(t=>e(t,n))}})(e,n))}function Z(e){let t=[],n=e=>{for(let r of e)t.push(r),n(r.children)};return n(e),t.sort(R)}function $(e,t){let n=[],r=(e,l)=>{for(let a of e){if(a.id===t)return n.push(...l),!0;if(r(a.children,[...l,a.id]))return!0}return!1};return r(e,[]),n}let ee=236,et=76;function en(e,t){var n;if(!t)return e;let r=new Map(e),l=null!=(n=r.get(t.id))?n:{dx:0,dy:0};return r.set(t.id,{dx:l.dx+t.dx,dy:l.dy+t.dy}),r}let er=new Set(["running","repairing"]);function el(e){let t=new Set(e.nodes.filter(e=>er.has(e.node.status)).map(e=>e.node.id));if(0===t.size)return ea;let n=new Set;for(let r of e.edges)t.has(r.fromId)&&n.add(r.id);return n}let ea=new Set;function eo(e,t){if(0===t.size)return e;let n=e.nodes.map(e=>{let n=t.get(e.node.id);return n?{...e,x:e.x+n.dx,y:e.y+n.dy}:e}),r=e.edges.map(e=>{var n,r,l,a;let o=t.get(e.fromId),i=t.get(e.toId);return o||i?{...e,x1:e.x1+(null!=(n=null==o?void 0:o.dx)?n:0),y1:e.y1+(null!=(r=null==o?void 0:o.dy)?r:0),x2:e.x2+(null!=(l=null==i?void 0:i.dx)?l:0),y2:e.y2+(null!=(a=null==i?void 0:i.dy)?a:0)}:e});return{...e,nodes:n,edges:r}}function ei(e){let t=[],n=[],r=0,l=(e,a)=>{let o,i=e.children,c=40+a*(ee+72),s=i.map(e=>({id:e.id,...l(e,a+1)}));for(let l of(0===s.length?(o=40+r*(et+22),r+=1):o=(s[0].y+s[s.length-1].y)/2,t.push({node:e,x:c,y:o,depth:a}),s))n.push({id:"".concat(e.id,"->").concat(l.id),fromId:e.id,toId:l.id,x1:c+ee/2,y1:o+et,x2:l.x+ee/2,y2:l.y});return{x:c,y:o}};for(let t of e)l(t,0),r+=1;let a=t.reduce((e,t)=>Math.max(e,t.x+ee),0),o=t.reduce((e,t)=>Math.max(e,t.y+et),0);return{nodes:t,edges:n,width:a+40,height:o+40}}function ec(e,t){let n=["影响面:".concat(t.kind),"波及 ".concat(t.affectedNodeIds.length," 个节点"),...t.escalate?["超出阈值需人工确认"]:[],...t.rollbackable?[]:["不可回滚:按 11.1 需回滚或重新校准,不得当普通改动提交"]];return"请修复节点「".concat(e,"」(").concat(n.join(","),")")}function es(e,t){let n=t>0?t:1;return{dx:e.dx/n,dy:e.dy/n}}let eu=(e,t)=>e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top;function ed(e){var t;let{node:n,view:r,box:l,panelWidth:a,panelHeight:o,gap:i=12,margin:c=8,obstacles:s=[]}=e,u=(e,t,n)=>Math.min(Math.max(e,t),Math.max(t,n)),d=Math.min(a,Math.max(0,l.width-2*c)),m=n.x*r.k+r.x,p=n.y*r.k+r.y,f=p+et*r.k,h={left:m,top:p,right:m+ee*r.k,bottom:f},g=l.width-d-c,v=(e,t)=>{let n=s.filter(n=>n.top>=t&&n.left<e+d&&n.right>e).map(e=>e.top-i);return Math.max(0,Math.min(l.height-c,...n,l.height-c)-t)},x=e=>{let t=l.height-e-c,n=(n,r)=>{if(n<c||r<c||n>g||r>t)return!1;let l={left:n,top:r,right:n+d,bottom:r+e};return!s.some(e=>eu(l,e))},a=m+(ee+i)*r.k,o=m-d-i*r.k,x=f+i,y=p-e-i;for(let[e,t]of[[a,x],[a,y],[o,x],[o,y]])if(n(e,t))return{left:e,top:t,maxHeight:Math.max(0,Math.min(v(e,t),l.height-t-c))};let w=[a,o,c,g],b=[x,y,c,t,...s.flatMap(t=>[t.bottom+i,t.top-e-i])],k=null,j=1/0;for(let r of w)for(let l of b){let a=u(r,c,g),o=u(l,c,Math.max(c,t));if(!n(a,o))continue;let i={left:a,top:o,right:a+d,bottom:o+e},s=Math.max(Math.max(0,h.left-i.right,i.left-h.right),Math.max(0,h.top-i.bottom,i.top-h.bottom))+1e3*!!eu(i,h);s<j&&(j=s,k={left:a,top:o})}return k?{...k,maxHeight:v(k.left,k.top)}:null};if(e.pin){let t=u(e.pin.left,c,g),n=u(e.pin.top,c,Math.max(c,l.height-2*c));return{left:t,top:n,maxHeight:Math.max(0,Math.min(v(t,n),l.height-n-c))}}let y=Math.min(o,Math.max(0,l.height-2*c)),w=x(y);if(w)return w;let b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8,r=e.height-n,l=t.map(e=>({start:Math.max(n,e.top),end:Math.min(r,e.bottom)})).filter(e=>e.end>e.start).sort((e,t)=>e.start-t.start),a=0,o=n;for(let e of l)e.start>o&&(a=Math.max(a,e.start-o)),o=Math.max(o,e.end);return Math.max(a,r-o)}(l,s,c)-i;if(b>0&&b<y){let e=x(Math.max(120,b));if(e)return e}return null!=(t=null!=w?w:x(Math.max(120,b)))?t:{left:u(m+(ee+i)*r.k,c,g),top:c,maxHeight:Math.max(0,l.height-2*c)}}function em(e){var t;if("number"!=typeof e.startedAt||(null==(t=e.metrics)?void 0:t.instantEvent)===!0)return;let n=("number"==typeof e.completedAt?e.completedAt:Date.now())-e.startedAt;return n>=0?n:void 0}function ep(e){return void 0===e?"—":(0,M.a)(e,{unit:"ms",style:"fine"})}let ef=[{key:"note",format:e=>String(e)},{key:"chars",format:e=>"".concat(Number(e).toLocaleString()," 字")},{key:"turn",format:e=>"第 ".concat(e," 轮")},{key:"residual",format:e=>"残余 ".concat(e)},{key:"toolCalls",format:e=>"工具 ".concat(e," 次")},{key:"attempt",format:e=>"第 ".concat(e," 次尝试")},{key:"failureKinds",format:e=>String(e)},{key:"chapters",format:e=>"".concat(e," 章")},{key:"facts",format:e=>"".concat(e," 条事实")}];function eh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=[];for(let{key:r,format:l}of ef){let a=e[r];if(void 0===a||""===a||!1===a)continue;let o=l(a);if(o.trim()&&(n.push(o),n.length>=t))break}return n}function eg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return Object.entries(e).slice(0,t).map(e=>{let[t,n]=e;return{key:t,text:"number"==typeof n?"".concat(t,": ").concat(Number.isInteger(n)?n:n.toFixed(2)):"".concat(t,": ").concat(String(n))}})}},8665:(e,t,n)=>{n.d(t,{_:()=>g});var r=n(65321),l=n(97109),a=n(48399),o=n(33442),i=n(14932),c=n(11702),s=n(85114),u=n(55897),d=n(57271),m=n(7576),p=n(54746),f=n(7492);let{Text:h}=a.A;function g(e){let{value:t,onChange:n,onSend:a,generating:g,submitting:v,disabled:x,disabledReason:y,selectedNode:w,onMentionSelected:b,resumable:k,onContinue:j,quickActions:A,requireGenerationSetup:I=!1,promptOptions:S=[],projectOptions:M=[],selectedPrompts:C=[],selectedProject:E=null,onSelectPrompts:R,onSelectProject:N,onPreviewStructure:_}=e,[T,B]=(0,l.useState)(!1),D=I?[0===C.length?"提示词":"",!E?"项目":""].filter(Boolean):[],q=D.length>0,z=x?y||"当前不可发起生成":q?"请先用左侧「+」选择".concat(D.join(" 与 "),"——未选齐时不能发起生成"):g?"有任务正在运行:发送将加入生成队列(前面任务完成后自动开始)":"发送后将创建生成任务,画布随节点日志实时增长";return(0,r.jsxs)("div",{className:"canvasInputBar",children:[(0,r.jsxs)(o.A,{wrap:!0,size:6,style:{marginBottom:6},children:[w&&(0,r.jsx)(i.A,{title:"把「@".concat(w.title,"」插入输入框(可见文本,可自行修改)"),children:(0,r.jsx)(c.A,{color:"blue",style:{cursor:"pointer"},onClick:b,children:"@ ".concat(w.title)})}),!w&&(0,r.jsx)(h,{type:"secondary",style:{fontSize:12},children:"点选一个节点后可 @ 提及它"}),k&&!g&&(0,r.jsx)(s.Ay,{size:"small",type:"link",onClick:j,children:"继续生成"}),null==A?void 0:A.map(e=>(0,r.jsx)(s.Ay,{size:"small",type:"link",onClick:e.onClick,children:e.label},e.key))]}),(0,r.jsxs)(o.A,{wrap:!0,size:10,style:{marginBottom:8},children:[(0,r.jsx)(u.A,{trigger:"click",placement:"topLeft",open:T,onOpenChange:B,content:(0,r.jsxs)("div",{style:{width:360,display:"flex",flexDirection:"column",gap:8},children:[I&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(h,{strong:!0,style:{fontSize:13},children:"提示词"}),(0,r.jsx)(d.A,{mode:"multiple",style:{width:"100%",marginTop:4},value:C.map(e=>e.value),placeholder:0===S.length?"该项目暂无提示词":"选择提示词(至少一份;可多选)",options:S,onChange:e=>null==R?void 0:R(e)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h,{strong:!0,style:{fontSize:13},children:"项目"}),(0,r.jsx)(d.A,{style:{width:"100%",marginTop:4},value:null==E?void 0:E.value,showSearch:!0,optionFilterProp:"label",placeholder:0===M.length?"本项目知识库里还没有资料:先到知识库页上传并入库":"选择项目(= 知识库里这个项目的资料,决定本次用哪份材料)",options:M,onChange:e=>null==N?void 0:N(e)})]}),(0,r.jsx)(h,{type:"secondary",style:{fontSize:12},children:"两者选齐后才能点「生成」。「项目」选的是入库到本地知识库的那份项目资料(清单/图纸/招标文件都在其中)——本次生成只用它,不会把库里别的项目材料混进来。提示词的正文按名字进入对应链路(总控/写作 → 写作链,清单/图纸/提取 → 事实抽取链,排版 → 格式链);章节大纲取自其中带 <OUTLINE> 的那一份,且只能有一份声明大纲。"})]}),!I&&(0,r.jsx)(h,{type:"secondary",style:{fontSize:12},children:"提示词与项目取自这条记录本身(章节结构由记录里那份提示词的大纲派生),不需要在这里再选。"}),(0,r.jsx)("div",{children:(0,r.jsx)(s.Ay,{size:"small",block:!0,disabled:q,onClick:()=>{B(!1),null==_||_()},children:"结构预览(章清单与小节)"})})]}),children:(0,r.jsx)(s.Ay,{style:{marginLeft:"5px"},size:"small",icon:(0,r.jsx)(p.A,{}),type:q?"primary":"default",children:"提示词 / 项目"})}),C.map(e=>(0,r.jsx)(c.A,{color:"blue",closable:!0,onClose:t=>{t.preventDefault(),null==R||R(C.filter(t=>t.value!==e.value).map(e=>e.value))},children:"提示词:".concat(e.label)},e.value)),E&&(0,r.jsx)(c.A,{color:"geekblue",closable:!0,onClose:e=>{e.preventDefault(),null==N||N("")},children:"项目:".concat(E.label)})]}),(0,r.jsxs)(o.A.Compact,{style:{width:"100%"},children:[(0,r.jsx)(m.A.TextArea,{value:t,onChange:e=>n(e.target.value),onPressEnter:e=>{!e.shiftKey&&(e.preventDefault(),x||v||a())},autoSize:{minRows:1,maxRows:5},placeholder:"描述你的需求;可用上面的 @ 提及把节点带进正文(Enter 发送,Shift+Enter 换行)。篇幅由招标文件页数上限与标书类型自动决定:需求里写字数/页数不会改变篇幅目标",disabled:x}),(0,r.jsx)(i.A,{title:z,children:(0,r.jsx)(s.Ay,{type:"primary",icon:(0,r.jsx)(f.A,{}),loading:v,disabled:x||q||!t.trim(),onClick:a,children:g?"排队提交":"生成"})})]})]})}},28629:(e,t,n)=>{n.d(t,{p:()=>r});function r(e,t){let n="/canvas/".concat(encodeURIComponent(e));return t?"".concat(n,"?projectRoot=").concat(encodeURIComponent(t)):n}},34038:(e,t,n)=>{n.d(t,{B:()=>u});var r=n(65321),l=n(48399),a=n(25258),o=n(85114),i=n(85493),c=n(38332);let{Paragraph:s}=l.A;function u(e){let{open:t,title:n,chapters:l,outlineSource:u,materialScope:d,onClose:m}=e,p=l.length>0?"结构预览:".concat(n,"(").concat(l.length," 章").concat(u?",大纲来源:".concat(u):"",")"):"结构预览:".concat(n);return(0,r.jsxs)(a.A,{open:t,title:p,centered:!0,onCancel:m,width:640,styles:{container:{maxHeight:"calc(100vh - 48px)",display:"flex",flexDirection:"column"},body:{overflowY:"auto",flex:1,minHeight:0}},footer:(0,r.jsx)(o.Ay,{type:"primary",onClick:m,children:"知道了"}),children:[(0,r.jsx)(s,{type:"secondary",style:{fontSize:12,marginBottom:8},children:"章和已声明小节来自用户提示词大纲。技能候选尚未确定位置;生成时会结合真实资料和技术职责进行专业规划,可能合并、调整或归入其他章节。 最终目录以完成规划后的文档为准。"}),d&&(0,r.jsx)(i.A,{type:"info",showIcon:!0,style:{marginBottom:8},message:"本次项目资料:".concat(d.root||"(未指定)","(").concat(d.fileCount," 份文件)"),description:"资料范围已锁定在所选项目资料内:库里其它项目的材料不会进入本篇。"}),0===l.length&&(0,r.jsx)(i.A,{type:"info",showIcon:!0,message:"本次没有派生出章清单",description:"派生的硬约束是提示词(或输入框要求)里要有 ≥2 章的显式大纲;缺大纲时服务端会直接拒绝这次生成,并在提示里说清缺什么。"}),(0,r.jsx)(c.A,{size:"small",dataSource:l,renderItem:(e,t)=>{var n;return(0,r.jsx)(c.A.Item,{children:(0,r.jsx)(c.A.Item.Meta,{title:"".concat(t+1,". ").concat(e.title),description:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:["用户声明:",(0,r.jsx)("span",{children:e.sections.length>0?e.sections.join("、"):"(未声明小节)"})]}),(null==(n=e.candidateSections)?void 0:n.length)?(0,r.jsxs)("div",{children:["技能候选(待规划):",(0,r.jsx)("span",{children:e.candidateSections.join("、")})]}):null]})})})}})]})}},45551:(e,t,n)=>{n.d(t,{Jm:()=>c,fw:()=>a,je:()=>r.j,mc:()=>s,z3:()=>l});var r=n(96538);function l(e){if(0===e)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024)),n=e/Math.pow(1024,t);return"".concat(n.toFixed(+(0!==t))," ").concat(["B","KB","MB","GB","TB"][t])}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";if(!e||e<=0)return"en-US"===t?"Never":"从未";let n=Math.floor(Math.floor((Date.now()-e)/1e3)/60),r=Math.floor(n/60),l=Math.floor(r/24);return l>30?new Date(e).toLocaleDateString(t):"en-US"===t?l>0?"".concat(l,"d ago"):r>0?"".concat(r,"h ago"):n>0?"".concat(n,"m ago"):"Just now":l>0?"".concat(l," 天前"):r>0?"".concat(r," 小时前"):n>0?"".concat(n," 分钟前"):"刚刚"}let o={document:"文档",spreadsheet:"表格",image:"图片",cad:"图纸",code:"代码",data:"数据",web:"网页",diagram:"图表",archive:"压缩包",other:"其他"},i={document:"Document",spreadsheet:"Spreadsheet",image:"Image",cad:"CAD",code:"Code",data:"Data",web:"Web",diagram:"Diagram",archive:"Archive",other:"Other"};function c(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";return null!=(t=("en-US"===n?i:o)[e])?t:e}let s={active:"common.statusIndexed",outdated:"common.statusOutdated",error:"common.statusAbnormal",deleted:"common.statusDeleted",disk:"common.statusNotIndexed"}},52057:(e,t,n)=>{n.d(t,{B:()=>s,VF:()=>a,WF:()=>i,be:()=>c,s_:()=>u,xA:()=>o});var r=n(97109),l=n(8090);let a=24;function o(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.15,a=r&&r.right>r.left&&r.bottom>r.top?r:{left:0,top:0,right:n.width,bottom:n.height},o=Math.max(1,a.right-a.left),i=Math.max(1,a.bottom-a.top),c=e.x*t.k+t.x,s=e.y*t.k+t.y,u=c+e.width*t.k,d=s+e.height*t.k,m=a.left+o*l,p=a.right-o*l,f=a.top+i*l,h=a.bottom-i*l;return c<m||s<f||u>p||d>h}let i=12e3;function c(e){if(!e.following)return{label:"跟随最新",title:"跟随已关闭:点一下重新打开(打开后会跟着当前活跃节点走)",paused:!1};if(e.pausedUntil>e.now){let t=Math.max(1,Math.ceil((e.pausedUntil-e.now)/1e3));return{label:"跟随暂停中",title:"跟随暂停:".concat(t,"s 后自动恢复(你刚动过视口;不是关掉了)"),paused:!0}}return e.node?{label:"跟随中",title:"正在跟随:".concat(e.node.title).concat(void 0!==e.node.round?"(第 ".concat(e.node.round," 轮)"):""),paused:!1}:{label:"跟随中",title:"跟随中:当前没有活跃节点可跟(生成开始后会自动跟上)",paused:!1}}function s(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:24,l=t.x,a=t.y,o=t.x+e.width*t.k,i=t.y+e.height*t.k,c=Math.min(o,n.right)-Math.max(l,n.left),s=Math.min(i,n.bottom)-Math.max(a,n.top);return c>=r&&s>=r?{dx:0,dy:0}:{dx:n.left+r-l,dy:n.top+r-a}}function u(){let[e,t]=(0,r.useState)({x:0,y:0,k:1}),n=(0,r.useRef)(null),a=(0,r.useRef)(null),o=(0,r.useRef)(e);(0,r.useEffect)(()=>{o.current=e},[e]);let i=(0,r.useCallback)((e,r,l)=>{t(t=>{var a;let o=Math.min(2,Math.max(.1,t.k*e)),i=null==(a=n.current)?void 0:a.getBoundingClientRect();if(!i||void 0===r||void 0===l)return{...t,k:o};let c=(r-i.left-t.x)/t.k,s=(l-i.top-t.y)/t.k;return{k:o,x:r-i.left-c*o,y:l-i.top-s*o}})},[]),[c,s]=(0,r.useState)(null);(0,r.useEffect)(()=>{var e,t;let r=null!=(t=null==(e=n.current)?void 0:e.parentElement)?t:n.current;r&&r!==c&&s(r)}),(0,r.useEffect)(()=>{if(!c)return;let e=e=>{(e=>{for(let t=e;t&&t!==c;t=t.parentElement)if(t.scrollHeight>t.clientHeight+1){let e=getComputedStyle(t).overflowY;if("auto"===e||"scroll"===e)return!0}return!1})(e.target)||(e.preventDefault(),i(Math.exp(-e.deltaY/320),e.clientX,e.clientY))};return c.addEventListener("wheel",e,{passive:!1}),()=>c.removeEventListener("wheel",e)},[c,i]);let u=(0,r.useCallback)(e=>{if(0!==e.button)return;e.currentTarget.setPointerCapture(e.pointerId);let t=o.current;a.current={pointerId:e.pointerId,startX:e.clientX,startY:e.clientY,originX:t.x,originY:t.y}},[]),d=(0,r.useCallback)(e=>{let n=a.current;n&&n.pointerId===e.pointerId&&t(t=>({...t,x:n.originX+(e.clientX-n.startX),y:n.originY+(e.clientY-n.startY)}))},[]),m=(0,r.useCallback)(()=>{a.current=null},[]),p=(0,r.useCallback)(()=>t({x:0,y:0,k:1}),[]),f=(e,t)=>null!=t?t:{left:0,top:0,right:e.width,bottom:e.height},h=(0,r.useCallback)((e,r,l)=>{t(t=>{var a;let o=null==(a=n.current)?void 0:a.getBoundingClientRect();if(!o||e<=0||r<=0)return{...t,x:0,y:0};let i=f(o,l),c=Math.max(1,i.right-i.left),s=Math.max(1,i.bottom-i.top),u=Math.min(2,Math.max(.1,Math.min(c/e,s/r)));return{k:u,x:i.left+(c-e*u)/2,y:i.top+(s-r*u)/2}})},[]),g=(0,r.useCallback)((e,r,a,o)=>{t(t=>{var i;let c=null==(i=n.current)?void 0:i.getBoundingClientRect();if(!c)return t;let s=f(c,o),u=null!=a?a:t.k,d=(s.left+s.right)/2,m=(s.top+s.bottom)/2;return{k:u,x:d-(e+l.zT/2)*u,y:m-(r+l.EL/2)*u}})},[]);return{view:e,containerRef:n,zoomAt:i,onPointerDown:u,onPointerMove:d,endDrag:m,reset:p,fit:h,centerOn:g,panBy:(0,r.useCallback)((e,n)=>{(0!==e||0!==n)&&t(t=>({...t,x:t.x+e,y:t.y+n}))},[])}}},57481:(e,t,n)=>{n.d(t,{_:()=>x});var r=n(65321),l=n(97109),a=n(17807),o=n(42700),i=n(84253),c=n(32965),s=n(14932),u=n(75174),d=n(1310),m=n(58209),p=n(85587),f=n(6578),h=n(93533),g=n(45551);let v="canvas:recordsBallPos";function x(e){let{currentDocumentId:t,projectRoot:n,onSelect:x,onCurrentDeleted:w}=e,b=(0,p.Vr)(),{message:k}=a.A.useApp(),j=(0,l.useRef)(null),[A,I]=(0,l.useState)([]),[S,M]=(0,l.useState)(!1),[C,E]=(0,l.useState)(!1),[R,N]=(0,l.useState)(1),[_,T]=(0,l.useState)(!1),[B,D]=(0,l.useState)([]),[q,z]=(0,l.useState)(!1),[P,O]=(0,l.useState)(null),[F,U]=(0,l.useState)(!0),L=(0,l.useRef)(null);(0,l.useEffect)(()=>{var e,t;let n=function(){try{let e=window.localStorage.getItem(v);if(!e)return null;let t=JSON.parse(e);return"number"==typeof(null==t?void 0:t.left)&&"number"==typeof(null==t?void 0:t.top)?{left:t.left,top:t.top}:null}catch(e){return null}}();if(!n)return;let r=null==(t=j.current)||null==(e=t.parentElement)?void 0:e.getBoundingClientRect();if(!r)return void O(n);O({left:Math.min(Math.max(8,n.left),Math.max(8,r.width-44-8)),top:Math.min(Math.max(8,n.top),Math.max(8,r.height-44-8))})},[]);let H=(0,l.useCallback)(async()=>{M(!0);try{let e=await (0,f.cQ)(n||void 0);I(e.documents||[])}catch(e){I([])}finally{M(!1)}},[n]);(0,l.useEffect)(()=>{H()},[H]),(0,l.useEffect)(()=>{C&&H()},[C,H]),(0,l.useEffect)(()=>{let e=setInterval(()=>{H()},3e3);return()=>clearInterval(e)},[H]),(0,l.useEffect)(()=>{N(1),D([])},[C]);let Q=(0,l.useMemo)(()=>A.slice((R-1)*8,8*R),[A,R]),Y=(0,l.useCallback)(e=>!(0,h.Ce)(e.status),[]),X=Q.filter(Y).map(e=>e.id),G=()=>{if(!C){var e,t,n;let r=null==(t=j.current)||null==(e=t.parentElement)?void 0:e.getBoundingClientRect(),l=null==(n=j.current)?void 0:n.getBoundingClientRect();U(!r||!l||l.top-r.top>252)}E(e=>!e)},K=async e=>{try{await (0,f.QG)(e.id,e.projectRoot||n||void 0),k.success(b("common.success")),D(t=>t.filter(t=>t!==e.id)),e.id===t&&w(),await H()}catch(e){k.error(b("common.error"))}},J=async()=>{let e=A.filter(e=>B.includes(e.id)&&Y(e));if(0!==e.length){z(!0);try{await Promise.all(e.map(e=>(0,f.QG)(e.id,e.projectRoot||n||void 0))),k.success(b("records.deletedCount").replace("{count}",String(e.length))),t&&e.some(e=>e.id===t)&&w(),D([]),T(!1),await H()}catch(e){k.error(b("common.error"))}finally{z(!1)}}},W=P?{left:P.left,top:P.top}:{right:24,bottom:96};return(0,r.jsxs)("div",{className:"canvasRecordsBall",ref:j,style:{position:"absolute",zIndex:3,...W},children:[C&&(0,r.jsxs)("div",{className:"canvasRecordsPanel",style:{position:"absolute",right:0,width:320,maxHeight:420,display:"flex",flexDirection:"column",...F?{bottom:52}:{top:52}},children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 py-2 border-b border-[var(--canvasSectionBorder)] shrink-0",children:[(0,r.jsxs)("span",{className:"text-[13px] font-semibold text-[var(--colorText)]",children:[b("records.title"),(0,r.jsx)("span",{className:"ml-2 font-normal text-xs text-[var(--colorTextTertiary)]",children:A.length})]}),(0,r.jsx)("button",{type:"button",className:"canvasRecordsLink",onClick:()=>{T(e=>!e),D([])},children:_?b("common.cancel"):b("records.batch")})]}),(0,r.jsx)("div",{className:"flex-1 min-h-0 overflow-y-auto",children:S&&0===A.length?(0,r.jsx)("div",{className:"py-10 text-center",children:(0,r.jsx)(o.A,{size:"small"})}):0===A.length?(0,r.jsx)("div",{className:"py-8",children:(0,r.jsx)(i.A,{image:i.A.PRESENTED_IMAGE_SIMPLE,description:(0,r.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:b("records.empty")})})}):Q.map(e=>{var n;let l=e.id===t,a=Y(e);return(0,r.jsxs)("div",{className:"group flex items-start gap-2 px-3 py-2 border-b border-[var(--canvasSectionBorder)] last:border-b-0 transition-colors ".concat(l?"bg-[var(--colorBgSelected)]":"hover:bg-[var(--colorBgHover)]"),children:[_&&(0,r.jsx)("input",{type:"checkbox",className:"mt-1 shrink-0",disabled:!a,checked:B.includes(e.id),onChange:t=>D(n=>t.target.checked?[...n,e.id]:n.filter(t=>t!==e.id))}),(0,r.jsxs)("button",{type:"button",className:"min-w-0 flex-1 text-left bg-transparent border-0 p-0 cursor-pointer",title:e.title,onClick:()=>{x(e),E(!1)},children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"w-1.5 h-1.5 shrink-0 rounded-full ".concat(null!=(n=y[e.status])?n:"bg-[var(--colorTextTertiary)]")}),(0,r.jsx)("span",{className:"truncate text-[13px] ".concat(l?"font-semibold text-[var(--colorText)]":"text-[var(--colorText)]"),children:e.title}),l&&(0,r.jsx)("span",{className:"shrink-0 text-[10px] text-[var(--colorTextTertiary)]",children:b("records.current")})]}),(0,r.jsxs)("div",{className:"mt-0.5 pl-3 text-[11px] text-[var(--colorTextTertiary)]",children:[(0,r.jsx)(d.A,{className:"mr-1"}),(0,g.fw)(e.updatedAt,"zh-CN")]})]}),!_&&a&&(0,r.jsx)(c.A,{title:b("records.confirmDelete"),description:b("records.deleteHint"),onConfirm:()=>{K(e)},okText:b("common.confirm"),cancelText:b("common.cancel"),children:(0,r.jsx)("button",{type:"button",className:"canvasRecordsDelete",title:b("common.delete"),children:(0,r.jsx)(m.A,{})})}),!_&&!a&&(0,r.jsx)(s.A,{title:b("records.inFlightHint"),children:(0,r.jsx)("span",{className:"canvasRecordsDelete isDisabled",children:(0,r.jsx)(m.A,{})})})]},e.id)})}),A.length>8&&(0,r.jsx)("div",{className:"flex justify-center px-3 py-2 border-t border-[var(--canvasSectionBorder)] shrink-0",children:(0,r.jsx)(u.A,{size:"small",simple:!0,current:R,total:A.length,pageSize:8,onChange:N})}),_&&(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 px-3 py-2 border-t border-[var(--canvasSectionBorder)] shrink-0",children:[(0,r.jsx)("span",{className:"text-xs text-[var(--colorTextSecondary)]",children:b("records.checkedCount").replace("{count}",String(B.length))}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{type:"button",className:"canvasRecordsLink",onClick:()=>D(B.length===X.length?[]:X),children:B.length===X.length&&X.length>0?b("records.clearSelect"):b("records.selectPage")}),(0,r.jsx)(c.A,{title:b("records.confirmDeleteSelected").replace("{count}",String(B.length)),description:b("records.deleteHint"),disabled:0===B.length,onConfirm:()=>{J()},okText:b("common.confirm"),cancelText:b("common.cancel"),children:(0,r.jsxs)("button",{type:"button",className:"canvasRecordsDanger",disabled:0===B.length||q,children:[(0,r.jsx)(m.A,{className:"mr-1"}),b("records.deleteSelected")]})})]})]})]}),(0,r.jsxs)("div",{className:"canvasRecordsBallBtn",role:"button",tabIndex:0,"aria-label":"".concat(b("records.title"),"(").concat(A.length,")"),style:{width:44,height:44},onPointerDown:e=>{var t,n,r;let l=null==(n=j.current)||null==(t=n.parentElement)?void 0:t.getBoundingClientRect(),a=null==(r=j.current)?void 0:r.getBoundingClientRect();if(l&&a){L.current={pointerId:e.pointerId,startX:e.clientX,startY:e.clientY,originLeft:a.left-l.left,originTop:a.top-l.top,moved:!1};try{e.currentTarget.setPointerCapture(e.pointerId)}catch(e){}}},onPointerMove:e=>{var t,n;let r=L.current,l=null==(n=j.current)||null==(t=n.parentElement)?void 0:t.getBoundingClientRect();if(!r||r.pointerId!==e.pointerId||!l)return;let a=e.clientX-r.startX,o=e.clientY-r.startY;!r.moved&&5>Math.hypot(a,o)||(r.moved=!0,O({left:Math.min(Math.max(8,r.originLeft+a),Math.max(8,l.width-44-8)),top:Math.min(Math.max(8,r.originTop+o),Math.max(8,l.height-44-8))}))},onPointerUp:e=>{let t=L.current;L.current=null;try{e.currentTarget.releasePointerCapture(e.pointerId)}catch(e){}if(t){if(t.moved)return void O(e=>{if(e)try{window.localStorage.setItem(v,JSON.stringify(e))}catch(e){}return e});G()}},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),G())},children:[(0,r.jsx)(d.A,{}),(0,r.jsx)("span",{className:"canvasRecordsBallBadge".concat(0===A.length?" isZero":""),children:A.length>99?"99+":A.length})]})]})}let y={completed:"bg-[var(--colorOk)]",completed_with_issues:"bg-[var(--colorDanger)]",warning:"bg-[var(--colorWarning)]",failed:"bg-[var(--colorDanger)]",aborted:"bg-[var(--colorTextTertiary)]",generating:"bg-[var(--colorAccent)]",queued:"bg-[var(--colorTextTertiary)]",paused:"bg-[var(--colorWarning)]"}},93533:(e,t,n)=>{n.d(t,{Ce:()=>k,tl:()=>A});var r=n(97109),l=n(96538),a=n(94394),o=n(23216),i=n(26619),c=n(8263),s=n(16285),u=n(8579),d=n(29071),m=n(7851),p=n(1310),f=n(26631),h=n(83914),g=n(6578);async function v(e){let t,n=0;for(;;){var r,l;let a;if(e.cancelled())throw Error("用户中止");try{a=await e.read(t)}catch(t){if(e.cancelled())throw Error("用户中止",{cause:t});1===(n+=1)&&(null==(r=e.connectionInterrupted)||r.call(e,t)),await e.delay(Math.min(2e3*n,15e3));continue}n=0;let o=a.document;if(!o){if(!a.unchanged&&!a.status)throw Error("未找到生成记录,无法读取该任务进度");["paused","failed","aborted","completed","completed_with_issues","warning"].includes(null!=(l=a.status)?l:"")&&(t=void 0),await e.delay(1500);continue}if(t=o.updatedAt,e.apply(o),"paused"===o.status)return o;if("failed"===o.status||"aborted"===o.status)throw Error(o.error||("aborted"===o.status?"生成已中止":"生成失败"));if(["completed","completed_with_issues","warning"].includes(o.status)){if(o.draft)return o;throw Error(o.error||"服务任务已结束,但最终成稿未完成;已保存的正文可在生成记录中查看")}await e.delay(1500)}}let x=null,y=!1;function w(){null==x||x.listeners.forEach(e=>e())}let b=a.i_;function k(e){return"completed"!==e&&"completed_with_issues"!==e&&"warning"!==e&&"failed"!==e&&"aborted"!==e&&"paused"!==e}function j(e){var t,n,l,a,h,g,v,x,y;let w=null==(t=e.agentWorkflow)?void 0:t.nodes;if(!w||0===w.length)return null;let k=[...w].sort((e,t)=>{var n,r;return(null!=(n=e.seq)?n:0)-(null!=(r=t.seq)?r:0)}).map(e=>{let t=b[e.type]||e.title||e.type||"节点",n="failed"===e.status||"blocked"===e.status?"error":"paused"===e.status||"repairing"===e.status?"warning":"running"===e.status?"process":"pending"===e.status?"wait":"finish",l=Object.entries(e.metrics||{}).slice(0,4).map(e=>{let[t,n]=e;return"".concat(t,":").concat(String(n))}).join(" ");return{key:e.id,title:t,subtitle:e.progress?"".concat(e.progress.label||"进度",":").concat(e.progress.current,"/").concat(e.progress.total):"",description:l,status:n,icon:function(e){let t=e.split(".")[0]||e;return"role_binding"===e||"prepare"===t?(0,r.createElement)(o.A):"knowledge_retrieval"===e||"understand"===t?(0,r.createElement)(i.A):"file_understanding"===e||"skill"===t?(0,r.createElement)(c.A):"fact_extraction"===e?(0,r.createElement)(s.A):"chapter_generation"===e||"chapter"===t||"write"===t?(0,r.createElement)(u.A):"llm_review"===e||"turn"===t||"round"===t?(0,r.createElement)(d.A):"validation"===e||"repair"===t||"recheck"===t?(0,r.createElement)(m.A):"plan"===t||"blueprint"===t?(0,r.createElement)(o.A):"rollback"===t||"snapshot"===t?(0,r.createElement)(p.A):(0,r.createElement)(f.A)}(e.type),subSteps:[]}}),j="generating"===e.status||"queued"===e.status?null!=(v=null!=(g=null==(n=k.find(e=>"process"===e.status))?void 0:n.key)?g:null==(l=k.at(-1))?void 0:l.key)?v:null:("failed"===e.status||"aborted"===e.status)&&null!=(y=null!=(x=null==(a=k.find(e=>"error"===e.status))?void 0:a.key)?x:null==(h=k.at(-1))?void 0:h.key)?y:null;return{steps:k,activeKey:j}}function A(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{projectRoot:a,documents:o,onNotice:i,t:c,onGenerated:s}=n,[u,d]=(0,r.useState)([]),[m,p]=(0,r.useState)(null),[f,b]=(0,r.useState)(!1),[A,I]=(0,r.useState)(null),[S,M]=(0,r.useState)(""),[C,E]=(0,r.useState)(null),[R,N]=(0,r.useState)(null!=(e=n.documentId)?e:null),[_,T]=(0,r.useState)(null),[B,D]=(0,r.useState)(null!=o?o:[]),[q,z]=(0,r.useState)(0),[P,O]=(0,r.useState)(null),[F,U]=(0,r.useState)([]),[L,H]=(0,r.useState)(null),[Q,Y]=(0,r.useState)(null),X=(0,r.useRef)(""),G=(0,r.useRef)(new Map),K=(0,r.useRef)(new Map),J=(0,r.useRef)(!1),W=(0,r.useRef)(a),V=(0,r.useRef)(R),Z=(0,r.useRef)(u),$=(0,r.useRef)(m),ee=(0,r.useRef)(f),et=(0,r.useRef)(c),en=(0,r.useRef)(i),er=(0,r.useRef)(s);(0,r.useEffect)(()=>{W.current=a},[a]),(0,r.useEffect)(()=>{V.current=R},[R]),(0,r.useEffect)(()=>{Z.current=u},[u]),(0,r.useEffect)(()=>{$.current=m},[m]),(0,r.useEffect)(()=>{ee.current=f},[f]),(0,r.useEffect)(()=>{et.current=c},[c]),(0,r.useEffect)(()=>{en.current=i},[i]),(0,r.useEffect)(()=>{er.current=s},[s]);let el=(0,r.useMemo)(()=>"activeGenDocId:".concat(a||"default"),[a]),ea=(0,r.useCallback)(e=>{var t;null==(t=en.current)||t.call(en,e)},[]),eo=(0,r.useCallback)((e,t)=>{var n,r;return null!=(r=null==(n=et.current)?void 0:n.call(et,e))?r:t},[]);(0,r.useEffect)(()=>{let e=()=>{let e=x;e&&(d(e.flowSteps),p(e.activeFlowKey),b(e.loading),e.documentId&&N(e.documentId),e.draft&&I(e.draft),void 0!==e.content&&M(e.content))},t=x;return null==t||t.listeners.add(e),e(),()=>{null==t||t.listeners.delete(e)}},[]);let ei=(0,r.useRef)(!1),ec=(0,r.useCallback)(async()=>{try{D((await (0,g.cQ)(W.current||void 0)).documents),ei.current=!1}catch(e){ei.current||(ei.current=!0,ea({kind:"error",text:"生成记录列表读取失败——界面显示的可能不是最新内容,请稍后重试或查看服务端日志"}))}},[ea]);(0,r.useEffect)(()=>{o&&D(o)},[o]),(0,r.useEffect)(()=>{void 0!==n.documentId&&null!==n.documentId&&N(n.documentId)},[n.documentId]);let es=(0,r.useCallback)(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ee.current;(null==x?void 0:x.loading)&&(x.flowSteps=e,x.activeFlowKey=t,x.loading=n,w())},[]),eu=(0,r.useCallback)(e=>{let t=Date.now();for(let n of e){let e=G.current.get(n.key);"process"!==n.status||e?("finish"===n.status||"error"===n.status||"warning"===n.status)&&e&&!e.endedAt&&G.current.set(n.key,{...e,endedAt:t}):G.current.set(n.key,{startedAt:t})}},[]),ed=(0,r.useCallback)(e=>{var t,n,r,l,a,o,i,c,s,u,m;let f=(null==(t=e.agentWorkflow)?void 0:t.nodes)||[],h="".concat(e.id,"|").concat(e.updatedAt,"|").concat(e.status,"|").concat(e.error||"","|n").concat(f.length,":").concat(f.map(e=>{var t,n,r,l;return"".concat(e.id,"=").concat(e.status,":").concat(null!=(r=null==(t=e.progress)?void 0:t.current)?r:0,"/").concat(null!=(l=null==(n=e.progress)?void 0:n.total)?l:0)}).join(","));if(X.current===h)return;X.current=h,E(e);let{steps:g,activeKey:v}=function(e){var t;return arguments.length>1&&void 0!==arguments[1]&&arguments[1],null!=(t=j(e))?t:{steps:[],activeKey:null}}(e);eu(g);let x=k(e.status);d(g),p(v),b(x),es(g,v,x),T("failed"===e.status||"aborted"===e.status?e.error||("aborted"===e.status?"生成已中止":"生成失败"):null),("completed"===e.status||"completed_with_issues"===e.status||"warning"===e.status)&&(e.draft&&I(e.draft),M(e.editedMarkdown||e.markdown),U(e.exportReports||[]),Y({docId:e.id,...(null==(n=e.deliveryQuality)?void 0:n.receipt)||(null==(r=e.reviewMetadata)?void 0:r.contractQuality)?{contractQuality:null!=(u=null==(l=e.deliveryQuality)?void 0:l.receipt)?u:e.reviewMetadata.contractQuality}:{},...(null==(a=e.deliveryQuality)?void 0:a.stale)||(null==(o=e.reviewMetadata)?void 0:o.contractQualityStale)?{contractQualityStale:null!=(m=null==(i=e.deliveryQuality)?void 0:i.stale)?m:e.reviewMetadata.contractQualityStale}:{},...e.projectRoot?{projectRoot:e.projectRoot}:{},...(null==(s=e.reviewMetadata)||null==(c=s.telemetry)?void 0:c.repairChainNetChars)?{netChars:e.reviewMetadata.telemetry.repairChainNetChars}:{}}))},[es,eu]),em=(0,r.useCallback)(e=>{e.id&&N(e.id),ed(e)},[ed]),ep=(0,r.useCallback)((e,t)=>v({cancelled:()=>!!(null==t?void 0:t.aborted),apply:ed,delay:e=>new Promise(t=>window.setTimeout(t,e)),connectionInterrupted:()=>ea({kind:"warning",text:"暂时无法读取生成进度,正在重新连接;生成状态以服务端回执为准"}),read:async n=>{let r=new AbortController;t&&(t.pollController=r);try{return await (0,g.v7)(e,!0,W.current||void 0,r.signal,n)}finally{(null==t?void 0:t.pollController)===r&&(t.pollController=void 0)}}}),[ed,ea]),ef=(0,r.useCallback)(async(e,t)=>{if(!e.specId)return;let n=e.title,l=e.promptIds,a=e.projectRoot||W.current;if((null==x?void 0:x.aborted)&&(x=null),null==x?void 0:x.loading){if(J.current)return;if(!a)return void ea({kind:"error",text:"未识别当前项目,请先选择或打开项目后再生成文件"});J.current=!0;try{let e=await (0,g.OX)({promptIds:l,...n?{title:n}:{},requirement:t,projectRoot:a});await ec(),ea({kind:"info",text:e.queuePosition?"已加入生成队列(第 ".concat(e.queuePosition," 位):前面任务完成后将自动开始"):"生成任务已创建"})}catch(e){ea({kind:"error",text:e instanceof Error?e.message:"创建生成任务失败"})}finally{J.current=!1}return}if(!a)return void ea({kind:"error",text:"未识别当前项目,请先选择或打开项目后再生成文件"});b(!0);let o=Z.current,i=o.length>0?o:[{key:"prepare",title:"正在创建生成任务",description:"系统正在创建后台生成任务,请稍候。",status:"process",icon:(0,r.createElement)(h.A),subSteps:[{key:"start",title:"准备生成任务",status:"process"}]}],c=$.current||"prepare";d(i),p(c);let s=(0,g.OX)({promptIds:l,...n?{title:n}:{},requirement:t,projectRoot:a});x={id:Date.now(),specId:e.specId,loading:!0,flowSteps:i,activeFlowKey:c,promise:s,listeners:new Set};try{var u,m,f,v,k,A;let t=await s;t.documentId&&(localStorage.setItem(el,t.documentId),N(t.documentId),(null==x?void 0:x.promise)===s&&(x.documentId=t.documentId)),await ec(),t.queuePosition&&ea({kind:"info",text:"已加入生成队列(第 ".concat(t.queuePosition," 位):前面任务完成后将自动开始")});let n=t.documentId?await ep(t.documentId,(null==x?void 0:x.promise)===s?x:void 0):void 0;if((null==n?void 0:n.status)==="paused"){(null==x?void 0:x.promise)===s&&(x.loading=!1,w(),x=null),localStorage.removeItem(el),await ec(),ea({kind:"info",text:"生成已在节点边界暂停,已保存实际正文和执行状态"});return}let r=t.draft||(null==n?void 0:n.draft);if(!r)throw Error("生成结果为空");(t.documentId||(null==n?void 0:n.id))&&N(t.documentId||n.id),I(r),M((null==n?void 0:n.editedMarkdown)||(null==n?void 0:n.markdown)||r.markdown),(null==x?void 0:x.promise)===s&&(x.draft=r,x.content=(null==n?void 0:n.editedMarkdown)||(null==n?void 0:n.markdown)||r.markdown);let l=n||{id:t.documentId||"draft-".concat(Date.now()),templateId:(null==(u=t.record)?void 0:u.templateId)||(null==(m=t.documentSpec)?void 0:m.id)||e.specId,templateName:(null==(f=t.record)?void 0:f.templateName)||(null==(v=t.documentSpec)?void 0:v.title),title:r.title,requirement:r.requirement,projectRoot:r.projectRoot||W.current,projectId:r.projectId,markdown:r.markdown,status:r.validationIssues.some(e=>"error"===e.level||"warning"===e.level)||!r.exportGate.passed?"completed_with_issues":"completed",draft:r,executionStages:r.executionStages,assets:r.assets||[],createdAt:r.generatedAt,updatedAt:Date.now()},{steps:a}=null!=(A=j(l))?A:{steps:[],activeKey:null};d(a),es(a,"done",!1),p("done"),(null==x?void 0:x.promise)===s&&(x.activeFlowKey="done",x.loading=!1,w(),x=null),localStorage.removeItem(el),await ec(),ea("completed"===l.status?{kind:"success",text:"生成完成,专业交付检查已通过"}:{kind:"warning",text:"本轮运行已结束,实际稿仍有问题待复核,可导出审阅稿"}),(t.documentId||(null==n?void 0:n.id))&&(null==(k=er.current)||k.call(er,t.documentId||n.id))}catch(r){localStorage.removeItem(el);let e=r instanceof Error?r.message:eo("common.error","出错了"),t=y;y=!1;let n=!t&&"用户中止"===e;T(e),t||d(t=>{let n=t.map(t=>"process"===t.status?{...t,status:"error",description:e,subSteps:t.subSteps.map((e,t)=>({...e,status:0===t?"error":e.status}))}:t);return es(n,$.current,!1),n}),(null==x?void 0:x.promise)===s&&(x.loading=!1,x.error=e,w(),x=null),await ec(),n?ea({kind:"warning",text:"生成任务已被中止(可能来自其他窗口):可在列表中点击「继续生成」恢复"}):t||ea({kind:"error",text:e})}finally{b(!1),y=!1,(null==x?void 0:x.promise)===s&&(x.loading=!1,w())}},[ea,ec,es,el,eo,ep]),eh=(0,r.useCallback)(e=>{let t=K.current.get(e);t&&(clearInterval(t),K.current.delete(e))},[]),eg=(0,r.useCallback)((e,t)=>{eh(e);let n=setInterval(()=>{(async()=>{try{let{document:n}=await (0,g.v7)(e,!0,t||W.current||void 0);if(!n)return;ed(n),await ec(),k(n.status)||(eh(e),localStorage.removeItem(el))}catch(e){}})()},2e3);K.current.set(e,n)},[ed,ec,eh,el]);(0,r.useEffect)(()=>()=>{for(let e of K.current.values())clearInterval(e);K.current.clear()},[]),(0,r.useEffect)(()=>{if(0===B.length)return;let e=localStorage.getItem(el);if(!e)return;if(!B.find(t=>t.id===e&&("generating"===t.status||"queued"===t.status)))return void localStorage.removeItem(el);N(e);let t=setInterval(()=>{(async()=>{try{let{document:n}=await (0,g.v7)(e,!1,W.current||void 0);if(!n)return;await ec(),"generating"!==n.status&&"queued"!==n.status&&(localStorage.removeItem(el),clearInterval(t))}catch(e){clearInterval(t)}})()},3e3);return()=>clearInterval(t)},[B,ec,el]),(0,r.useEffect)(()=>{var e;if(!R)return;let t=B.find(e=>e.id===R),n=null!=(e=null==t?void 0:t.status)?e:null==C?void 0:C.status;n&&k(n)?eg(R,(null==t?void 0:t.projectRoot)||W.current):eh(R)},[R,B,eg,eh,null==C?void 0:C.status]),(0,r.useEffect)(()=>{if(!f||!m)return;let e=window.setInterval(()=>d(e=>{let t=e.map(e=>{if(e.key!==m||"process"!==e.status)return e;let t=e.subSteps.findIndex(e=>"process"===e.status),n=t<0?0:Math.min(t+1,e.subSteps.length-1);return{...e,subSteps:e.subSteps.map((e,t)=>t<n?{...e,status:"finish"}:t===n?{...e,status:"process"}:{...e,status:"wait"})}});return es(t,m),t}),1400);return()=>window.clearInterval(e)},[m,f,es]),(0,r.useEffect)(()=>{if(!f)return;let e=window.setInterval(()=>z(e=>e+1),1e3);return()=>window.clearInterval(e)},[f]);let ev=(0,r.useCallback)(e=>{var t;let n=G.current.get(e);if(!n)return null;let r=null!=(t=n.endedAt)?t:Date.now(),a=(0,l.a)(r-n.startedAt,{unit:"ms",style:"fine"});return n.endedAt?a:"".concat(a,"(运行中)")},[q]),ex=(0,r.useCallback)(async e=>{x&&(y=!0);let t=V.current,n=null;if(t&&await (0,g.r)(t,e||W.current||void 0).catch(e=>{n=e}),x){var r;x.aborted=!0,null==(r=x.pollController)||r.abort(),x.loading=!1,x.error="用户中止",w(),x=null}for(let e of(localStorage.removeItem(el),K.current.values()))clearInterval(e);K.current.clear(),b(!1),d([]),p(null),T("用户中止"),await ec(),ea(n?{kind:"error",text:"本地已停止跟踪,但服务端未确认中止(".concat(n instanceof Error?n.message:String(n),")——任务可能仍在后台运行,请稍后重试或查看服务端日志")}:{kind:"success",text:"已中止生成任务"})},[ea,ec,el]),ey=(0,r.useCallback)(async e=>{if((null==x?void 0:x.loading)&&x.documentId===e.id){var t;y=!0,x.aborted=!0,null==(t=x.pollController)||t.abort(),x.loading=!1,x.error="用户中止",w(),x=null,b(!1)}localStorage.removeItem(el),eh(e.id);try{await (0,g.r)(e.id,e.projectRoot||W.current||void 0),ea({kind:"success",text:"queued"===e.status?"已取消排队任务":"已中止生成任务"})}catch(e){ea({kind:"info",text:"任务已不在运行,已刷新状态"})}finally{await ec(),V.current===e.id&&(N(null),E(null),I(null),M(""))}},[ea,ec,eh,el]),ew=(0,r.useCallback)(async e=>{try{N(e.id),b(!0);let t=await (0,g.UQ)(e.id,e.projectRoot||W.current||void 0);localStorage.setItem(el,t.documentId),await ec();let n=await ep(t.documentId);n.draft&&(I(n.draft),M(n.editedMarkdown||n.markdown||n.draft.markdown)),localStorage.removeItem(el),await ec(),ea("paused"===n.status?{kind:"info",text:"生成已暂停,实际稿已保存"}:"completed"===n.status?{kind:"success",text:"已继续生成并通过专业交付检查"}:{kind:"warning",text:"继续生成已结束,实际稿仍待复核,可导出审阅稿"})}catch(e){ea({kind:"error",text:e instanceof Error?e.message:"继续生成失败"})}finally{b(!1)}},[ea,ec,el,ep]),eb=(0,r.useCallback)(async(e,t)=>{let n=await fetch("/api/documents/generated/".concat(encodeURIComponent(e),"/pause"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectRoot:t||W.current||void 0})});if(!n.ok)throw Error(await n.text()||"HTTP ".concat(n.status));let r=await n.json();return ea({kind:"success",text:r.message||"已请求暂停:正在取消模型调用并保存已完成正文"}),await ec(),eg(e,t),r},[ea,ec,eg]),ek=(0,r.useCallback)(async(e,t)=>{let n=await fetch("/api/documents/generated/".concat(encodeURIComponent(e),"/resume-generate"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectRoot:t||W.current||void 0})});if(!n.ok)throw Error(await n.text()||"HTTP ".concat(n.status));let r=await n.json().catch(()=>void 0),l=null==r?void 0:r.resumeReuse;ea(l?{kind:0===l.blockers.length?"info":"warning",text:"已请求继续:".concat(l.reason)}:{kind:"info",text:"已请求继续:将复用已保存的检查点"}),await ec()},[ea,ec]),ej=(0,r.useCallback)((e,t,n)=>{let r=new Blob([e],{type:n}),l=URL.createObjectURL(r),a=document.createElement("a");a.href=l,a.download=t,a.target="_self",a.rel="noopener",a.style.display="none",document.body.appendChild(a),a.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})),a.remove(),window.setTimeout(()=>URL.revokeObjectURL(l),1e3)},[]),eA=(0,r.useCallback)(async(e,t)=>{let n=await (0,g.hU)(e,t);ej(n.blob,n.filename,"application/json;charset=utf-8")},[ej]),eI=(0,r.useCallback)(async(e,t,n)=>{try{let{blob:r,filename:l,receipt:a,gateIssues:o}=await (0,g.UE)(e);ej(r,l||t,n),H("review"===a.exportPurpose?{at:Date.now(),count:o.length,issues:o}:null),a.issuesReport&&await eA(e,a.issuesReport)}catch(t){throw t instanceof g.GA&&t.receipt.issuesReport&&await eA(e,t.receipt.issuesReport),t}},[ej,eA]),eS=(0,r.useMemo)(()=>({markdown:"text/markdown;charset=utf-8",html:"text/html;charset=utf-8",pdf:"application/pdf",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}),[]),eM=(0,r.useCallback)(async(e,t)=>{var n,r;let l=void 0!==e.editedMarkdown?e.editedMarkdown:e.markdown||(null==(n=e.draft)?void 0:n.markdown)||"",a=void 0===e.editedMarkdown&&(null==(r=e.checkpointChapters)?void 0:r.some(e=>{var t;return null==(t=e.content)?void 0:t.trim()}));if(!l.trim()&&!a)return void ea({kind:"warning",text:"该记录暂无可导出的正文内容"});O(t);let o={exportPurpose:"review",documentId:e.id,title:e.title,format:t,projectRoot:e.projectRoot||W.current||void 0};try{await eI(o,"".concat(e.title,".").concat("markdown"===t?"md":t),eS[t])}catch(e){ea({kind:"error",text:e instanceof Error?e.message:"导出失败"})}finally{O(null)}},[eI,eS,ea]),eC=(0,r.useCallback)(async e=>{if(!A)return;O(e);let t={exportPurpose:"review",documentId:V.current||void 0,title:A.title,markdown:S,format:e,exportGate:A.exportGate,useClientMarkdown:!0,projectRoot:A.projectRoot||W.current||void 0};try{if(await eI(t,"".concat(A.title,".").concat("markdown"===e?"md":e),eS[e]),V.current)try{let{document:e}=await (0,g.v7)(V.current,!1,A.projectRoot||W.current||void 0);e&&U(e.exportReports||[])}catch(e){}}catch(e){ea({kind:"error",text:e instanceof Error?e.message:"导出失败"})}finally{O(null)}},[S,eI,A,eS,ea]),eE=R&&null!=(t=B.find(e=>e.id===R))?t:C,eR=function(e,t){if(!e)return t?"running":"idle";switch(e){case"queued":return"queued";case"generating":return"running";case"paused":return"paused";case"failed":case"aborted":return"stopped";case"completed_with_issues":case"warning":return"issues";case"completed":return"done";default:return"idle"}}(null==eE?void 0:eE.status,f);return{flowSteps:u,activeFlowKey:m,loading:f,draft:A,content:S,workflowRecord:C,documentId:R,documents:B,error:_,phase:eR,flowTick:q,boundRecord:eE,canResume:function(e){var t,n,r,l,a,o,i,c;if(!e)return{resumable:!1,kind:"not-resumable",reason:"记录不存在"};let s=String(e.status||""),u=null!=(r=null==(t=e.checkpointChapters)?void 0:t.length)?r:0,d=u>0,m="number"==typeof e.interruptedAt||!!e.interruptionReason;if(null!=(l=e.running)?l:"generating"===s||"queued"===s)return{resumable:!1,kind:"not-resumable",reason:"这次生成还在跑(续跑入口不该在运行态出现)"};if("paused"===s)return{resumable:!0,kind:"paused",reason:"暂停是可逆的:从检查点接着跑,未受影响的章会被复用"};if(m)return d?{resumable:!0,kind:"interrupted",reason:"上次运行被中断(".concat(null!=(a=e.interruptionReason)?a:"中断标记",")且留有 ").concat(u," 个检查点章:续跑只补未完成的章")}:{resumable:!1,kind:"not-resumable",reason:"这次运行被中断且**没有检查点章**:续跑等于全量重跑,请用新建生成(这里不伪装成续跑)"};if("warning"===s)return d?{resumable:!0,kind:"interrupted",reason:"上次运行留下了 ".concat(u," 个检查点章(状态 warning):续跑只补未完成的章")}:{resumable:!1,kind:"not-resumable",reason:"warning 且没有检查点章:没有可接着跑的东西,请用新建生成"};let p=null!=(o=null==(n=e.draft)?void 0:n.exportGate)?o:e.exportGate;if((null==p?void 0:p.passed)===!1){let e=null!=(c=null==(i=p.blockingIssues)?void 0:i.length)?c:0;return{resumable:!0,kind:"gate-blocked-repair",reason:"门禁未过(".concat(e>0?"".concat(e," 项阻断"):"阻断清单未随记录落盘","):续跑把阻断项交回生成侧修复(回源修复,不是重新生成)")}}return"completed"===s?{resumable:!1,kind:"not-resumable",reason:'这份稿已完成:要再跑请新建生成("继续"会把已定的交付物再推一遍)'}:"completed_with_issues"===s||"failed"===s||"aborted"===s?{resumable:!0,kind:"resumable-terminal",reason:"completed_with_issues"===s?"已收口但有未过项:续跑把未过项交回生成侧修复(回源修复,不是重新生成)".concat(d?";复用 ".concat(u," 个检查点章"):""):"aborted"===s?"这份稿被中止过:续跑从中断处接着跑".concat(d?"(复用 ".concat(u," 个检查点章)"):"(无检查点 ⇒ 全量重跑)"):"上次生成失败:续跑接着跑".concat(d?"(复用 ".concat(u," 个检查点章)"):"(无检查点 ⇒ 全量重跑)")}:{resumable:!1,kind:"not-resumable",reason:"当前状态(".concat(s||"未知",")没有可续跑的线索")}}(eE).resumable,startGeneration:ef,abortGeneration:ex,abortDocument:ey,resumeDocument:ew,pauseDocument:eb,resumePausedDocument:ek,applyRecord:em,refreshDocuments:ec,waitForDoc:ep,stepDurationText:ev,setDraft:I,setContent:M,setExportReports:U,export:{exporting:P,nonDeliverableExport:L,exportRecord:eM,exportEditor:eC,downloadExport:eI,exportReports:F},deliveryReadings:Q}}},94394:(e,t,n)=>{n.d(t,{i_:()=>r,uh:()=>l});let r={role_binding:"项目角色配置绑定",knowledge_retrieval:"知识库证据检索",file_understanding:"项目资料理解",fact_extraction:"事实抽取",chapter_generation:"章节正文生成",llm_review:"独立复核",validation:"规则与准入校验",reference:"资料增强"},l={success:"完成",running:"进行中",failed:"失败",skipped:"跳过",partial:"部分生效",pending:"等待中"}},96538:(e,t,n)=>{n.d(t,{a:()=>l,j:()=>a});let r={coarse:function(e,t){let n=Math.floor(e/1e3),r=Math.floor(n/86400),l=Math.floor(n%86400/3600),a=Math.floor(n%3600/60),o="en-US"===t;return r>0?o?"".concat(r,"d ").concat(l,"h"):"".concat(r," 天 ").concat(l," 小时"):l>0?o?"".concat(l,"h ").concat(a,"m"):"".concat(l," 小时 ").concat(a," 分"):a>0?o?"".concat(a,"m"):"".concat(a," 分"):o?"Just now":"刚刚"},fine:function(e){let t=Math.round(e/1e3);if(t<60)return"".concat(t," 秒");let n=Math.floor(t/60);return n<60?"".concat(n," 分 ").concat(t%60," 秒"):"".concat(Math.floor(n/60)," 小时 ").concat(n%60," 分")},"fine-decimal":function(e){return e>=6e4?"".concat(Math.floor(e/6e4)," 分 ").concat(Math.round(e%6e4/1e3)," 秒"):"".concat((e/1e3).toFixed(1)," 秒")},metric:function(e){return e<1e3?"".concat(Math.round(e),"ms"):e<6e4?"".concat((e/1e3).toFixed(1),"s"):"".concat((e/6e4).toFixed(1),"min")}};function l(e,t){var n;return r[t.style](function(e,t){let n="s"===t?1e3*e:e;return Number.isFinite(n)&&n>0?n:0}(e,t.unit),null!=(n=t.locale)?n:"zh-CN")}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";return l(e,{unit:"s",style:"coarse",locale:t})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[700],{42700:(e,t,n)=>{let i;n.d(t,{A:()=>z});var o=n(97109),a=n(3638),r=n(92162),l=n(74567),s=n(27273),c=n(52690),d=n(42644);let m=80*Math.PI,p=e=>{let{dotClassName:t,style:n,hasCircleCls:i}=e;return o.createElement("circle",{className:(0,a.$)(`${t}-circle`,{[`${t}-circle-bg`]:i}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},u=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,i=`${n}-holder`,r=`${i}-hidden`,[l,s]=o.useState(!1);(0,d.Nf)(()=>{0!==e&&s(!0)},[0!==e]);let c=Math.max(Math.min(e,100),0);if(!l)return null;let u={strokeDashoffset:`${m/4}`,strokeDasharray:`${m*c/100} ${m*(100-c)/100}`};return o.createElement("span",{className:(0,a.$)(i,`${n}-progress`,{[r]:c<=0})},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},o.createElement(p,{dotClassName:n,hasCircleCls:!0}),o.createElement(p,{dotClassName:n,style:u})))};function f(e){let{prefixCls:t,percent:n=0,className:i,style:r}=e,l=`${t}-dot`,s=`${l}-holder`,c=`${s}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:(0,a.$)(s,i,n>0&&c),style:r},o.createElement("span",{className:(0,a.$)(l,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(u,{prefixCls:t,percent:n}))}function h(e){let{prefixCls:t,indicator:n,percent:i,className:r,style:l}=e,s=`${t}-dot`;return n&&o.isValidElement(n)?(0,c.Ob)(n,e=>({className:(0,a.$)(e.className,s,r),style:{...e.style,...l},percent:i})):o.createElement(f,{prefixCls:t,percent:i,className:r,style:l})}var $=n(15561),g=n(7961),y=n(10540),v=n(28403);let E=new $.Mo("antSpinMove",{to:{opacity:1}}),N=new $.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),S=(0,y.OF)("Spin",e=>{let t=(0,v.oX)(e,{spinDotDefault:e.colorTextDescription});return[(e=>{let{componentCls:t}=e,n=`${t}-section`;return{[t]:{...(0,g.dF)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${n}, ${n}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:"inline-flex"},[n]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[n]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}})(t),(e=>{let{componentCls:t,antCls:n,motionDurationSlow:i}=e,[o,a]=(0,y.PN)(n,"spin");return{[t]:{[o("dot-holder-size")]:e.dotSize,[o("dot-item-size")]:`calc((${a("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:a("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${i} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:a("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:N,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:a("dot-item-size"),height:a("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:E,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${i} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}})(t),(e=>{let{componentCls:t}=e,[n]=(0,y.PN)(e.antCls,"spin");return{[t]:{"&-sm":{[n("dot-holder-size")]:e.dotSizeSM},"&-lg":{[n("dot-holder-size")]:e.dotSizeLG}}}})(t)]},e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),b=[[30,.05],[70,.03],[96,.01]],k=e=>{let{prefixCls:t,spinning:n=!0,delay:c=0,className:d,rootClassName:m,size:p,tip:u,description:f,wrapperClassName:$,style:g,children:y,fullscreen:v=!1,indicator:E,percent:N,classNames:k,styles:z,...x}=e,{getPrefixCls:D,direction:w,indicator:C,className:I,style:M,classNames:T,styles:F}=(0,l.TP)("spin"),_=D("spin",t),[O,P]=S(_),[B,L]=o.useState(()=>n&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(n,c)),A=function(e,t){let[n,i]=o.useState(0),a=o.useRef(null),r="auto"===t;return o.useEffect(()=>(r&&e&&(i(0),a.current=setInterval(()=>{i(e=>{let t=100-e;for(let n=0;n<b.length;n+=1){let[i,o]=b[n];if(e<=i)return e+t*o}return e})},200)),()=>{a.current&&(clearInterval(a.current),a.current=null)}),[r,e]),r?n:t}(B,N);o.useEffect(()=>{if(n){let e=function(e,t,n){var i=void 0;return function(e,t,n){var i,o=n||{},a=o.noTrailing,r=void 0!==a&&a,l=o.noLeading,s=void 0!==l&&l,c=o.debounceMode,d=void 0===c?void 0:c,m=!1,p=0;function u(){i&&clearTimeout(i)}function f(){for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];var l=this,c=Date.now()-p;function f(){p=Date.now(),t.apply(l,o)}function h(){i=void 0}!m&&(s||!d||i||f(),u(),void 0===d&&c>e?s?(p=Date.now(),r||(i=setTimeout(d?h:f,e))):f():!0!==r&&(i=setTimeout(d?h:f,void 0===d?e-c:e)))}return f.cancel=function(e){var t=(e||{}).upcomingOnly;u(),m=!(void 0!==t&&t)},f}(e,t,{debounceMode:!1!==(void 0!==i&&i)})}(c,()=>{L(!0)});return e(),()=>{e?.cancel?.()}}L(!1)},[c,n]);let X=(0,s.A)(e=>p??e),H=f??u,R={...e,size:X,spinning:B,tip:H,description:H,fullscreen:v,children:y,percent:A},[j,G]=(0,r.AV)([T,k],[F,z],{props:R}),V=E??C??i,W=void 0!==y,q=W||v,J=o.createElement(o.Fragment,null,o.createElement(h,{className:(0,a.$)(j.indicator),style:G.indicator,prefixCls:_,indicator:V,percent:A}),H&&o.createElement("div",{className:(0,a.$)(`${_}-description`,j.tip,j.description),style:{...G.tip,...G.description}},H));return o.createElement("div",{className:(0,a.$)(_,{[`${_}-sm`]:"small"===X,[`${_}-lg`]:"large"===X,[`${_}-spinning`]:B,[`${_}-rtl`]:"rtl"===w,[`${_}-fullscreen`]:v},m,j.root,v&&j.mask,q?$:[`${_}-section`,j.section],I,d,O,P),style:{...G.root,...!q?G.section:{},...v?G.mask:{},...M,...g},"aria-live":"polite","aria-busy":B,...x},B&&(q?o.createElement("div",{className:(0,a.$)(`${_}-section`,j.section),style:G.section},J):J),W&&o.createElement("div",{className:(0,a.$)(`${_}-container`,j.container),style:G.container},y))};k.setDefaultIndicator=e=>{i=e};let z=k}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[709],{1676:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"}},6710:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"}},14995:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"}},32941:(e,t,r)=>{r.d(t,{Ay:()=>z});var a=r(97109),n=r(59188),l=r(4216),c=r(97137),o=r(40992),i=r(88483);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let d=a.forwardRef((e,t)=>a.createElement(i.A,s({},e,{ref:t,icon:o.A})));var h=r(42644),m=r(3638),p=r(92162),E=r(26047),k=r(74567),f=r(15561),u=r(10540),F=r(28403);let M=(0,u.OF)("Result",e=>{let t=e.colorInfo,r=e.colorError,a=e.colorSuccess,n=e.colorWarning;return(e=>[(e=>{let{componentCls:t,lineHeightHeading3:r,iconCls:a,padding:n,paddingXL:l,paddingXS:c,paddingLG:o,marginXS:i,lineHeight:s}=e;return{[t]:{padding:`${(0,f.zA)(e.calc(o).mul(2).equal())} ${(0,f.zA)(l)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:o,textAlign:"center",[`& > ${a}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:r,marginBlock:i,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:s,textAlign:"center"},[`${t} ${t}-body`]:{marginTop:o,padding:`${(0,f.zA)(o)} ${(0,f.zA)(e.calc(n).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:c,"&:last-child":{marginInlineEnd:0}}}}})(e),(e=>{let{componentCls:t}=e;return{[`${t}-success ${t}-icon`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon`]:{color:e.resultWarningIconColor}}})(e)])((0,F.oX)(e,{resultInfoIconColor:t,resultErrorIconColor:r,resultSuccessIconColor:a,resultWarningIconColor:n,imageWidth:250,imageHeight:295}))},e=>{let{fontSizeHeading3:t,fontSize:r,paddingLG:a}=e;return{titleFontSize:t,subtitleFontSize:r,iconFontSize:(0,E.Et)(t)?3*t:`calc(${t} * 3)`,extraMargin:`${a}px 0 0 0`}}),v={success:n.A,error:l.A,info:c.A,warning:d},g={404:()=>a.createElement("svg",{width:"252",height:"294"},a.createElement("title",null,"No Found"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("circle",{cx:"126.75",cy:"128.1",r:"126",fill:"#E4EBF7"}),a.createElement("circle",{cx:"31.55",cy:"130.8",r:"8.3",fill:"#FFF"}),a.createElement("path",{stroke:"#FFF",d:"m37 134.3 10.5 6m.9 6.2-12.7 10.8",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2"}),a.createElement("path",{fill:"#FFF",d:"M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),a.createElement("path",{stroke:"#FFF",d:"m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4"}),a.createElement("path",{stroke:"#FFF",d:"M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",d:"m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7"}),a.createElement("circle",{cx:"204.3",cy:"30",r:"29.5",fill:"#1677ff"}),a.createElement("path",{fill:"#FFF",d:"M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2"}),a.createElement("path",{fill:"#FFB594",d:"M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76"}),a.createElement("path",{fill:"#FFC6A0",d:"m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6"}),a.createElement("path",{fill:"#FFF",d:"M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6"}),a.createElement("path",{fill:"#2B0849",d:"M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z"}),a.createElement("path",{fill:"#A4AABA",d:"M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z"}),a.createElement("path",{fill:"#2B0849",d:"M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1"}),a.createElement("path",{fill:"#A4AABA",d:"M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1"}),a.createElement("path",{fill:"#7BB2F9",d:"m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2"}),a.createElement("path",{stroke:"#648BD8",d:"M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M107.3 222.1s2.7-1.1 6-3.9",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{stroke:"#648BD8",d:"M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4"}),a.createElement("path",{fill:"#FFF",d:"M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8"}),a.createElement("path",{fill:"#192064",d:"M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2"}),a.createElement("path",{fill:"#FFC6A0",d:"M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5"}),a.createElement("path",{fill:"#520038",d:"M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z"}),a.createElement("path",{fill:"#552950",d:"M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"m110.1 74.8-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M110.8 74.5s1.8-.7 2.6.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M103.3 73s1.8 1 4.1.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#F2D7AD",d:"M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1"}),a.createElement("path",{fill:"#F4D19D",d:"M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1"}),a.createElement("path",{fill:"#F2D7AD",d:"M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z"}),a.createElement("path",{fill:"#F4D19D",d:"M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z"}),a.createElement("path",{fill:"#FFC6A0",d:"m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2"}),a.createElement("path",{stroke:"#DB836E",d:"M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#5BA02E",d:"M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6"}),a.createElement("path",{fill:"#92C110",d:"M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7"}),a.createElement("path",{fill:"#F2D7AD",d:"M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2"}),a.createElement("path",{stroke:"#E4EBF7",d:"M89 89.5s7.8 5.4 16.6 2.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}))),500:()=>a.createElement("svg",{width:"254",height:"294"},a.createElement("title",null,"Server Error"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{fill:"#E4EBF7",d:"M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1"}),a.createElement("path",{fill:"#FFF",d:"M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7"}),a.createElement("path",{stroke:"#FFF",d:"m37.2 135.6 10.5 6m1 6.3-12.8 10.8",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8"}),a.createElement("circle",{cx:"201.35",cy:"30.2",r:"29.7",fill:"#FF603B"}),a.createElement("path",{fill:"#FFF",d:"m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7"}),a.createElement("path",{fill:"#FFB594",d:"M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5"}),a.createElement("path",{fill:"#FFF",d:"M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2"}),a.createElement("path",{fill:"#FFB594",d:"m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2"}),a.createElement("path",{fill:"#FFC6A0",d:"M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6"}),a.createElement("path",{fill:"#520038",d:"M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z"}),a.createElement("path",{fill:"#552950",d:"M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"m99.2 73.6-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M100 73.3s1.7-.7 2.4.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#5C2552",d:"M92.3 71.7s1.9 1.1 4.2 1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFF",d:"M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6"}),a.createElement("path",{fill:"#FFC6A0",d:"M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7"}),a.createElement("path",{fill:"#FFC6A0",d:"M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7"}),a.createElement("path",{stroke:"#E4EBF7",d:"M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1"}),a.createElement("path",{fill:"#FFF",d:"M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5"}),a.createElement("path",{fill:"#CBD1D1",d:"M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5"}),a.createElement("path",{fill:"#2B0849",d:"M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z"}),a.createElement("path",{fill:"#A4AABA",d:"M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z"}),a.createElement("path",{fill:"#2B0849",d:"M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1"}),a.createElement("path",{fill:"#A4AABA",d:"M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1"}),a.createElement("path",{fill:"#7BB2F9",d:"M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7"}),a.createElement("path",{stroke:"#648BD8",d:"M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M97 219.4s2.9-1.2 6.3-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"}),a.createElement("path",{stroke:"#648BD8",d:"M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7"}),a.createElement("path",{fill:"#FFF",d:"M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8"}),a.createElement("path",{fill:"#192064",d:"M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFC6A0",d:"M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7"}),a.createElement("path",{stroke:"#DB836E",d:"M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E59788",d:"M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{fill:"#FFC6A0",d:"M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6"}),a.createElement("path",{stroke:"#E59788",d:"M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E4EBF7",d:"M109.3 112.5s3.4-3.6 7.6-4.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E59788",d:"M107.4 123s9.7-2.7 11.4-.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#BFCDDD",d:"m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),a.createElement("path",{fill:"#A3B4C6",d:"M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4"}),a.createElement("path",{fill:"#A3B4C6",d:"M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8"}),a.createElement("path",{fill:"#A3B4C6",d:"M154.1 190.1h70.5v-84.6h-70.5z"}),a.createElement("path",{fill:"#BFCDDD",d:"M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1"}),a.createElement("path",{fill:"#FFF",d:"M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8"}),a.createElement("path",{fill:"#BFCDDD",d:"M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2"}),a.createElement("path",{stroke:"#7C90A5",d:"M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#FFF",d:"M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8"}),a.createElement("path",{fill:"#BFCDDD",d:"M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4"}),a.createElement("path",{stroke:"#A3B4C6",d:"M177.3 207.2v11.5m23.8-11.5v11.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#5BA02E",d:"M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4"}),a.createElement("path",{fill:"#92C110",d:"M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4"}),a.createElement("path",{fill:"#F2D7AD",d:"M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2"}))),403:()=>a.createElement("svg",{width:"251",height:"294"},a.createElement("title",null,"Unauthorized"),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{fill:"#E4EBF7",d:"M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129"}),a.createElement("path",{fill:"#FFF",d:"M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6"}),a.createElement("path",{stroke:"#FFF",d:"m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2"}),a.createElement("path",{fill:"#FFF",d:"M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),a.createElement("path",{stroke:"#FFF",d:"m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13",strokeWidth:"2"}),a.createElement("path",{fill:"#FFF",d:"M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4"}),a.createElement("path",{stroke:"#FFF",d:"M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",d:"m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7",strokeWidth:"2"}),a.createElement("path",{fill:"#A26EF4",d:"M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0"}),a.createElement("path",{fill:"#FFF",d:"m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7"}),a.createElement("path",{fill:"#FFF",d:"M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7"}),a.createElement("path",{fill:"#5BA02E",d:"M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6"}),a.createElement("path",{fill:"#92C110",d:"M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6"}),a.createElement("path",{fill:"#F2D7AD",d:"M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3"}),a.createElement("path",{fill:"#FFF",d:"M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7"}),a.createElement("path",{fill:"#FFC6A0",d:"m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2"}),a.createElement("path",{fill:"#FFB594",d:"M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4"}),a.createElement("path",{fill:"#FFC6A0",d:"m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26"}),a.createElement("path",{fill:"#FFF",d:"M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3"}),a.createElement("path",{stroke:"#E4EBF7",d:"M78.2 94.7s.9 7.4-5 13",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".9"}),a.createElement("path",{fill:"#FFC6A0",d:"m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z"}),a.createElement("path",{fill:"#FFB594",d:"m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9"}),a.createElement("path",{fill:"#5C2552",d:"M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7"}),a.createElement("path",{fill:"#FFC6A0",d:"M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1"}),a.createElement("path",{stroke:"#DB836E",d:"m100.8 77.1 1.7-1-1-4.3.7-1.4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#552950",d:"M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3"}),a.createElement("path",{stroke:"#DB836E",d:"M91.1 86.8s5.3 5 12.7 2.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#DB836E",d:"M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2"}),a.createElement("path",{stroke:"#5C2552",d:"M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),a.createElement("path",{stroke:"#DB836E",d:"M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#E4EBF7",d:"m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#DB836E",d:"M64 84.8s-6 10-13.5 10",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{fill:"#FFC6A0",d:"m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7"}),a.createElement("path",{stroke:"#DB836E",d:"M130.5 85.5s4.6 5.7 11.7 6.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),a.createElement("path",{stroke:"#E4EBF7",d:"M121.7 105.7s-.4 8.6-1.3 13.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M115.8 161.5s-3.6-1.5-2.7-7.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#CBD1D1",d:"M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6"}),a.createElement("path",{fill:"#2B0849",d:"M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z"}),a.createElement("path",{fill:"#A4AABA",d:"M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),a.createElement("path",{fill:"#CBD1D1",d:"M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z"}),a.createElement("path",{fill:"#2B0849",d:"M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2"}),a.createElement("path",{fill:"#A4AABA",d:"M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1"}),a.createElement("path",{fill:"#7BB2F9",d:"m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39"}),a.createElement("path",{stroke:"#648BD8",d:"M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{stroke:"#648BD8",d:"M108.5 221s2.7-1.2 6-4",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{stroke:"#648BD8",d:"M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),a.createElement("path",{fill:"#192064",d:"M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4"}),a.createElement("path",{fill:"#FFF",d:"M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7"}),a.createElement("path",{fill:"#192064",d:"M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7"}),a.createElement("path",{stroke:"#648BD8",d:"M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"})))},A=Object.keys(g),$=({icon:e,status:t,className:r,style:n})=>{if(A.includes(`${t}`)){let e=g[t];return a.createElement("div",{className:r,style:n},a.createElement(e,null))}let l=a.createElement(v[t]);return null===e||!1===e?null:a.createElement("div",{className:r,style:n},e||l)},B=({className:e,extra:t,style:r})=>(0,E.AZ)(t)?a.createElement("div",{className:e,style:r},t):null,L=e=>{let{prefixCls:t,className:r,rootClassName:n,subTitle:l,title:c,style:o,children:i,status:s="info",icon:d,extra:f,styles:u,classNames:F,...v}=e,{getPrefixCls:g,direction:L,className:z,style:b,classNames:j,styles:C}=(0,k.TP)("result"),D={...e,status:s},W=(0,p.XT)(b),y=(0,p.XT)(o),[w,x]=(0,p.AV)([j,F],[C,W,u,y],{props:D}),S=g("result",t),[O,H]=M(S),I=(0,m.$)(S,`${S}-${s}`,r,z,n,{[`${S}-rtl`]:"rtl"===L},O,H,w.root),N=(0,m.$)(`${S}-title`,w.title),V=(0,m.$)(`${S}-subtitle`,w.subTitle),P=(0,m.$)(`${S}-extra`,w.extra),T=(0,m.$)(`${S}-body`,w.body),R=(0,m.$)(`${S}-icon`,{[`${S}-image`]:A.includes(`${s}`)},w.icon),_={...x.root},G=(0,h.KE)(v,{aria:!0,data:!0});return a.createElement("div",{...G,className:I,style:_},a.createElement($,{className:R,style:x.icon,status:s,icon:d}),(0,E.AZ)(c)&&a.createElement("div",{className:N,style:x.title},c),(0,E.AZ)(l)&&a.createElement("div",{className:V,style:x.subTitle},l),a.createElement(B,{className:P,extra:f,style:x.extra}),(0,E.AZ)(i)&&a.createElement("div",{className:T,style:x.body},i))};L.PRESENTED_IMAGE_403=g["403"],L.PRESENTED_IMAGE_404=g["404"],L.PRESENTED_IMAGE_500=g["500"];let z=L},37510:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(6710),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},39415:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"}},40992:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"}},48156:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(1676),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},49075:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(87715),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},55122:(e,t,r)=>{r.d(t,{A:()=>f});var a=r(97109),n=r(3638),l=r(5045),c=r(92162),o=r(26047),i=r(74567),s=r(27273),d=r(15561),h=r(7961),m=r(10540),p=r(28403);let E=(0,m.OF)("Divider",e=>{let t=(0,p.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:a,lineWidth:n,textPaddingInline:l,orientationMargin:c,verticalMarginInline:o}=e,i=`${t}-rail`;return{[t]:{...(0,h.dF)(e),borderBlockStart:`${(0,d.zA)(n)} solid ${a}`,[i]:{borderBlockStart:`${(0,d.zA)(n)} solid ${a}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:o,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,d.zA)(n)} solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,d.zA)(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,d.zA)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,[`${i}-start, ${i}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${i}-start`]:{width:`calc(${c} * 100%)`},[`${i}-end`]:{width:`calc(100% - ${c} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${i}-start`]:{width:`calc(100% - ${c} * 100%)`},[`${i}-end`]:{width:`calc(${c} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:l},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${(0,d.zA)(n)} 0 0`,[i]:{borderBlockStart:`${(0,d.zA)(n)} dashed ${a}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${i}-start, ${i}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:n,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:a,borderStyle:"dotted",borderWidth:`${(0,d.zA)(n)} 0 0`,[i]:{borderBlockStart:`${(0,d.zA)(n)} dotted ${a}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:n,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${i}-start`]:{width:0},[`${i}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:r}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${i}-start`]:{width:"100%"},[`${i}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:r}}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),k=["left","right","center","start","end"],f=e=>{let{getPrefixCls:t,direction:r,className:d,style:h,classNames:m,styles:p}=(0,i.TP)("divider"),{prefixCls:f,type:u,orientation:F,vertical:M,titlePlacement:v,orientationMargin:g,className:A,rootClassName:$,children:B,dashed:L,variant:z="solid",plain:b,style:j,size:C,classNames:D,styles:W,...y}=e,w=t("divider",f),x=`${w}-rail`,[S,O]=E(w),H=(0,s.A)(C),I=!!B,N=k.includes(F||""),V=a.useMemo(()=>{let e=v??(N?F:"center");return"left"===e?"rtl"===r?"end":"start":"right"===e?"rtl"===r?"start":"end":e},[r,F,v,N]),P="start"===V&&null!=g,T="end"===V&&null!=g,[R,_]=(0,l.M)(F,M,u),G={...e,orientation:R,titlePlacement:V,size:H},[X,Z]=(0,c.AV)([m,D],[p,W],{props:G}),q=(0,n.$)(w,d,S,O,`${w}-${R}`,{[`${w}-with-text`]:I,[`${w}-with-text-${V}`]:I,[`${w}-dashed`]:!!L,[`${w}-${z}`]:"solid"!==z,[`${w}-plain`]:!!b,[`${w}-rtl`]:"rtl"===r,[`${w}-no-default-orientation-margin-start`]:P,[`${w}-no-default-orientation-margin-end`]:T,[`${w}-md`]:"medium"===H||"middle"===H,[`${w}-sm`]:"small"===H,[x]:!B,[X.rail]:X.rail&&!B},A,$,X.root),K=a.useMemo(()=>(0,o.Et)(g)?g:/^\d+$/.test(g)?Number(g):g,[g]);return a.createElement("div",{className:q,style:{...h,...Z.root,...B?{}:Z.rail,...j},...y,role:"separator"},B&&!_&&a.createElement(a.Fragment,null,a.createElement("div",{className:(0,n.$)(x,`${x}-start`,X.rail),style:Z.rail}),a.createElement("span",{className:(0,n.$)(`${w}-inner-text`,X.content),style:{marginInlineStart:P?K:void 0,marginInlineEnd:T?K:void 0,...Z.content}},B),a.createElement("div",{className:(0,n.$)(x,`${x}-end`,X.rail),style:Z.rail})))}},56398:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"}},60182:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"}},63046:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(60182),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},64068:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(76148),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},76148:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"}},76830:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(56398),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},87715:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z"}},{tag:"path",attrs:{d:"M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z"}}]},name:"aim",theme:"outlined"}},99271:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(39415),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))},99811:(e,t,r)=>{r.d(t,{A:()=>o});var a=r(97109),n=r(14995),l=r(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let o=a.forwardRef((e,t)=>a.createElement(l.A,c({},e,{ref:t,icon:n.A})))}}]);
|