(self.webpackChunk=self.webpackChunk||[]).push([[186],{64082:function(Nt,rt,B){"use strict";B.d(rt,{Z:function(){return a}});var st=B(87462),vt=B(62435),y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},M=y,v=B(84089),l=function(w,s){return vt.createElement(v.Z,(0,st.Z)({},w,{ref:s,icon:M}))},c=vt.forwardRef(l),a=c},35351:function(Nt,rt,B){"use strict";B.d(rt,{vY:function(){return Ie}});var st=B(74902),vt=B(74165),y=B(15861),M=B(45987),v=B(1413),l=B(97937),c=B(63606),a=B(86548),f=B(952),w=B(16764),s=B(62435),u=B(21687),_=B(93967),r=B.n(_),h=B(98423),i=B(53124),m=B(98675),o=B(92398),b=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L{var{prefixCls:x,className:k,hoverable:D=!0}=d,L=b(d,["prefixCls","className","hoverable"]);const{getPrefixCls:tt}=s.useContext(i.E_),it=tt("card",x),mt=r()(`${it}-grid`,k,{[`${it}-grid-hoverable`]:D});return s.createElement("div",Object.assign({},L,{className:mt}))},S=B(54548),K=B(14747),U=B(92030),X=B(45503);const N=d=>{const{antCls:x,componentCls:k,headerHeight:D,cardPaddingBase:L,tabsMarginBottom:tt}=d;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:D,marginBottom:-1,padding:`0 ${(0,S.bf)(L)}`,color:d.colorTextHeading,fontWeight:d.fontWeightStrong,fontSize:d.headerFontSize,background:d.headerBg,borderBottom:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorBorderSecondary}`,borderRadius:`${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)} 0 0`},(0,K.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},K.vS),{[` > ${k}-typography, > ${k}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${x}-tabs-top`]:{clear:"both",marginBottom:tt,color:d.colorText,fontWeight:"normal",fontSize:d.fontSize,"&-bar":{borderBottom:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorBorderSecondary}`}}})},C=d=>{const{cardPaddingBase:x,colorBorderSecondary:k,cardShadow:D,lineWidth:L}=d;return{width:"33.33%",padding:x,border:0,borderRadius:0,boxShadow:` ${(0,S.bf)(L)} 0 0 0 ${k}, 0 ${(0,S.bf)(L)} 0 0 ${k}, ${(0,S.bf)(L)} ${(0,S.bf)(L)} 0 0 ${k}, ${(0,S.bf)(L)} 0 0 0 ${k} inset, 0 ${(0,S.bf)(L)} 0 0 ${k} inset; `,transition:`all ${d.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:D}}},A=d=>{const{componentCls:x,iconCls:k,actionsLiMargin:D,cardActionsIconSize:L,colorBorderSecondary:tt,actionsBg:it}=d;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:it,borderTop:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${tt}`,display:"flex",borderRadius:`0 0 ${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)}`},(0,K.dF)()),{"& > li":{margin:D,color:d.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:d.calc(d.cardActionsIconSize).mul(2).equal(),fontSize:d.fontSize,lineHeight:d.lineHeight,cursor:"pointer","&:hover":{color:d.colorPrimary,transition:`color ${d.motionDurationMid}`},[`a:not(${x}-btn), > ${k}`]:{display:"inline-block",width:"100%",color:d.colorTextDescription,lineHeight:(0,S.bf)(d.fontHeight),transition:`color ${d.motionDurationMid}`,"&:hover":{color:d.colorPrimary}},[`> ${k}`]:{fontSize:L,lineHeight:(0,S.bf)(d.calc(L).mul(d.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${tt}`}}})},n=d=>Object.assign(Object.assign({margin:`${(0,S.bf)(d.calc(d.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,K.dF)()),{"&-avatar":{paddingInlineEnd:d.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:d.marginXS}},"&-title":Object.assign({color:d.colorTextHeading,fontWeight:d.fontWeightStrong,fontSize:d.fontSizeLG},K.vS),"&-description":{color:d.colorTextDescription}}),E=d=>{const{componentCls:x,cardPaddingBase:k,colorFillAlter:D}=d;return{[`${x}-head`]:{padding:`0 ${(0,S.bf)(k)}`,background:D,"&-title":{fontSize:d.fontSize}},[`${x}-body`]:{padding:`${(0,S.bf)(d.padding)} ${(0,S.bf)(k)}`}}},t=d=>{const{componentCls:x}=d;return{overflow:"hidden",[`${x}-body`]:{userSelect:"none"}}},P=d=>{const{antCls:x,componentCls:k,cardShadow:D,cardHeadPadding:L,colorBorderSecondary:tt,boxShadowTertiary:it,cardPaddingBase:mt,extraColor:_t}=d;return{[k]:Object.assign(Object.assign({},(0,K.Wf)(d)),{position:"relative",background:d.colorBgContainer,borderRadius:d.borderRadiusLG,[`&:not(${k}-bordered)`]:{boxShadow:it},[`${k}-head`]:N(d),[`${k}-extra`]:{marginInlineStart:"auto",color:_t,fontWeight:"normal",fontSize:d.fontSize},[`${k}-body`]:Object.assign({padding:mt,borderRadius:`0 0 ${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)}`},(0,K.dF)()),[`${k}-grid`]:C(d),[`${k}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${x}-image-mask`]:{borderRadius:`${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)} 0 0`}},[`${k}-actions`]:A(d),[`${k}-meta`]:n(d)}),[`${k}-bordered`]:{border:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${tt}`,[`${k}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${k}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${d.motionDurationMid}, border-color ${d.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:D}},[`${k}-contain-grid`]:{borderRadius:`${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)} 0 0 `,[`${k}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${k}-loading) ${k}-body`]:{marginBlockStart:d.calc(d.lineWidth).mul(-1).equal(),marginInlineStart:d.calc(d.lineWidth).mul(-1).equal(),padding:0}},[`${k}-contain-tabs`]:{[`> div${k}-head`]:{minHeight:0,[`${k}-head-title, ${k}-extra`]:{paddingTop:L}}},[`${k}-type-inner`]:E(d),[`${k}-loading`]:t(d),[`${k}-rtl`]:{direction:"rtl"}}},J=d=>{const{componentCls:x,cardPaddingSM:k,headerHeightSM:D,headerFontSizeSM:L}=d;return{[`${x}-small`]:{[`> ${x}-head`]:{minHeight:D,padding:`0 ${(0,S.bf)(k)}`,fontSize:L,[`> ${x}-head-wrapper`]:{[`> ${x}-extra`]:{fontSize:d.fontSize}}},[`> ${x}-body`]:{padding:k}},[`${x}-small${x}-contain-tabs`]:{[`> ${x}-head`]:{[`${x}-head-title, ${x}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},W=d=>({headerBg:"transparent",headerFontSize:d.fontSizeLG,headerFontSizeSM:d.fontSize,headerHeight:d.fontSizeLG*d.lineHeightLG+d.padding*2,headerHeightSM:d.fontSize*d.lineHeight+d.paddingXS*2,actionsBg:d.colorBgContainer,actionsLiMargin:`${d.paddingSM}px 0`,tabsMarginBottom:-d.padding-d.lineWidth,extraColor:d.colorText});var ut=(0,U.I$)("Card",d=>{const x=(0,X.TS)(d,{cardShadow:d.boxShadowCard,cardHeadPadding:d.padding,cardPaddingBase:d.paddingLG,cardActionsIconSize:d.fontSize,cardPaddingSM:12});return[P(x),J(x)]},W),F=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L{const{actionClasses:x,actions:k=[],actionStyle:D}=d;return s.createElement("ul",{className:x,style:D},k.map((L,tt)=>{const it=`action-${tt}`;return s.createElement("li",{style:{width:`${100/k.length}%`},key:it},s.createElement("span",null,L))}))};var T=s.forwardRef((d,x)=>{const{prefixCls:k,className:D,rootClassName:L,style:tt,extra:it,headStyle:mt={},bodyStyle:_t={},title:pt,loading:ct,bordered:Ct=!0,size:Mt,type:Dt,cover:Xt,actions:Rt,tabList:Lt,children:zt,activeTabKey:yt,defaultActiveTabKey:At,tabBarExtraContent:xt,hoverable:Bt,tabProps:Wt={},classNames:Vt,styles:$t}=d,jt=F(d,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:ht,direction:ee,card:Kt}=s.useContext(i.E_),ne=te=>{var Yt;(Yt=d.onTabChange)===null||Yt===void 0||Yt.call(d,te)},wt=te=>{var Yt;return r()((Yt=Kt==null?void 0:Kt.classNames)===null||Yt===void 0?void 0:Yt[te],Vt==null?void 0:Vt[te])},Et=te=>{var Yt;return Object.assign(Object.assign({},(Yt=Kt==null?void 0:Kt.styles)===null||Yt===void 0?void 0:Yt[te]),$t==null?void 0:$t[te])},se=s.useMemo(()=>{let te=!1;return s.Children.forEach(zt,Yt=>{Yt&&Yt.type&&Yt.type===I&&(te=!0)}),te},[zt]),Ht=ht("card",k),[le,ce,ue]=ut(Ht),be=s.createElement(u.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},zt),De=yt!==void 0,ln=Object.assign(Object.assign({},Wt),{[De?"activeKey":"defaultActiveKey"]:De?yt:At,tabBarExtraContent:xt});let ze;const fe=(0,m.Z)(Mt),cn=!fe||fe==="default"?"large":fe,Ae=Lt?s.createElement(o.Z,Object.assign({size:cn},ln,{className:`${Ht}-head-tabs`,onChange:ne,items:Lt.map(te=>{var{tab:Yt}=te,_e=F(te,["tab"]);return Object.assign({label:Yt},_e)})})):null;if(pt||it||Ae){const te=r()(`${Ht}-head`,wt("header")),Yt=r()(`${Ht}-head-title`,wt("title")),_e=r()(`${Ht}-extra`,wt("extra")),_n=Object.assign(Object.assign({},mt),Et("header"));ze=s.createElement("div",{className:te,style:_n},s.createElement("div",{className:`${Ht}-head-wrapper`},pt&&s.createElement("div",{className:Yt,style:Et("title")},pt),it&&s.createElement("div",{className:_e,style:Et("extra")},it)),Ae)}const dn=r()(`${Ht}-cover`,wt("cover")),un=Xt?s.createElement("div",{className:dn,style:Et("cover")},Xt):null,fn=r()(`${Ht}-body`,wt("body")),hn=Object.assign(Object.assign({},_t),Et("body")),mn=s.createElement("div",{className:fn,style:hn},ct?be:zt),pn=r()(`${Ht}-actions`,wt("actions")),vn=Rt&&Rt.length?s.createElement(at,{actionClasses:pn,actionStyle:Et("actions"),actions:Rt}):null,gn=(0,h.Z)(jt,["onTabChange"]),yn=r()(Ht,Kt==null?void 0:Kt.className,{[`${Ht}-loading`]:ct,[`${Ht}-bordered`]:Ct,[`${Ht}-hoverable`]:Bt,[`${Ht}-contain-grid`]:se,[`${Ht}-contain-tabs`]:Lt&&Lt.length,[`${Ht}-${fe}`]:fe,[`${Ht}-type-${Dt}`]:!!Dt,[`${Ht}-rtl`]:ee==="rtl"},D,L,ce,ue),bn=Object.assign(Object.assign({},Kt==null?void 0:Kt.style),tt);return le(s.createElement("div",Object.assign({ref:x},gn,{className:yn,style:bn}),ze,un,mn,vn))}),lt=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L{const{prefixCls:x,className:k,avatar:D,title:L,description:tt}=d,it=lt(d,["prefixCls","className","avatar","title","description"]),{getPrefixCls:mt}=s.useContext(i.E_),_t=mt("card",x),pt=r()(`${_t}-meta`,k),ct=D?s.createElement("div",{className:`${_t}-meta-avatar`},D):null,Ct=L?s.createElement("div",{className:`${_t}-meta-title`},L):null,Mt=tt?s.createElement("div",{className:`${_t}-meta-description`},tt):null,Dt=Ct||Mt?s.createElement("div",{className:`${_t}-meta-detail`},Ct,Mt):null;return s.createElement("div",Object.assign({},it,{className:pt}),ct,Dt)};const kt=T;kt.Grid=I,kt.Meta=Y;var Tt=kt,dt=B(25378),Ot=B(96074),Ft=B(42075),z=B(86074),Qt=function(x){var k=x.padding;return(0,z.jsx)("div",{style:{padding:k||"0 24px"},children:(0,z.jsx)(Ot.Z,{style:{margin:0}})})},Gt={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},e=function(x){var k=x.size,D=x.active,L=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),tt=(0,dt.Z)()||L,it=Object.keys(tt).filter(function(pt){return tt[pt]===!0})[0]||"md",mt=k===void 0?Gt[it]||6:k,_t=function(ct){return ct===0?0:mt>2?42:16};return(0,z.jsx)(Tt,{bordered:!1,style:{marginBlockEnd:16},children:(0,z.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(mt).fill(null).map(function(pt,ct){return(0,z.jsxs)("div",{style:{borderInlineStart:mt>2&&ct===1?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:_t(ct),flex:1,marginInlineEnd:ct===0?16:0},children:[(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{width:100,style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z.Button,{active:D,style:{height:48}})]},ct)})})})},H=function(x){var k=x.active;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Tt,{bordered:!1,style:{borderRadius:0},styles:{body:{padding:24}},children:(0,z.jsxs)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,z.jsx)("div",{style:{maxWidth:"100%",flex:1},children:(0,z.jsx)(u.Z,{active:k,title:{width:100,style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}})}),(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:165,marginBlockStart:12}})]})}),(0,z.jsx)(Qt,{})]})},$=function(x){var k=x.size,D=x.active,L=D===void 0?!0:D,tt=x.actionButton;return(0,z.jsxs)(Tt,{bordered:!1,styles:{body:{padding:0}},children:[new Array(k).fill(null).map(function(it,mt){return(0,z.jsx)(H,{active:!!L},mt)}),tt!==!1&&(0,z.jsx)(Tt,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},styles:{body:{display:"flex",alignItems:"center",justifyContent:"center"}},children:(0,z.jsx)(u.Z.Button,{style:{width:102},active:L,size:"small"})})]})},g=function(x){var k=x.active;return(0,z.jsxs)("div",{style:{marginBlockEnd:16},children:[(0,z.jsx)(u.Z,{paragraph:!1,title:{width:185}}),(0,z.jsx)(u.Z.Button,{active:k,size:"small"})]})},p=function(x){var k=x.active;return(0,z.jsx)(Tt,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},styles:{body:{paddingBlockEnd:8}},children:(0,z.jsxs)(Ft.Z,{style:{width:"100%",justifyContent:"space-between"},children:[(0,z.jsx)(u.Z.Button,{active:k,style:{width:200},size:"small"}),(0,z.jsxs)(Ft.Z,{children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:120}}),(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:80}})]})]})})},j=function(x){var k=x.active,D=k===void 0?!0:k,L=x.statistic,tt=x.actionButton,it=x.toolbar,mt=x.pageHeader,_t=x.list,pt=_t===void 0?5:_t;return(0,z.jsxs)("div",{style:{width:"100%"},children:[mt!==!1&&(0,z.jsx)(g,{active:D}),L!==!1&&(0,z.jsx)(e,{size:L,active:D}),(it!==!1||pt!==!1)&&(0,z.jsxs)(Tt,{bordered:!1,styles:{body:{padding:0}},children:[it!==!1&&(0,z.jsx)(p,{active:D}),pt!==!1&&(0,z.jsx)($,{size:pt,active:D,actionButton:tt})]})]})},G=j,V={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},R=function(x){var k=x.active;return(0,z.jsxs)("div",{style:{marginBlockStart:32},children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsxs)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:[(0,z.jsxs)("div",{style:{flex:1,marginInlineEnd:24,maxWidth:300},children:[(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:8}}})]}),(0,z.jsx)("div",{style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,z.jsxs)("div",{style:{maxWidth:300,margin:"auto"},children:[(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:8}}})]})})]})]})},Q=function(x){var k=x.size,D=x.active,L=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),tt=(0,dt.Z)()||L,it=Object.keys(tt).filter(function(_t){return tt[_t]===!0})[0]||"md",mt=k===void 0?V[it]||3:k;return(0,z.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(mt).fill(null).map(function(_t,pt){return(0,z.jsxs)("div",{style:{flex:1,paddingInlineStart:pt===0?0:24,paddingInlineEnd:pt===mt-1?0:24},children:[(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{style:{marginBlockStart:8}}})]},pt)})})},nt=function(x){var k=x.active,D=x.header,L=D===void 0?!1:D,tt=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),it=(0,dt.Z)()||tt,mt=Object.keys(it).filter(function(pt){return it[pt]===!0})[0]||"md",_t=V[mt]||3;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{style:{display:"flex",background:L?"rgba(0,0,0,0.02)":"none",padding:"24px 8px"},children:[new Array(_t).fill(null).map(function(pt,ct){return(0,z.jsx)("div",{style:{flex:1,paddingInlineStart:L&&ct===0?0:20,paddingInlineEnd:32},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:24,width:L?"75px":"100%"}}})},ct)}),(0,z.jsx)("div",{style:{flex:3,paddingInlineStart:32},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:24,width:L?"75px":"100%"}}})})]}),(0,z.jsx)(Qt,{padding:"0px 0px"})]})},q=function(x){var k=x.active,D=x.size,L=D===void 0?4:D;return(0,z.jsxs)(Tt,{bordered:!1,children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsx)(nt,{header:!0,active:k}),new Array(L).fill(null).map(function(tt,it){return(0,z.jsx)(nt,{active:k},it)}),(0,z.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",paddingBlockStart:16},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:32,float:"right",maxWidth:"630px"}}})})]})},ft=function(x){var k=x.active;return(0,z.jsxs)(Tt,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsx)(Q,{active:k}),(0,z.jsx)(R,{active:k})]})},Zt=function(x){var k=x.active,D=k===void 0?!0:k,L=x.pageHeader,tt=x.list;return(0,z.jsxs)("div",{style:{width:"100%"},children:[L!==!1&&(0,z.jsx)(g,{active:D}),(0,z.jsx)(ft,{active:D}),tt!==!1&&(0,z.jsx)(Qt,{}),tt!==!1&&(0,z.jsx)(q,{active:D,size:tt})]})},ot=Zt,Pt=function(x){var k=x.active,D=k===void 0?!0:k,L=x.pageHeader;return(0,z.jsxs)("div",{style:{width:"100%"},children:[L!==!1&&(0,z.jsx)(g,{active:D}),(0,z.jsx)(Tt,{children:(0,z.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",padding:128},children:[(0,z.jsx)(u.Z.Avatar,{size:64,style:{marginBlockEnd:32}}),(0,z.jsx)(u.Z.Button,{active:D,style:{width:214,marginBlockEnd:8}}),(0,z.jsx)(u.Z.Button,{active:D,style:{width:328},size:"small"}),(0,z.jsxs)(Ft.Z,{style:{marginBlockStart:24},children:[(0,z.jsx)(u.Z.Button,{active:D,style:{width:116}}),(0,z.jsx)(u.Z.Button,{active:D,style:{width:116}})]})]})})]})},St=Pt,bt=["type"],It=function(x){var k=x.type,D=k===void 0?"list":k,L=(0,M.Z)(x,bt);return D==="result"?(0,z.jsx)(St,(0,v.Z)({},L)):D==="descriptions"?(0,z.jsx)(ot,(0,v.Z)({},L)):(0,z.jsx)(G,(0,v.Z)({},L))},gt=It,Ut=B(2026),qt=B(90081),Jt=B(1977),oe=B(77398),ae=B(81736),pe=B(53914),de=B(97685),he=B(89451),re=B(68872),ie=B(21770),me=B(86671),Re=function(x){return(re.ZP.warn||re.ZP.warning)(x)};function Be(d){var x=d.data,k=d.row;return(0,v.Z)((0,v.Z)({},x),k)}function Ze(d){var x=d.type||"single",k=(0,he.YB)(),D=(0,ie.Z)([],{value:d.editableKeys,onChange:d.onChange?function(zt){var yt;d==null||(yt=d.onChange)===null||yt===void 0||yt.call(d,zt,d.dataSource)}:void 0}),L=(0,de.Z)(D,2),tt=L[0],it=L[1],mt=(0,s.useMemo)(function(){var zt=x==="single"?tt==null?void 0:tt.slice(0,1):tt;return new Set(zt)},[(tt||[]).join(","),x]),_t=(0,s.useCallback)(function(zt){return!!(tt!=null&&tt.includes((0,me.sN)(zt)))},[(tt||[]).join(",")]),pt=function(yt){return mt.size>0&&x==="single"?(Re(d.onlyOneLineEditorAlertMessage||k.getMessage("editableTable.onlyOneLineEditor","\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C")),!1):(mt.add((0,me.sN)(yt)),it(Array.from(mt)),!0)},ct=function(yt){return mt.delete((0,me.sN)(yt)),it(Array.from(mt)),!0},Ct=function(){var zt=(0,y.Z)((0,vt.Z)().mark(function yt(At,xt,Bt,Wt){var Vt,$t;return(0,vt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return ht.next=2,d==null||(Vt=d.onCancel)===null||Vt===void 0?void 0:Vt.call(d,At,xt,Bt,Wt);case 2:if($t=ht.sent,$t!==!1){ht.next=5;break}return ht.abrupt("return",!1);case 5:return ht.abrupt("return",!0);case 6:case"end":return ht.stop()}},yt)}));return function(At,xt,Bt,Wt){return zt.apply(this,arguments)}}(),Mt=function(){var zt=(0,y.Z)((0,vt.Z)().mark(function yt(At,xt,Bt){var Wt,Vt,$t;return(0,vt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return ht.next=2,d==null||(Wt=d.onSave)===null||Wt===void 0?void 0:Wt.call(d,At,xt,Bt);case 2:if(Vt=ht.sent,Vt!==!1){ht.next=5;break}return ht.abrupt("return",!1);case 5:return ht.next=7,ct(At);case 7:return $t={data:d.dataSource,row:xt,key:At,childrenColumnName:d.childrenColumnName||"children"},d.setDataSource(Be($t)),ht.abrupt("return",!0);case 10:case"end":return ht.stop()}},yt)}));return function(At,xt,Bt){return zt.apply(this,arguments)}}(),Dt=k.getMessage("editableTable.action.save","\u4FDD\u5B58"),Xt=k.getMessage("editableTable.action.delete","\u5220\u9664"),Rt=k.getMessage("editableTable.action.cancel","\u53D6\u6D88"),Lt=(0,s.useCallback)(function(zt,yt){var At=(0,v.Z)({recordKey:zt,cancelEditable:ct,onCancel:Ct,onSave:Mt,editableKeys:tt,setEditableRowKeys:it,saveText:Dt,cancelText:Rt,deleteText:Xt,deletePopconfirmMessage:"".concat(k.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?"),editorType:"Map"},yt),xt=(0,me.aX)(d.dataSource,At);return d.actionRender?d.actionRender(d.dataSource,At,{save:xt.save,delete:xt.delete,cancel:xt.cancel}):[xt.save,xt.delete,xt.cancel]},[tt&&tt.join(","),d.dataSource]);return{editableKeys:tt,setEditableRowKeys:it,isEditable:_t,actionRender:Lt,startEditable:pt,cancelEditable:ct}}var Fe=B(78164),we=B(67159),xe=B(74443),Me={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Se=s.createContext({}),Ce=B(50344),Le=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L(0,Ce.Z)(d).map(x=>Object.assign(Object.assign({},x==null?void 0:x.props),{key:x.key}));function Ne(d,x,k){const D=s.useMemo(()=>x||$e(k),[x,k]);return s.useMemo(()=>D.map(tt=>{var{span:it}=tt,mt=Le(tt,["span"]);return Object.assign(Object.assign({},mt),{span:typeof it=="number"?it:(0,xe.m9)(d,it)})}),[D,d])}function Ee(d,x,k){let D=d,L=!1;return(k===void 0||k>x)&&(D=Object.assign(Object.assign({},d),{span:x}),L=k!==void 0),[D,L]}function We(d,x){const k=[];let D=[],L=x,tt=!1;return d.filter(it=>it).forEach((it,mt)=>{const _t=it==null?void 0:it.span,pt=_t||1;if(mt===d.length-1){const[ct,Ct]=Ee(it,L,_t);tt=tt||Ct,D.push(ct),k.push(D);return}if(pt{const[k,D]=(0,s.useMemo)(()=>We(x,d),[x,d]);return k},Ke=d=>{let{children:x}=d;return x};function Oe(d){return d!=null}var ve=d=>{const{itemPrefixCls:x,component:k,span:D,className:L,style:tt,labelStyle:it,contentStyle:mt,bordered:_t,label:pt,content:ct,colon:Ct,type:Mt}=d,Dt=k;return _t?s.createElement(Dt,{className:r()({[`${x}-item-label`]:Mt==="label",[`${x}-item-content`]:Mt==="content"},L),style:tt,colSpan:D},Oe(pt)&&s.createElement("span",{style:it},pt),Oe(ct)&&s.createElement("span",{style:mt},ct)):s.createElement(Dt,{className:r()(`${x}-item`,L),style:tt,colSpan:D},s.createElement("div",{className:`${x}-item-container`},(pt||pt===0)&&s.createElement("span",{className:r()(`${x}-item-label`,{[`${x}-item-no-colon`]:!Ct}),style:it},pt),(ct||ct===0)&&s.createElement("span",{className:r()(`${x}-item-content`),style:mt},ct)))};function ge(d,x,k){let{colon:D,prefixCls:L,bordered:tt}=x,{component:it,type:mt,showLabel:_t,showContent:pt,labelStyle:ct,contentStyle:Ct}=k;return d.map((Mt,Dt)=>{let{label:Xt,children:Rt,prefixCls:Lt=L,className:zt,style:yt,labelStyle:At,contentStyle:xt,span:Bt=1,key:Wt}=Mt;return typeof it=="string"?s.createElement(ve,{key:`${mt}-${Wt||Dt}`,className:zt,style:yt,labelStyle:Object.assign(Object.assign({},ct),At),contentStyle:Object.assign(Object.assign({},Ct),xt),span:Bt,colon:D,component:it,itemPrefixCls:Lt,bordered:tt,label:_t?Xt:null,content:pt?Rt:null,type:mt}):[s.createElement(ve,{key:`label-${Wt||Dt}`,className:zt,style:Object.assign(Object.assign(Object.assign({},ct),yt),At),span:1,colon:D,component:it[0],itemPrefixCls:Lt,bordered:tt,label:Xt,type:"label"}),s.createElement(ve,{key:`content-${Wt||Dt}`,className:zt,style:Object.assign(Object.assign(Object.assign({},Ct),yt),xt),span:Bt*2-1,component:it[1],itemPrefixCls:Lt,bordered:tt,content:Rt,type:"content"})]})}var He=d=>{const x=s.useContext(Se),{prefixCls:k,vertical:D,row:L,index:tt,bordered:it}=d;return D?s.createElement(s.Fragment,null,s.createElement("tr",{key:`label-${tt}`,className:`${k}-row`},ge(L,d,Object.assign({component:"th",type:"label",showLabel:!0},x))),s.createElement("tr",{key:`content-${tt}`,className:`${k}-row`},ge(L,d,Object.assign({component:"td",type:"content",showContent:!0},x)))):s.createElement("tr",{key:tt,className:`${k}-row`},ge(L,d,Object.assign({component:it?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},x)))};const Ge=d=>{const{componentCls:x,labelBg:k}=d;return{[`&${x}-bordered`]:{[`> ${x}-view`]:{border:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorSplit}`,"> table":{tableLayout:"auto"},[`${x}-row`]:{borderBottom:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${x}-item-label, > ${x}-item-content`]:{padding:`${(0,S.bf)(d.padding)} ${(0,S.bf)(d.paddingLG)}`,borderInlineEnd:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${x}-item-label`]:{color:d.colorTextSecondary,backgroundColor:k,"&::after":{display:"none"}}}},[`&${x}-middle`]:{[`${x}-row`]:{[`> ${x}-item-label, > ${x}-item-content`]:{padding:`${(0,S.bf)(d.paddingSM)} ${(0,S.bf)(d.paddingLG)}`}}},[`&${x}-small`]:{[`${x}-row`]:{[`> ${x}-item-label, > ${x}-item-content`]:{padding:`${(0,S.bf)(d.paddingXS)} ${(0,S.bf)(d.padding)}`}}}}}},Ve=d=>{const{componentCls:x,extraColor:k,itemPaddingBottom:D,colonMarginRight:L,colonMarginLeft:tt,titleMarginBottom:it}=d;return{[x]:Object.assign(Object.assign(Object.assign({},(0,K.Wf)(d)),Ge(d)),{"&-rtl":{direction:"rtl"},[`${x}-header`]:{display:"flex",alignItems:"center",marginBottom:it},[`${x}-title`]:Object.assign(Object.assign({},K.vS),{flex:"auto",color:d.titleColor,fontWeight:d.fontWeightStrong,fontSize:d.fontSizeLG,lineHeight:d.lineHeightLG}),[`${x}-extra`]:{marginInlineStart:"auto",color:k,fontSize:d.fontSize},[`${x}-view`]:{width:"100%",borderRadius:d.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${x}-row`]:{"> th, > td":{paddingBottom:D},"&:last-child":{borderBottom:"none"}},[`${x}-item-label`]:{color:d.colorTextTertiary,fontWeight:"normal",fontSize:d.fontSize,lineHeight:d.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,S.bf)(tt)} ${(0,S.bf)(L)}`},[`&${x}-item-no-colon::after`]:{content:'""'}},[`${x}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${x}-item-content`]:{display:"table-cell",flex:1,color:d.contentColor,fontSize:d.fontSize,lineHeight:d.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${x}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${x}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${x}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${x}-row`]:{"> th, > td":{paddingBottom:d.paddingSM}}},"&-small":{[`${x}-row`]:{"> th, > td":{paddingBottom:d.paddingXS}}}})}},Xe=d=>({labelBg:d.colorFillAlter,titleColor:d.colorText,titleMarginBottom:d.fontSizeSM*d.lineHeightSM,itemPaddingBottom:d.padding,colonMarginRight:d.marginXS,colonMarginLeft:d.marginXXS/2,contentColor:d.colorText,extraColor:d.colorText});var Ye=(0,U.I$)("Descriptions",d=>{const x=(0,X.TS)(d,{});return Ve(x)},Xe),Je=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L{const{prefixCls:x,title:k,extra:D,column:L,colon:tt=!0,bordered:it,layout:mt,children:_t,className:pt,rootClassName:ct,style:Ct,size:Mt,labelStyle:Dt,contentStyle:Xt,items:Rt}=d,Lt=Je(d,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:zt,direction:yt,descriptions:At}=s.useContext(i.E_),xt=zt("descriptions",x),Bt=(0,dt.Z)(),Wt=s.useMemo(()=>{var wt;return typeof L=="number"?L:(wt=(0,xe.m9)(Bt,Object.assign(Object.assign({},Me),L)))!==null&&wt!==void 0?wt:3},[Bt,L]),Vt=Ne(Bt,Rt,_t),$t=(0,m.Z)(Mt),jt=Ue(Wt,Vt),[ht,ee,Kt]=Ye(xt),ne=s.useMemo(()=>({labelStyle:Dt,contentStyle:Xt}),[Dt,Xt]);return ht(s.createElement(Se.Provider,{value:ne},s.createElement("div",Object.assign({className:r()(xt,At==null?void 0:At.className,{[`${xt}-${$t}`]:$t&&$t!=="default",[`${xt}-bordered`]:!!it,[`${xt}-rtl`]:yt==="rtl"},pt,ct,ee,Kt),style:Object.assign(Object.assign({},At==null?void 0:At.style),Ct)},Lt),(k||D)&&s.createElement("div",{className:`${xt}-header`},k&&s.createElement("div",{className:`${xt}-title`},k),D&&s.createElement("div",{className:`${xt}-extra`},D)),s.createElement("div",{className:`${xt}-view`},s.createElement("table",null,s.createElement("tbody",null,jt.map((wt,Et)=>s.createElement(He,{key:Et,index:Et,colon:tt,prefixCls:xt,vertical:mt==="vertical",bordered:it,row:wt}))))))))};Pe.Item=Ke;var ye=Pe,Qe=B(28459),qe=B(88306),tn=function(x,k){var D=k||{},L=D.onRequestError,tt=D.effects,it=D.manual,mt=D.dataSource,_t=D.defaultDataSource,pt=D.onDataSourceChange,ct=(0,ie.Z)(_t,{value:mt,onChange:pt}),Ct=(0,de.Z)(ct,2),Mt=Ct[0],Dt=Ct[1],Xt=(0,ie.Z)(k==null?void 0:k.loading,{value:k==null?void 0:k.loading,onChange:k==null?void 0:k.onLoadingChange}),Rt=(0,de.Z)(Xt,2),Lt=Rt[0],zt=Rt[1],yt=function(Bt){Dt(Bt),zt(!1)},At=function(){var xt=(0,y.Z)((0,vt.Z)().mark(function Bt(){var Wt,Vt,$t;return(0,vt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:if(!Lt){ht.next=2;break}return ht.abrupt("return");case 2:return zt(!0),ht.prev=3,ht.next=6,x();case 6:if(ht.t0=ht.sent,ht.t0){ht.next=9;break}ht.t0={};case 9:Wt=ht.t0,Vt=Wt.data,$t=Wt.success,$t!==!1&&yt(Vt),ht.next=23;break;case 15:if(ht.prev=15,ht.t1=ht.catch(3),L!==void 0){ht.next=21;break}throw new Error(ht.t1);case 21:L(ht.t1);case 22:zt(!1);case 23:return ht.prev=23,zt(!1),ht.finish(23);case 26:case"end":return ht.stop()}},Bt,null,[[3,15,23,26]])}));return function(){return xt.apply(this,arguments)}}();return(0,s.useEffect)(function(){it||At()},[].concat((0,st.Z)(tt||[]),[it])),{dataSource:Mt,setDataSource:Dt,loading:Lt,reload:function(){return At()}}},en=tn,ke=B(98082),nn=["valueEnum","render","renderText","mode","plain","dataIndex","request","params","editable"],rn=["request","columns","params","dataSource","onDataSourceChange","formProps","editable","loading","onLoadingChange","actionRef","onRequestError","emptyText","contentStyle"],an=function(x,k){var D=x.dataIndex;if(D){var L=Array.isArray(D)?(0,qe.Z)(k,D):k[D];if(L!==void 0||L!==null)return L}return x.children},je=function(x){var k,D=x.valueEnum,L=x.action,tt=x.index,it=x.text,mt=x.entity,_t=x.mode,pt=x.render,ct=x.editableUtils,Ct=x.valueType,Mt=x.plain,Dt=x.dataIndex,Xt=x.request,Rt=x.renderFormItem,Lt=x.params,zt=x.emptyText,yt=f.ZP.useFormInstance(),At=(k=ke.Ow.useToken)===null||k===void 0?void 0:k.call(ke.Ow),xt=At.token,Bt={text:it,valueEnum:D,mode:_t||"read",proFieldProps:{emptyText:zt,render:pt?function($t){return pt==null?void 0:pt($t,mt,tt,L,(0,v.Z)((0,v.Z)({},x),{},{type:"descriptions"}))}:void 0},ignoreFormItem:!0,valueType:Ct,request:Xt,params:Lt,plain:Mt};if(_t==="read"||!_t||Ct==="option"){var Wt=(0,Ut.w)(x.fieldProps,void 0,(0,v.Z)((0,v.Z)({},x),{},{rowKey:Dt,isEditable:!1}));return(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({name:Dt},Bt),{},{fieldProps:Wt}))}var Vt=function(){var jt,ht=(0,Ut.w)(x.formItemProps,yt,(0,v.Z)((0,v.Z)({},x),{},{rowKey:Dt,isEditable:!0})),ee=(0,Ut.w)(x.fieldProps,yt,(0,v.Z)((0,v.Z)({},x),{},{rowKey:Dt,isEditable:!0}));return(0,z.jsxs)("div",{style:{display:"flex",gap:xt.marginXS,alignItems:"baseline"},children:[(0,z.jsx)(qt.U,(0,v.Z)((0,v.Z)({name:Dt},ht),{},{style:(0,v.Z)({margin:0},(ht==null?void 0:ht.style)||{}),initialValue:it||(ht==null?void 0:ht.initialValue),children:(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({},Bt),{},{proFieldProps:(0,v.Z)({},Bt.proFieldProps),renderFormItem:Rt?function(){return Rt==null?void 0:Rt((0,v.Z)((0,v.Z)({},x),{},{type:"descriptions"}),{isEditable:!0,recordKey:Dt,record:yt.getFieldValue([Dt].flat(1)),defaultRender:function(){return(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({},Bt),{},{fieldProps:ee}))},type:"descriptions"},yt)}:void 0,fieldProps:ee}))})),(0,z.jsx)("div",{style:{display:"flex",maxHeight:xt.controlHeight,alignItems:"center",gap:xt.marginXS},children:ct==null||(jt=ct.actionRender)===null||jt===void 0?void 0:jt.call(ct,Dt||tt,{cancelText:(0,z.jsx)(l.Z,{}),saveText:(0,z.jsx)(c.Z,{}),deleteText:!1})})]})};return(0,z.jsx)("div",{style:{marginTop:-5,marginBottom:-5,marginLeft:0,marginRight:0},children:Vt()})},sn=function(x,k,D,L,tt){var it,mt=[],_t=(0,Jt.n)(we.Z,"5.8.0")>=0,pt=x==null||(it=x.map)===null||it===void 0?void 0:it.call(x,function(ct,Ct){var Mt,Dt,Xt;if(s.isValidElement(ct))return _t?{children:ct}:ct;var Rt=ct,Lt=Rt.valueEnum,zt=Rt.render,yt=Rt.renderText,At=Rt.mode,xt=Rt.plain,Bt=Rt.dataIndex,Wt=Rt.request,Vt=Rt.params,$t=Rt.editable,jt=(0,M.Z)(Rt,nn),ht=(Mt=an(ct,k))!==null&&Mt!==void 0?Mt:jt.children,ee=yt?yt(ht,k,Ct,D):ht,Kt=typeof jt.title=="function"?jt.title(ct,"descriptions",null):jt.title,ne=typeof jt.valueType=="function"?jt.valueType(k||{},"descriptions"):jt.valueType,wt=L==null?void 0:L.isEditable(Bt||Ct),Et=At||wt?"edit":"read",se=L&&Et==="read"&&$t!==!1&&($t==null?void 0:$t(ee,k,Ct))!==!1,Ht=se?Ft.Z:s.Fragment,le=Et==="edit"?ee:(0,oe.X)(ee,ct,ee),ce=_t&&ne!=="option"?(0,v.Z)((0,v.Z)({},jt),{},{key:jt.key||((Dt=jt.label)===null||Dt===void 0?void 0:Dt.toString())||Ct,label:(Kt||jt.label||jt.tooltip)&&(0,z.jsx)(ae.G,{label:Kt||jt.label,tooltip:jt.tooltip,ellipsis:ct.ellipsis}),children:(0,z.jsxs)(Ht,{children:[(0,s.createElement)(je,(0,v.Z)((0,v.Z)({},ct),{},{key:ct==null?void 0:ct.key,dataIndex:ct.dataIndex||Ct,mode:Et,text:le,valueType:ne,entity:k,index:Ct,emptyText:tt,action:D,editableUtils:L})),se&&(0,z.jsx)(a.Z,{onClick:function(){L==null||L.startEditable(Bt||Ct)}})]})}):(0,s.createElement)(ye.Item,(0,v.Z)((0,v.Z)({},jt),{},{key:jt.key||((Xt=jt.label)===null||Xt===void 0?void 0:Xt.toString())||Ct,label:(Kt||jt.label||jt.tooltip)&&(0,z.jsx)(ae.G,{label:Kt||jt.label,tooltip:jt.tooltip,ellipsis:ct.ellipsis})}),(0,z.jsxs)(Ht,{children:[(0,z.jsx)(je,(0,v.Z)((0,v.Z)({},ct),{},{dataIndex:ct.dataIndex||Ct,mode:Et,text:le,valueType:ne,entity:k,index:Ct,action:D,editableUtils:L})),se&&ne!=="option"&&(0,z.jsx)(a.Z,{onClick:function(){L==null||L.startEditable(Bt||Ct)}})]}));return ne==="option"?(mt.push(ce),null):ce}).filter(function(ct){return ct});return{options:mt!=null&&mt.length?mt:null,children:pt}},Te=function(x){return(0,z.jsx)(ye.Item,(0,v.Z)((0,v.Z)({},x),{},{children:x.children}))};Te.displayName="ProDescriptionsItem";var on=function(x){return x.children},Ie=function(x){var k,D=x.request,L=x.columns,tt=x.params,it=x.dataSource,mt=x.onDataSourceChange,_t=x.formProps,pt=x.editable,ct=x.loading,Ct=x.onLoadingChange,Mt=x.actionRef,Dt=x.onRequestError,Xt=x.emptyText,Rt=x.contentStyle,Lt=(0,M.Z)(x,rn),zt=(0,s.useContext)(Qe.ZP.ConfigContext),yt=en((0,y.Z)((0,vt.Z)().mark(function Kt(){var ne;return(0,vt.Z)().wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:if(!D){Et.next=6;break}return Et.next=3,D(tt||{});case 3:Et.t0=Et.sent,Et.next=7;break;case 6:Et.t0={data:{}};case 7:return ne=Et.t0,Et.abrupt("return",ne);case 9:case"end":return Et.stop()}},Kt)})),{onRequestError:Dt,effects:[(0,pe.ZP)(tt)],manual:!D,dataSource:it,loading:ct,onLoadingChange:Ct,onDataSourceChange:mt}),At=Ze((0,v.Z)((0,v.Z)({},x.editable),{},{childrenColumnName:void 0,dataSource:yt.dataSource,setDataSource:yt.setDataSource}));if((0,s.useEffect)(function(){Mt&&(Mt.current=(0,v.Z)({reload:yt.reload},At))},[yt,Mt,At]),yt.loading||yt.loading===void 0&&D)return(0,z.jsx)(gt,{type:"descriptions",list:!1,pageHeader:!1});var xt=function(){var ne=(0,Ce.Z)(x.children).filter(Boolean).map(function(wt){if(!s.isValidElement(wt))return wt;var Et=wt==null?void 0:wt.props,se=Et.valueEnum,Ht=Et.valueType,le=Et.dataIndex,ce=Et.ellipsis,ue=Et.copyable,be=Et.request;return!Ht&&!se&&!le&&!be&&!ce&&!ue&&wt.type.displayName!=="ProDescriptionsItem"?wt:(0,v.Z)((0,v.Z)({},wt==null?void 0:wt.props),{},{entity:it})});return[].concat((0,st.Z)(L||[]),(0,st.Z)(ne)).filter(function(wt){return!wt||wt!=null&&wt.valueType&&["index","indexBorder"].includes(wt==null?void 0:wt.valueType)?!1:!(wt!=null&&wt.hideInDescriptions)}).sort(function(wt,Et){return Et.order||wt.order?(Et.order||0)-(wt.order||0):(Et.index||0)-(wt.index||0)})},Bt=sn(xt(),yt.dataSource||{},(Mt==null?void 0:Mt.current)||yt,pt?At:void 0,x.emptyText),Wt=Bt.options,Vt=Bt.children,$t=pt?f.ZP:on,jt=null;(Lt.title||Lt.tooltip||Lt.tip)&&(jt=(0,z.jsx)(ae.G,{label:Lt.title,tooltip:Lt.tooltip||Lt.tip}));var ht=zt.getPrefixCls("pro-descriptions"),ee=(0,Jt.n)(we.Z,"5.8.0")>=0;return(0,z.jsx)(Fe.S,{children:(0,z.jsx)($t,(0,v.Z)((0,v.Z)({form:(k=x.editable)===null||k===void 0?void 0:k.form,component:!1,submitter:!1},_t),{},{onFinish:void 0,children:(0,z.jsx)(ye,(0,v.Z)((0,v.Z)({className:ht},Lt),{},{contentStyle:(0,v.Z)({minWidth:0},Rt||{}),extra:Lt.extra?(0,z.jsxs)(Ft.Z,{children:[Wt,Lt.extra]}):Wt,title:jt,items:ee?Vt:void 0,children:ee?null:Vt}))}),"form")})};Ie.Item=Te;var Pn=null},8214:function(Nt,rt,B){"use strict";var st=B(1413),vt=B(45987),y=B(62435),M=B(66758),v=B(16764),l=B(86074),c=["fieldProps","request","params","proFieldProps"],a=function(w,s){var u=w.fieldProps,_=w.request,r=w.params,h=w.proFieldProps,i=(0,vt.Z)(w,c),m=(0,y.useContext)(M.Z);return(0,l.jsx)(v.Z,(0,st.Z)({valueType:"cascader",fieldProps:(0,st.Z)({getPopupContainer:m.getPopupContainer},u),ref:s,request:_,params:r,filedConfig:{customLightMode:!0},proFieldProps:h},i))};rt.Z=y.forwardRef(a)},31199:function(Nt,rt,B){"use strict";var st=B(1413),vt=B(45987),y=B(62435),M=B(16764),v=B(86074),l=["fieldProps","min","proFieldProps","max"],c=function(w,s){var u=w.fieldProps,_=w.min,r=w.proFieldProps,h=w.max,i=(0,vt.Z)(w,l);return(0,v.jsx)(M.Z,(0,st.Z)({valueType:"digit",fieldProps:(0,st.Z)({min:_,max:h},u),ref:s,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:r},i))},a=y.forwardRef(c);rt.Z=a},64317:function(Nt,rt,B){"use strict";var st=B(1413),vt=B(45987),y=B(22270),M=B(62435),v=B(66758),l=B(16764),c=B(86074),a=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],f=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],w=function(i,m){var o=i.fieldProps,b=i.children,O=i.params,I=i.proFieldProps,S=i.mode,K=i.valueEnum,U=i.request,X=i.showSearch,N=i.options,C=(0,vt.Z)(i,a),A=(0,M.useContext)(v.Z);return(0,c.jsx)(l.Z,(0,st.Z)((0,st.Z)({valueEnum:(0,y.h)(K),request:U,params:O,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,st.Z)({options:N,mode:S,showSearch:X,getPopupContainer:A.getPopupContainer},o),ref:m,proFieldProps:I},C),{},{children:b}))},s=M.forwardRef(function(h,i){var m=h.fieldProps,o=h.children,b=h.params,O=h.proFieldProps,I=h.mode,S=h.valueEnum,K=h.request,U=h.options,X=(0,vt.Z)(h,f),N=(0,st.Z)({options:U,mode:I||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},m),C=(0,M.useContext)(v.Z);return(0,c.jsx)(l.Z,(0,st.Z)((0,st.Z)({valueEnum:(0,y.h)(S),request:K,params:b,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,st.Z)({getPopupContainer:C.getPopupContainer},N),ref:i,proFieldProps:O},X),{},{children:o}))}),u=M.forwardRef(w),_=s,r=u;r.SearchSelect=_,r.displayName="ProFormComponent",rt.Z=r},50727:function(Nt,rt,B){"use strict";var st=B(4942),vt=B(97685),y=B(45987),M=B(74165),v=B(15861),l=B(1413),c=B(24969),a=B(97462),f=B(952),w=B(89451),s=B(48171),u=B(53914),_=B(22270),r=B(60249),h=B(14726),i=B(23323),m=B(21770),o=B(88306),b=B(8880),O=B(62435),I=B(67211),S=B(86074),K=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],U=["record","position","creatorButtonText","newRecordType","parentKey","style"],X=O.createContext(void 0);function N(n){var E=n.children,t=n.record,P=n.position,J=n.newRecordType,W=n.parentKey,ut=(0,O.useContext)(X);return O.cloneElement(E,(0,l.Z)((0,l.Z)({},E.props),{},{onClick:function(){var F=(0,v.Z)((0,M.Z)().mark(function Z(T){var lt,et,Y,kt;return(0,M.Z)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,(lt=(et=E.props).onClick)===null||lt===void 0?void 0:lt.call(et,T);case 2:if(kt=dt.sent,kt!==!1){dt.next=5;break}return dt.abrupt("return");case 5:ut==null||(Y=ut.current)===null||Y===void 0||Y.addEditRecord(t,{position:P,newRecordType:J,parentKey:W});case 6:case"end":return dt.stop()}},Z)}));function at(Z){return F.apply(this,arguments)}return at}()}))}function C(n){var E,t,P=(0,w.YB)(),J=n.onTableChange,W=n.maxLength,ut=n.formItemProps,F=n.recordCreatorProps,at=n.rowKey,Z=n.controlled,T=n.defaultValue,lt=n.onChange,et=n.editableFormRef,Y=(0,y.Z)(n,K),kt=(0,O.useRef)(void 0),Tt=(0,O.useRef)(),dt=(0,O.useRef)();(0,O.useImperativeHandle)(Y.actionRef,function(){return Tt.current},[Tt.current]);var Ot=(0,m.Z)(function(){return n.value||T||[]},{value:n.value,onChange:n.onChange}),Ft=(0,vt.Z)(Ot,2),z=Ft[0],Qt=Ft[1],Gt=O.useMemo(function(){return typeof at=="function"?at:function(ot,Pt){return ot[at]||Pt}},[at]),e=(0,s.J)(function(ot){if(typeof ot=="number"&&!n.name){if(ot>=z.length)return ot;var Pt=z&&z[ot];return Gt==null?void 0:Gt(Pt,ot)}if((typeof ot=="string"||ot>=z.length)&&n.name){var St=z.findIndex(function(bt,It){var gt;return(Gt==null||(gt=Gt(bt,It))===null||gt===void 0?void 0:gt.toString())===(ot==null?void 0:ot.toString())});if(St!==-1)return St}return ot});(0,O.useImperativeHandle)(et,function(){var ot=function(bt){var It,gt;if(bt==null)throw new Error("rowIndex is required");var Ut=e(bt),qt=[n.name,(It=Ut==null?void 0:Ut.toString())!==null&&It!==void 0?It:""].flat(1).filter(Boolean);return(gt=dt.current)===null||gt===void 0?void 0:gt.getFieldValue(qt)},Pt=function(){var bt,It=[n.name].flat(1).filter(Boolean);if(Array.isArray(It)&&It.length===0){var gt,Ut=(gt=dt.current)===null||gt===void 0?void 0:gt.getFieldsValue();return Array.isArray(Ut)?Ut:Object.keys(Ut).map(function(qt){return Ut[qt]})}return(bt=dt.current)===null||bt===void 0?void 0:bt.getFieldValue(It)};return(0,l.Z)((0,l.Z)({},dt.current),{},{getRowData:ot,getRowsData:Pt,setRowData:function(bt,It){var gt,Ut;if(bt==null)throw new Error("rowIndex is required");var qt=e(bt),Jt=[n.name,(gt=qt==null?void 0:qt.toString())!==null&>!==void 0?gt:""].flat(1).filter(Boolean),oe=Object.assign({},(0,l.Z)((0,l.Z)({},ot(bt)),It||{})),ae=(0,b.Z)({},Jt,oe);return(Ut=dt.current)===null||Ut===void 0||Ut.setFieldsValue(ae),!0}})},[e,n.name,dt.current]),(0,O.useEffect)(function(){n.controlled&&(z||[]).forEach(function(ot,Pt){var St;(St=dt.current)===null||St===void 0||St.setFieldsValue((0,st.Z)({},"".concat(Gt(ot,Pt)),ot))},{})},[(0,u.ZP)(z),n.controlled]),(0,O.useEffect)(function(){if(n.name){var ot;dt.current=n==null||(ot=n.editable)===null||ot===void 0?void 0:ot.form}},[(E=n.editable)===null||E===void 0?void 0:E.form,n.name]);var H=F||{},$=H.record,g=H.position,p=H.creatorButtonText,j=H.newRecordType,G=H.parentKey,V=H.style,R=(0,y.Z)(H,U),Q=g==="top",nt=(0,O.useMemo)(function(){return typeof W=="number"&&W<=(z==null?void 0:z.length)?!1:F!==!1&&(0,S.jsx)(N,{record:(0,_.h)($,z==null?void 0:z.length,z)||{},position:g,parentKey:(0,_.h)(G,z==null?void 0:z.length,z),newRecordType:j,children:(0,S.jsx)(h.ZP,(0,l.Z)((0,l.Z)({type:"dashed",style:(0,l.Z)({display:"block",margin:"10px 0",width:"100%"},V),icon:(0,S.jsx)(c.Z,{})},R),{},{children:p||P.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[F,W,z==null?void 0:z.length]),q=(0,O.useMemo)(function(){return nt?Q?{components:{header:{wrapper:function(Pt){var St,bt=Pt.className,It=Pt.children;return(0,S.jsxs)("thead",{className:bt,children:[It,(0,S.jsxs)("tr",{style:{position:"relative"},children:[(0,S.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:nt}),(0,S.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(St=Y.columns)===null||St===void 0?void 0:St.length,children:nt})]})]})}}}}:{tableViewRender:function(Pt,St){var bt,It;return(0,S.jsxs)(S.Fragment,{children:[(bt=(It=n.tableViewRender)===null||It===void 0?void 0:It.call(n,Pt,St))!==null&&bt!==void 0?bt:St,nt]})}}:{}},[Q,nt]),ft=(0,l.Z)({},n.editable),Zt=(0,s.J)(function(ot,Pt){var St,bt,It;if((St=n.editable)===null||St===void 0||(bt=St.onValuesChange)===null||bt===void 0||bt.call(St,ot,Pt),(It=n.onValuesChange)===null||It===void 0||It.call(n,Pt,ot),n.controlled){var gt;n==null||(gt=n.onChange)===null||gt===void 0||gt.call(n,Pt)}});return(n!=null&&n.onValuesChange||(t=n.editable)!==null&&t!==void 0&&t.onValuesChange||n.controlled&&n!==null&&n!==void 0&&n.onChange)&&(ft.onValuesChange=Zt),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(X.Provider,{value:Tt,children:(0,S.jsx)(I.Z,(0,l.Z)((0,l.Z)((0,l.Z)({search:!1,options:!1,pagination:!1,rowKey:at,revalidateOnFocus:!1},Y),q),{},{tableLayout:"fixed",actionRef:Tt,onChange:J,editable:(0,l.Z)((0,l.Z)({},ft),{},{formProps:(0,l.Z)({formRef:dt},ft.formProps)}),dataSource:z,onDataSourceChange:function(Pt){if(Qt(Pt),n.name&&g==="top"){var St,bt=(0,b.Z)({},[n.name].flat(1).filter(Boolean),Pt);(St=dt.current)===null||St===void 0||St.setFieldsValue(bt)}}}))}),n.name?(0,S.jsx)(a.Z,{name:[n.name],children:function(Pt){var St,bt;if(!kt.current)return kt.current=z,null;var It=(0,o.Z)(Pt,[n.name].flat(1)),gt=It==null?void 0:It.find(function(Ut,qt){var Jt;return!(0,r.A)(Ut,(Jt=kt.current)===null||Jt===void 0?void 0:Jt[qt])});return kt.current=z,gt&&(n==null||(St=n.editable)===null||St===void 0||(bt=St.onValuesChange)===null||bt===void 0||bt.call(St,gt,It)),null}}):null]})}function A(n){var E=f.ZP.useFormInstance();return n.name?(0,S.jsx)(i.Z.Item,(0,l.Z)((0,l.Z)({style:{maxWidth:"100%"}},n==null?void 0:n.formItemProps),{},{name:n.name,shouldUpdate:function(P,J){var W=[n.name].flat(1);try{return JSON.stringify((0,o.Z)(P,W))!==JSON.stringify((0,o.Z)(J,W))}catch(ut){return!0}},children:(0,S.jsx)(C,(0,l.Z)((0,l.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n),{},{editable:(0,l.Z)((0,l.Z)({},n.editable),{},{form:E})}))})):(0,S.jsx)(C,(0,l.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n))}A.RecordCreator=N,rt.Z=A},93702:function(Nt,rt,B){"use strict";B.r(rt),B.d(rt,{__assign:function(){return v},__asyncDelegator:function(){return O},__asyncGenerator:function(){return b},__asyncValues:function(){return I},__await:function(){return o},__awaiter:function(){return w},__classPrivateFieldGet:function(){return X},__classPrivateFieldSet:function(){return N},__createBinding:function(){return u},__decorate:function(){return c},__exportStar:function(){return _},__extends:function(){return M},__generator:function(){return s},__importDefault:function(){return U},__importStar:function(){return K},__makeTemplateObject:function(){return S},__metadata:function(){return f},__param:function(){return a},__read:function(){return h},__rest:function(){return l},__spread:function(){return i},__spreadArrays:function(){return m},__values:function(){return r}});var st=B(52677),vt=B.n(st);var y=function(A,n){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,t){E.__proto__=t}||function(E,t){for(var P in t)t.hasOwnProperty(P)&&(E[P]=t[P])},y(A,n)};function M(C,A){y(C,A);function n(){this.constructor=C}C.prototype=A===null?Object.create(A):(n.prototype=A.prototype,new n)}var v=function(){return v=Object.assign||function(n){for(var E,t=1,P=arguments.length;t=0;W--)(J=C[W])&&(P=(t<3?J(P):t>3?J(A,n,P):J(A,n))||P);return t>3&&P&&Object.defineProperty(A,n,P),P}function a(C,A){return function(n,E){A(n,E,C)}}function f(C,A){if((typeof Reflect=="undefined"?"undefined":vt()(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(C,A)}function w(C,A,n,E){function t(P){return P instanceof n?P:new n(function(J){J(P)})}return new(n||(n=Promise))(function(P,J){function W(at){try{F(E.next(at))}catch(Z){J(Z)}}function ut(at){try{F(E.throw(at))}catch(Z){J(Z)}}function F(at){at.done?P(at.value):t(at.value).then(W,ut)}F((E=E.apply(C,A||[])).next())})}function s(C,A){var n={label:0,sent:function(){if(P[0]&1)throw P[1];return P[1]},trys:[],ops:[]},E,t,P,J;return J={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(J[Symbol.iterator]=function(){return this}),J;function W(F){return function(at){return ut([F,at])}}function ut(F){if(E)throw new TypeError("Generator is already executing.");for(;n;)try{if(E=1,t&&(P=F[0]&2?t.return:F[0]?t.throw||((P=t.return)&&P.call(t),0):t.next)&&!(P=P.call(t,F[1])).done)return P;switch(t=0,P&&(F=[F[0]&2,P.value]),F[0]){case 0:case 1:P=F;break;case 4:return n.label++,{value:F[1],done:!1};case 5:n.label++,t=F[1],F=[0];continue;case 7:F=n.ops.pop(),n.trys.pop();continue;default:if(P=n.trys,!(P=P.length>0&&P[P.length-1])&&(F[0]===6||F[0]===2)){n=0;continue}if(F[0]===3&&(!P||F[1]>P[0]&&F[1]=C.length&&(C=void 0),{value:C&&C[E++],done:!C}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(C,A){var n=typeof Symbol=="function"&&C[Symbol.iterator];if(!n)return C;var E=n.call(C),t,P=[],J;try{for(;(A===void 0||A-- >0)&&!(t=E.next()).done;)P.push(t.value)}catch(W){J={error:W}}finally{try{t&&!t.done&&(n=E.return)&&n.call(E)}finally{if(J)throw J.error}}return P}function i(){for(var C=[],A=0;A1||W(T,lt)})})}function W(T,lt){try{ut(E[T](lt))}catch(et){Z(P[0][3],et)}}function ut(T){T.value instanceof o?Promise.resolve(T.value.v).then(F,at):Z(P[0][2],T)}function F(T){W("next",T)}function at(T){W("throw",T)}function Z(T,lt){T(lt),P.shift(),P.length&&W(P[0][0],P[0][1])}}function O(C){var A,n;return A={},E("next"),E("throw",function(t){throw t}),E("return"),A[Symbol.iterator]=function(){return this},A;function E(t,P){A[t]=C[t]?function(J){return(n=!n)?{value:o(C[t](J)),done:t==="return"}:P?P(J):J}:P}}function I(C){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=C[Symbol.asyncIterator],n;return A?A.call(C):(C=typeof r=="function"?r(C):C[Symbol.iterator](),n={},E("next"),E("throw"),E("return"),n[Symbol.asyncIterator]=function(){return this},n);function E(P){n[P]=C[P]&&function(J){return new Promise(function(W,ut){J=C[P](J),t(W,ut,J.done,J.value)})}}function t(P,J,W,ut){Promise.resolve(ut).then(function(F){P({value:F,done:W})},J)}}function S(C,A){return Object.defineProperty?Object.defineProperty(C,"raw",{value:A}):C.raw=A,C}function K(C){if(C&&C.__esModule)return C;var A={};if(C!=null)for(var n in C)Object.hasOwnProperty.call(C,n)&&(A[n]=C[n]);return A.default=C,A}function U(C){return C&&C.__esModule?C:{default:C}}function X(C,A){if(!A.has(C))throw new TypeError("attempted to get private field on non-instance");return A.get(C)}function N(C,A,n){if(!A.has(C))throw new TypeError("attempted to set private field on non-instance");return A.set(C,n),n}},86250:function(Nt,rt,B){"use strict";B.d(rt,{Z:function(){return N}});var st=B(62435),vt=B(93967),y=B.n(vt),M=B(98423),v=B(98065),l=B(53124),c=B(92030),a=B(45503);const f=["wrap","nowrap","wrap-reverse"],w=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],s=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],u=(C,A)=>{const n=A.wrap===!0?"wrap":A.wrap;return{[`${C}-wrap-${n}`]:n&&f.includes(n)}},_=(C,A)=>{const n={};return s.forEach(E=>{n[`${C}-align-${E}`]=A.align===E}),n[`${C}-align-stretch`]=!A.align&&!!A.vertical,n},r=(C,A)=>{const n={};return w.forEach(E=>{n[`${C}-justify-${E}`]=A.justify===E}),n};function h(C,A){return y()(Object.assign(Object.assign(Object.assign({},u(C,A)),_(C,A)),r(C,A)))}var i=h;const m=C=>{const{componentCls:A}=C;return{[A]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},o=C=>{const{componentCls:A}=C;return{[A]:{"&-gap-small":{gap:C.flexGapSM},"&-gap-middle":{gap:C.flexGap},"&-gap-large":{gap:C.flexGapLG}}}},b=C=>{const{componentCls:A}=C,n={};return f.forEach(E=>{n[`${A}-wrap-${E}`]={flexWrap:E}}),n},O=C=>{const{componentCls:A}=C,n={};return s.forEach(E=>{n[`${A}-align-${E}`]={alignItems:E}}),n},I=C=>{const{componentCls:A}=C,n={};return w.forEach(E=>{n[`${A}-justify-${E}`]={justifyContent:E}}),n},S=()=>({});var K=(0,c.I$)("Flex",C=>{const{paddingXS:A,padding:n,paddingLG:E}=C,t=(0,a.TS)(C,{flexGapSM:A,flexGap:n,flexGapLG:E});return[m(t),o(t),b(t),O(t),I(t)]},S,{resetStyle:!1}),U=function(C,A){var n={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&A.indexOf(E)<0&&(n[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,E=Object.getOwnPropertySymbols(C);t{const{prefixCls:n,rootClassName:E,className:t,style:P,flex:J,gap:W,children:ut,vertical:F=!1,component:at="div"}=C,Z=U(C,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:T,direction:lt,getPrefixCls:et}=st.useContext(l.E_),Y=et("flex",n),[kt,Tt,dt]=K(Y),Ot=F!=null?F:T==null?void 0:T.vertical,Ft=y()(t,E,T==null?void 0:T.className,Y,Tt,dt,i(Y,C),{[`${Y}-rtl`]:lt==="rtl",[`${Y}-gap-${W}`]:(0,v.n)(W),[`${Y}-vertical`]:Ot}),z=Object.assign(Object.assign({},T==null?void 0:T.style),P);return J&&(z.flex=J),W&&!(0,v.n)(W)&&(z.gap=W),kt(st.createElement(at,Object.assign({ref:A,className:Ft,style:z},(0,M.Z)(Z,["justify","wrap","align"])),ut))})},23087:function(Nt,rt,B){"use strict";var st=B(34155);Object.defineProperty(rt,"__esModule",{value:!0});var vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},y=typeof window!="undefined"&&typeof window.document!="undefined",M=(typeof self=="undefined"?"undefined":vt(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",v=typeof st!="undefined"&&st.versions!=null&&st.versions.node!=null,l=function(){return typeof window!="undefined"&&window.name==="nodejs"||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")};rt.isBrowser=y,rt.isWebWorker=M,rt.isNode=v,rt.isJsDom=l},93162:function(Nt,rt,B){var st,vt,y;(function(M,v){vt=[],st=v,y=typeof st=="function"?st.apply(rt,vt):st,y!==void 0&&(Nt.exports=y)})(this,function(){"use strict";function M(s,u){return typeof u=="undefined"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function v(s,u,_){var r=new XMLHttpRequest;r.open("GET",s),r.responseType="blob",r.onload=function(){w(r.response,u,_)},r.onerror=function(){console.error("could not download file")},r.send()}function l(s){var u=new XMLHttpRequest;u.open("HEAD",s,!1);try{u.send()}catch(_){}return 200<=u.status&&299>=u.status}function c(s){try{s.dispatchEvent(new MouseEvent("click"))}catch(_){var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof B.g=="object"&&B.g.global===B.g?B.g:void 0,f=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),w=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(s,u,_){var r=a.URL||a.webkitURL,h=document.createElement("a");u=u||s.name||"download",h.download=u,h.rel="noopener",typeof s=="string"?(h.href=s,h.origin===location.origin?c(h):l(h.href)?v(s,u,_):c(h,h.target="_blank")):(h.href=r.createObjectURL(s),setTimeout(function(){r.revokeObjectURL(h.href)},4e4),setTimeout(function(){c(h)},0))}:"msSaveOrOpenBlob"in navigator?function(s,u,_){if(u=u||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(M(s,_),u);else if(l(s))v(s,u,_);else{var r=document.createElement("a");r.href=s,r.target="_blank",setTimeout(function(){c(r)})}}:function(s,u,_,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof s=="string")return v(s,u,_);var h=s.type==="application/octet-stream",i=/constructor/i.test(a.HTMLElement)||a.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&i||f)&&typeof FileReader!="undefined"){var o=new FileReader;o.onloadend=function(){var I=o.result;I=m?I:I.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=I:location=I,r=null},o.readAsDataURL(s)}else{var b=a.URL||a.webkitURL,O=b.createObjectURL(s);r?r.location=O:location.href=O,r=null,setTimeout(function(){b.revokeObjectURL(O)},4e4)}});a.saveAs=w.saveAs=w,Nt.exports=w})},88130:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.contentTypesXml=void 0,rt.contentTypesXml=` `},6603:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.documentXmlRels=void 0,rt.documentXmlRels=` `},29186:function(Nt,rt,B){"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var st=B(93702);st.__exportStar(B(88130),rt),st.__exportStar(B(6603),rt),st.__exportStar(B(33857),rt)},33857:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.relsXml=void 0,rt.relsXml=` `},97088:function(Nt,rt,B){"use strict";var st;st={value:!0},rt.m=void 0;var vt=B(93702),y=B(68547),M=B(13797);function v(l,c){return c===void 0&&(c={}),vt.__awaiter(this,void 0,void 0,function(){var a;return vt.__generator(this,function(f){switch(f.label){case 0:return a=new M,y.addFiles(a,l,c),[4,y.generateDocument(a)];case 1:return[2,f.sent()]}})})}rt.m=v},68547:function(Nt,rt,B){"use strict";var st=B(48764).lW;Object.defineProperty(rt,"__esModule",{value:!0}),rt.addFiles=rt.generateDocument=void 0;var vt=B(93702),y=B(14913),M=B(29186),v=B(17237),l=B(23087),c={orientation:"portrait",margins:{}};function a(_,r){return vt.__assign(vt.__assign({},_),r)}function f(_){return vt.__awaiter(this,void 0,void 0,function(){var r;return vt.__generator(this,function(h){switch(h.label){case 0:return[4,_.generateAsync({type:"arraybuffer"})];case 1:return r=h.sent(),l.isBrowser?[2,new Blob([r],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})]:[2,new st(new Uint8Array(r))]}})})}rt.generateDocument=f;function w(_){return l.isBrowser?new Blob([_]):new st(_,"utf-8")}function s(_){var r=_.orientation,h=_.margins,i=a(v.defaultMargins,h),m=0,o=0;return r==="landscape"?(o=12240,m=15840):(m=12240,o=15840),v.documentTemplate(m,o,r,i)}function u(_,r,h){var i=a(c,h);return _.file("[Content_Types].xml",w(M.contentTypesXml),{createFolders:!1}),_.folder("_rels").file(".rels",w(M.relsXml),{createFolders:!1}),_.folder("word").file("document.xml",s(i),{createFolders:!1}).file("afchunk.mht",y.getMHTdocument(r),{createFolders:!1}).folder("_rels").file("document.xml.rels",w(M.documentXmlRels),{createFolders:!1})}rt.addFiles=u},36077:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.documentTemplate=rt.defaultMargins=void 0,rt.defaultMargins={top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0},rt.documentTemplate=function(B,st,vt,y){return` `}},17237:function(Nt,rt,B){"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var st=B(93702);st.__exportStar(B(36077),rt),st.__exportStar(B(93832),rt),st.__exportStar(B(567),rt)},93832:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.mhtDocumentTemplate=void 0,rt.mhtDocumentTemplate=function(B,st){return`MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=mhtDocumentPart" ------=mhtDocumentPart Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/fake/document.html `+B+` `+st+` ------=mhtDocumentPart-- `}},567:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.mhtPartTemplate=void 0,rt.mhtPartTemplate=function(B,st,vt,y){return`------=mhtDocumentPart Content-Type: `+B+` Content-Transfer-Encoding: `+st+` Content-Location: `+vt+` `+y+` `}},14913:function(Nt,rt,B){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.getMHTdocument=void 0;var st=B(17237);function vt(M){var v=y(M),l=v.imageContentParts.join(` `);return M=v.htmlSource.replace(/\=/g,"=3D"),st.mhtDocumentTemplate(M,l)}rt.getMHTdocument=vt;function y(M){var v=[],l=/"data:(\w+\/\w+);(\w+),(\S+)"/g,c=function(a,f,w,s){var u=v.length,_=f.split("/")[1],r="file:///C:/fake/image"+u+"."+_;return v.push(st.mhtPartTemplate(f,w,r,s)),'"'+r+'"'};return/>2,r=(3&w)<<4|s>>4,h=1>6:64,i=2>4,s=(15&_)<<4|(r=a.indexOf(f.charAt(i++)))>>2,u=(3&r)<<6|(h=a.indexOf(f.charAt(i++))),b[m++]=w,r!==64&&(b[m++]=s),h!==64&&(b[m++]=u);return b}},{"./support":30,"./utils":32}],2:[function(y,M,v){"use strict";var l=y("./external"),c=y("./stream/DataWorker"),a=y("./stream/Crc32Probe"),f=y("./stream/DataLengthProbe");function w(s,u,_,r,h){this.compressedSize=s,this.uncompressedSize=u,this.crc32=_,this.compression=r,this.compressedContent=h}w.prototype={getContentWorker:function(){var s=new c(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new f("data_length")),u=this;return s.on("end",function(){if(this.streamInfo.data_length!==u.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),s},getCompressedWorker:function(){return new c(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},w.createWorkerFrom=function(s,u,_){return s.pipe(new a).pipe(new f("uncompressedSize")).pipe(u.compressWorker(_)).pipe(new f("compressedSize")).withStreamInfo("compression",u)},M.exports=w},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(y,M,v){"use strict";var l=y("./stream/GenericWorker");v.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},v.DEFLATE=y("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(y,M,v){"use strict";var l=y("./utils"),c=function(){for(var a,f=[],w=0;w<256;w++){a=w;for(var s=0;s<8;s++)a=1&a?3988292384^a>>>1:a>>>1;f[w]=a}return f}();M.exports=function(a,f){return a!==void 0&&a.length?l.getTypeOf(a)!=="string"?function(w,s,u,_){var r=c,h=_+u;w^=-1;for(var i=_;i>>8^r[255&(w^s[i])];return-1^w}(0|f,a,a.length,0):function(w,s,u,_){var r=c,h=_+u;w^=-1;for(var i=_;i>>8^r[255&(w^s.charCodeAt(i))];return-1^w}(0|f,a,a.length,0):0}},{"./utils":32}],5:[function(y,M,v){"use strict";v.base64=!1,v.binary=!1,v.dir=!1,v.createFolders=!0,v.date=null,v.compression=null,v.compressionOptions=null,v.comment=null,v.unixPermissions=null,v.dosPermissions=null},{}],6:[function(y,M,v){"use strict";var l=null;l=typeof Promise!="undefined"?Promise:y("lie"),M.exports={Promise:l}},{lie:37}],7:[function(y,M,v){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",c=y("pako"),a=y("./utils"),f=y("./stream/GenericWorker"),w=l?"uint8array":"array";function s(u,_){f.call(this,"FlateWorker/"+u),this._pako=null,this._pakoAction=u,this._pakoOptions=_,this.meta={}}v.magic="\b\0",a.inherits(s,f),s.prototype.processChunk=function(u){this.meta=u.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(w,u.data),!1)},s.prototype.flush=function(){f.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new c[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var u=this;this._pako.onData=function(_){u.push({data:_,meta:u.meta})}},v.compressWorker=function(u){return new s("Deflate",u)},v.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(y,M,v){"use strict";function l(r,h){var i,m="";for(i=0;i>>=8;return m}function c(r,h,i,m,o,b){var O,I,S=r.file,K=r.compression,U=b!==w.utf8encode,X=a.transformTo("string",b(S.name)),N=a.transformTo("string",w.utf8encode(S.name)),C=S.comment,A=a.transformTo("string",b(C)),n=a.transformTo("string",w.utf8encode(C)),E=N.length!==S.name.length,t=n.length!==C.length,P="",J="",W="",ut=S.dir,F=S.date,at={crc32:0,compressedSize:0,uncompressedSize:0};h&&!i||(at.crc32=r.crc32,at.compressedSize=r.compressedSize,at.uncompressedSize=r.uncompressedSize);var Z=0;h&&(Z|=8),U||!E&&!t||(Z|=2048);var T=0,lt=0;ut&&(T|=16),o==="UNIX"?(lt=798,T|=function(Y,kt){var Tt=Y;return Y||(Tt=kt?16893:33204),(65535&Tt)<<16}(S.unixPermissions,ut)):(lt=20,T|=function(Y){return 63&(Y||0)}(S.dosPermissions)),O=F.getUTCHours(),O<<=6,O|=F.getUTCMinutes(),O<<=5,O|=F.getUTCSeconds()/2,I=F.getUTCFullYear()-1980,I<<=4,I|=F.getUTCMonth()+1,I<<=5,I|=F.getUTCDate(),E&&(J=l(1,1)+l(s(X),4)+N,P+="up"+l(J.length,2)+J),t&&(W=l(1,1)+l(s(A),4)+n,P+="uc"+l(W.length,2)+W);var et="";return et+=` \0`,et+=l(Z,2),et+=K.magic,et+=l(O,2),et+=l(I,2),et+=l(at.crc32,4),et+=l(at.compressedSize,4),et+=l(at.uncompressedSize,4),et+=l(X.length,2),et+=l(P.length,2),{fileRecord:u.LOCAL_FILE_HEADER+et+X+P,dirRecord:u.CENTRAL_FILE_HEADER+l(lt,2)+et+l(A.length,2)+"\0\0\0\0"+l(T,4)+l(m,4)+X+P+A}}var a=y("../utils"),f=y("../stream/GenericWorker"),w=y("../utf8"),s=y("../crc32"),u=y("../signature");function _(r,h,i,m){f.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=i,this.encodeFileName=m,this.streamFiles=r,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(_,f),_.prototype.push=function(r){var h=r.meta.percent||0,i=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(r):(this.bytesWritten+=r.data.length,f.prototype.push.call(this,{data:r.data,meta:{currentFile:this.currentFile,percent:i?(h+100*(i-m-1))/i:100}}))},_.prototype.openedSource=function(r){this.currentSourceOffset=this.bytesWritten,this.currentFile=r.file.name;var h=this.streamFiles&&!r.file.dir;if(h){var i=c(r,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},_.prototype.closedSource=function(r){this.accumulate=!1;var h=this.streamFiles&&!r.file.dir,i=c(r,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),h)this.push({data:function(m){return u.DATA_DESCRIPTOR+l(m.crc32,4)+l(m.compressedSize,4)+l(m.uncompressedSize,4)}(r),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},_.prototype.flush=function(){for(var r=this.bytesWritten,h=0;h=this.index;f--)w=(w<<8)+this.byteAt(f);return this.index+=a,w},readString:function(a){return l.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},M.exports=c},{"../utils":32}],19:[function(y,M,v){"use strict";var l=y("./Uint8ArrayReader");function c(a){l.call(this,a)}y("../utils").inherits(c,l),c.prototype.readData=function(a){this.checkOffset(a);var f=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(y,M,v){"use strict";var l=y("./DataReader");function c(a){l.call(this,a)}y("../utils").inherits(c,l),c.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},c.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},c.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},c.prototype.readData=function(a){this.checkOffset(a);var f=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./DataReader":18}],21:[function(y,M,v){"use strict";var l=y("./ArrayReader");function c(a){l.call(this,a)}y("../utils").inherits(c,l),c.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var f=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./ArrayReader":17}],22:[function(y,M,v){"use strict";var l=y("../utils"),c=y("../support"),a=y("./ArrayReader"),f=y("./StringReader"),w=y("./NodeBufferReader"),s=y("./Uint8ArrayReader");M.exports=function(u){var _=l.getTypeOf(u);return l.checkSupport(_),_!=="string"||c.uint8array?_==="nodebuffer"?new w(u):c.uint8array?new s(l.transformTo("uint8array",u)):new a(l.transformTo("array",u)):new f(u)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(y,M,v){"use strict";v.LOCAL_FILE_HEADER="PK",v.CENTRAL_FILE_HEADER="PK",v.CENTRAL_DIRECTORY_END="PK",v.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",v.ZIP64_CENTRAL_DIRECTORY_END="PK",v.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(y,M,v){"use strict";var l=y("./GenericWorker"),c=y("../utils");function a(f){l.call(this,"ConvertWorker to "+f),this.destType=f}c.inherits(a,l),a.prototype.processChunk=function(f){this.push({data:c.transformTo(this.destType,f.data),meta:f.meta})},M.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(y,M,v){"use strict";var l=y("./GenericWorker"),c=y("../crc32");function a(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}y("../utils").inherits(a,l),a.prototype.processChunk=function(f){this.streamInfo.crc32=c(f.data,this.streamInfo.crc32||0),this.push(f)},M.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(y,M,v){"use strict";var l=y("../utils"),c=y("./GenericWorker");function a(f){c.call(this,"DataLengthProbe for "+f),this.propName=f,this.withStreamInfo(f,0)}l.inherits(a,c),a.prototype.processChunk=function(f){if(f){var w=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=w+f.data.length}c.prototype.processChunk.call(this,f)},M.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(y,M,v){"use strict";var l=y("../utils"),c=y("./GenericWorker");function a(f){c.call(this,"DataWorker");var w=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,f.then(function(s){w.dataIsReady=!0,w.data=s,w.max=s&&s.length||0,w.type=l.getTypeOf(s),w.isPaused||w._tickAndRepeat()},function(s){w.error(s)})}l.inherits(a,c),a.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var f=null,w=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":f=this.data.substring(this.index,w);break;case"uint8array":f=this.data.subarray(this.index,w);break;case"array":case"nodebuffer":f=this.data.slice(this.index,w)}return this.index=w,this.push({data:f,meta:{percent:this.max?this.index/this.max*100:0}})},M.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(y,M,v){"use strict";function l(c){this.name=c||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}l.prototype={push:function(c){this.emit("data",c)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(c){this.emit("error",c)}return!0},error:function(c){return!this.isFinished&&(this.isPaused?this.generatedError=c:(this.isFinished=!0,this.emit("error",c),this.previous&&this.previous.error(c),this.cleanUp()),!0)},on:function(c,a){return this._listeners[c].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(c,a){if(this._listeners[c])for(var f=0;f "+c:c}},M.exports=l},{}],29:[function(y,M,v){"use strict";var l=y("../utils"),c=y("./ConvertWorker"),a=y("./GenericWorker"),f=y("../base64"),w=y("../support"),s=y("../external"),u=null;if(w.nodestream)try{u=y("../nodejs/NodejsStreamOutputAdapter")}catch(h){}function _(h,i){return new s.Promise(function(m,o){var b=[],O=h._internalType,I=h._outputType,S=h._mimeType;h.on("data",function(K,U){b.push(K),i&&i(U)}).on("error",function(K){b=[],o(K)}).on("end",function(){try{var K=function(U,X,N){switch(U){case"blob":return l.newBlob(l.transformTo("arraybuffer",X),N);case"base64":return f.encode(X);default:return l.transformTo(U,X)}}(I,function(U,X){var N,C=0,A=null,n=0;for(N=0;N>>6:(m<65536?i[O++]=224|m>>>12:(i[O++]=240|m>>>18,i[O++]=128|m>>>12&63),i[O++]=128|m>>>6&63),i[O++]=128|63&m);return i}(r)},v.utf8decode=function(r){return c.nodebuffer?l.transformTo("nodebuffer",r).toString("utf-8"):function(h){var i,m,o,b,O=h.length,I=new Array(2*O);for(i=m=0;i>10&1023,I[m++]=56320|1023&o)}return I.length!==m&&(I.subarray?I=I.subarray(0,m):I.length=m),l.applyFromCharCode(I)}(r=l.transformTo(c.uint8array?"uint8array":"array",r))},l.inherits(u,f),u.prototype.processChunk=function(r){var h=l.transformTo(c.uint8array?"uint8array":"array",r.data);if(this.leftOver&&this.leftOver.length){if(c.uint8array){var i=h;(h=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),h.set(i,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var m=function(b,O){var I;for((O=O||b.length)>b.length&&(O=b.length),I=O-1;0<=I&&(192&b[I])==128;)I--;return I<0||I===0?O:I+w[b[I]]>O?I:O}(h),o=h;m!==h.length&&(c.uint8array?(o=h.subarray(0,m),this.leftOver=h.subarray(m,h.length)):(o=h.slice(0,m),this.leftOver=h.slice(m,h.length))),this.push({data:v.utf8decode(o),meta:r.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:v.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},v.Utf8DecodeWorker=u,l.inherits(_,f),_.prototype.processChunk=function(r){this.push({data:v.utf8encode(r.data),meta:r.meta})},v.Utf8EncodeWorker=_},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(y,M,v){"use strict";var l=y("./support"),c=y("./base64"),a=y("./nodejsUtils"),f=y("./external");function w(i){return i}function s(i,m){for(var o=0;o>8;this.dir=!!(16&this.externalFileAttributes),r==0&&(this.dosPermissions=63&this.externalFileAttributes),r==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=l(this.extraFields[1].value);this.uncompressedSize===c.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===c.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===c.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===c.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4))}},readExtraFields:function(r){var h,i,m,o=r.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});r.index+4>>6:(r<65536?_[m++]=224|r>>>12:(_[m++]=240|r>>>18,_[m++]=128|r>>>12&63),_[m++]=128|r>>>6&63),_[m++]=128|63&r);return _},v.buf2binstring=function(u){return s(u,u.length)},v.binstring2buf=function(u){for(var _=new l.Buf8(u.length),r=0,h=_.length;r>10&1023,b[h++]=56320|1023&i)}return s(b,h)},v.utf8border=function(u,_){var r;for((_=_||u.length)>u.length&&(_=u.length),r=_-1;0<=r&&(192&u[r])==128;)r--;return r<0||r===0?_:r+f[u[r]]>_?r:_}},{"./common":41}],43:[function(y,M,v){"use strict";M.exports=function(l,c,a,f){for(var w=65535&l|0,s=l>>>16&65535|0,u=0;a!==0;){for(a-=u=2e3>>1:c>>>1;a[f]=c}return a}();M.exports=function(c,a,f,w){var s=l,u=w+f;c^=-1;for(var _=w;_>>8^s[255&(c^a[_])];return-1^c}},{}],46:[function(y,M,v){"use strict";var l,c=y("../utils/common"),a=y("./trees"),f=y("./adler32"),w=y("./crc32"),s=y("./messages"),u=0,_=4,r=0,h=-2,i=-1,m=4,o=2,b=8,O=9,I=286,S=30,K=19,U=2*I+1,X=15,N=3,C=258,A=C+N+1,n=42,E=113,t=1,P=2,J=3,W=4;function ut(e,H){return e.msg=s[H],H}function F(e){return(e<<1)-(4e.avail_out&&($=e.avail_out),$!==0&&(c.arraySet(e.output,H.pending_buf,H.pending_out,$,e.next_out),e.next_out+=$,H.pending_out+=$,e.total_out+=$,e.avail_out-=$,H.pending-=$,H.pending===0&&(H.pending_out=0))}function T(e,H){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,H),e.block_start=e.strstart,Z(e.strm)}function lt(e,H){e.pending_buf[e.pending++]=H}function et(e,H){e.pending_buf[e.pending++]=H>>>8&255,e.pending_buf[e.pending++]=255&H}function Y(e,H){var $,g,p=e.max_chain_length,j=e.strstart,G=e.prev_length,V=e.nice_match,R=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,Q=e.window,nt=e.w_mask,q=e.prev,ft=e.strstart+C,Zt=Q[j+G-1],ot=Q[j+G];e.prev_length>=e.good_match&&(p>>=2),V>e.lookahead&&(V=e.lookahead);do if(Q[($=H)+G]===ot&&Q[$+G-1]===Zt&&Q[$]===Q[j]&&Q[++$]===Q[j+1]){j+=2,$++;do;while(Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&jR&&--p!=0);return G<=e.lookahead?G:e.lookahead}function kt(e){var H,$,g,p,j,G,V,R,Q,nt,q=e.w_size;do{if(p=e.window_size-e.lookahead-e.strstart,e.strstart>=q+(q-A)){for(c.arraySet(e.window,e.window,q,q,0),e.match_start-=q,e.strstart-=q,e.block_start-=q,H=$=e.hash_size;g=e.head[--H],e.head[H]=q<=g?g-q:0,--$;);for(H=$=q;g=e.prev[--H],e.prev[H]=q<=g?g-q:0,--$;);p+=q}if(e.strm.avail_in===0)break;if(G=e.strm,V=e.window,R=e.strstart+e.lookahead,Q=p,nt=void 0,nt=G.avail_in,Q=N)for(j=e.strstart-e.insert,e.ins_h=e.window[j],e.ins_h=(e.ins_h<=N&&(e.ins_h=(e.ins_h<=N)if(g=a._tr_tally(e,e.strstart-e.match_start,e.match_length-N),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=N){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=N&&(e.ins_h=(e.ins_h<=N&&e.match_length<=e.prev_length){for(p=e.strstart+e.lookahead-N,g=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=p&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&($=e.pending_buf_size-5);;){if(e.lookahead<=1){if(kt(e),e.lookahead===0&&H===u)return t;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var g=e.block_start+$;if((e.strstart===0||e.strstart>=g)&&(e.lookahead=e.strstart-g,e.strstart=g,T(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-A&&(T(e,!1),e.strm.avail_out===0))return t}return e.insert=0,H===_?(T(e,!0),e.strm.avail_out===0?J:W):(e.strstart>e.block_start&&(T(e,!1),e.strm.avail_out),t)}),new Ot(4,4,8,4,Tt),new Ot(4,5,16,8,Tt),new Ot(4,6,32,32,Tt),new Ot(4,4,16,16,dt),new Ot(8,16,32,32,dt),new Ot(8,16,128,128,dt),new Ot(8,32,128,256,dt),new Ot(32,128,258,1024,dt),new Ot(32,258,258,4096,dt)],v.deflateInit=function(e,H){return Gt(e,H,b,15,8,0)},v.deflateInit2=Gt,v.deflateReset=Qt,v.deflateResetKeep=z,v.deflateSetHeader=function(e,H){return e&&e.state?e.state.wrap!==2?h:(e.state.gzhead=H,r):h},v.deflate=function(e,H){var $,g,p,j;if(!e||!e.state||5>8&255),lt(g,g.gzhead.time>>16&255),lt(g,g.gzhead.time>>24&255),lt(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),lt(g,255&g.gzhead.os),g.gzhead.extra&&g.gzhead.extra.length&&(lt(g,255&g.gzhead.extra.length),lt(g,g.gzhead.extra.length>>8&255)),g.gzhead.hcrc&&(e.adler=w(e.adler,g.pending_buf,g.pending,0)),g.gzindex=0,g.status=69):(lt(g,0),lt(g,0),lt(g,0),lt(g,0),lt(g,0),lt(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),lt(g,3),g.status=E);else{var G=b+(g.w_bits-8<<4)<<8;G|=(2<=g.strategy||g.level<2?0:g.level<6?1:g.level===6?2:3)<<6,g.strstart!==0&&(G|=32),G+=31-G%31,g.status=E,et(g,G),g.strstart!==0&&(et(g,e.adler>>>16),et(g,65535&e.adler)),e.adler=1}if(g.status===69)if(g.gzhead.extra){for(p=g.pending;g.gzindex<(65535&g.gzhead.extra.length)&&(g.pending!==g.pending_buf_size||(g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),Z(e),p=g.pending,g.pending!==g.pending_buf_size));)lt(g,255&g.gzhead.extra[g.gzindex]),g.gzindex++;g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),g.gzindex===g.gzhead.extra.length&&(g.gzindex=0,g.status=73)}else g.status=73;if(g.status===73)if(g.gzhead.name){p=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),Z(e),p=g.pending,g.pending===g.pending_buf_size)){j=1;break}j=g.gzindexp&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),j===0&&(g.gzindex=0,g.status=91)}else g.status=91;if(g.status===91)if(g.gzhead.comment){p=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),Z(e),p=g.pending,g.pending===g.pending_buf_size)){j=1;break}j=g.gzindexp&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),j===0&&(g.status=103)}else g.status=103;if(g.status===103&&(g.gzhead.hcrc?(g.pending+2>g.pending_buf_size&&Z(e),g.pending+2<=g.pending_buf_size&&(lt(g,255&e.adler),lt(g,e.adler>>8&255),e.adler=0,g.status=E)):g.status=E),g.pending!==0){if(Z(e),e.avail_out===0)return g.last_flush=-1,r}else if(e.avail_in===0&&F(H)<=F($)&&H!==_)return ut(e,-5);if(g.status===666&&e.avail_in!==0)return ut(e,-5);if(e.avail_in!==0||g.lookahead!==0||H!==u&&g.status!==666){var V=g.strategy===2?function(R,Q){for(var nt;;){if(R.lookahead===0&&(kt(R),R.lookahead===0)){if(Q===u)return t;break}if(R.match_length=0,nt=a._tr_tally(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++,nt&&(T(R,!1),R.strm.avail_out===0))return t}return R.insert=0,Q===_?(T(R,!0),R.strm.avail_out===0?J:W):R.last_lit&&(T(R,!1),R.strm.avail_out===0)?t:P}(g,H):g.strategy===3?function(R,Q){for(var nt,q,ft,Zt,ot=R.window;;){if(R.lookahead<=C){if(kt(R),R.lookahead<=C&&Q===u)return t;if(R.lookahead===0)break}if(R.match_length=0,R.lookahead>=N&&0R.lookahead&&(R.match_length=R.lookahead)}if(R.match_length>=N?(nt=a._tr_tally(R,1,R.match_length-N),R.lookahead-=R.match_length,R.strstart+=R.match_length,R.match_length=0):(nt=a._tr_tally(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++),nt&&(T(R,!1),R.strm.avail_out===0))return t}return R.insert=0,Q===_?(T(R,!0),R.strm.avail_out===0?J:W):R.last_lit&&(T(R,!1),R.strm.avail_out===0)?t:P}(g,H):l[g.level].func(g,H);if(V!==J&&V!==W||(g.status=666),V===t||V===J)return e.avail_out===0&&(g.last_flush=-1),r;if(V===P&&(H===1?a._tr_align(g):H!==5&&(a._tr_stored_block(g,0,0,!1),H===3&&(at(g.head),g.lookahead===0&&(g.strstart=0,g.block_start=0,g.insert=0))),Z(e),e.avail_out===0))return g.last_flush=-1,r}return H!==_?r:g.wrap<=0?1:(g.wrap===2?(lt(g,255&e.adler),lt(g,e.adler>>8&255),lt(g,e.adler>>16&255),lt(g,e.adler>>24&255),lt(g,255&e.total_in),lt(g,e.total_in>>8&255),lt(g,e.total_in>>16&255),lt(g,e.total_in>>24&255)):(et(g,e.adler>>>16),et(g,65535&e.adler)),Z(e),0=$.w_size&&(j===0&&(at($.head),$.strstart=0,$.block_start=0,$.insert=0),Q=new c.Buf8($.w_size),c.arraySet(Q,H,nt-$.w_size,$.w_size,0),H=Q,nt=$.w_size),G=e.avail_in,V=e.next_in,R=e.input,e.avail_in=nt,e.next_in=0,e.input=H,kt($);$.lookahead>=N;){for(g=$.strstart,p=$.lookahead-(N-1);$.ins_h=($.ins_h<<$.hash_shift^$.window[g+N-1])&$.hash_mask,$.prev[g&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=g,g++,--p;);$.strstart=g,$.lookahead=N-1,kt($)}return $.strstart+=$.lookahead,$.block_start=$.strstart,$.insert=$.lookahead,$.lookahead=0,$.match_length=$.prev_length=N-1,$.match_available=0,e.next_in=V,e.input=R,e.avail_in=G,$.wrap=j,r},v.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(y,M,v){"use strict";M.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(y,M,v){"use strict";M.exports=function(l,c){var a,f,w,s,u,_,r,h,i,m,o,b,O,I,S,K,U,X,N,C,A,n,E,t,P;a=l.state,f=l.next_in,t=l.input,w=f+(l.avail_in-5),s=l.next_out,P=l.output,u=s-(c-l.avail_out),_=s+(l.avail_out-257),r=a.dmax,h=a.wsize,i=a.whave,m=a.wnext,o=a.window,b=a.hold,O=a.bits,I=a.lencode,S=a.distcode,K=(1<>>=N=X>>>24,O-=N,(N=X>>>16&255)===0)P[s++]=65535&X;else{if(!(16&N)){if(!(64&N)){X=I[(65535&X)+(b&(1<>>=N,O-=N),O<15&&(b+=t[f++]<>>=N=X>>>24,O-=N,!(16&(N=X>>>16&255))){if(!(64&N)){X=S[(65535&X)+(b&(1<>>=N,O-=N,(N=s-u)>3,b&=(1<<(O-=C<<3))-1,l.next_in=f,l.next_out=s,l.avail_in=f>>24&255)+(n>>>8&65280)+((65280&n)<<8)+((255&n)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function O(n){var E;return n&&n.state?(E=n.state,n.total_in=n.total_out=E.total=0,n.msg="",E.wrap&&(n.adler=1&E.wrap),E.mode=h,E.last=0,E.havedict=0,E.dmax=32768,E.head=null,E.hold=0,E.bits=0,E.lencode=E.lendyn=new l.Buf32(i),E.distcode=E.distdyn=new l.Buf32(m),E.sane=1,E.back=-1,_):r}function I(n){var E;return n&&n.state?((E=n.state).wsize=0,E.whave=0,E.wnext=0,O(n)):r}function S(n,E){var t,P;return n&&n.state?(P=n.state,E<0?(t=0,E=-E):(t=1+(E>>4),E<48&&(E&=15)),E&&(E<8||15=W.wsize?(l.arraySet(W.window,E,t-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(P<(J=W.wsize-W.wnext)&&(J=P),l.arraySet(W.window,E,t-P,J,W.wnext),(P-=J)?(l.arraySet(W.window,E,t-P,P,0),W.wnext=P,W.whave=W.wsize):(W.wnext+=J,W.wnext===W.wsize&&(W.wnext=0),W.whave>>8&255,t.check=a(t.check,j,2,0),T=Z=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&Z)<<8)+(Z>>8))%31){n.msg="incorrect header check",t.mode=30;break}if((15&Z)!=8){n.msg="unknown compression method",t.mode=30;break}if(T-=4,e=8+(15&(Z>>>=4)),t.wbits===0)t.wbits=e;else if(e>t.wbits){n.msg="invalid window size",t.mode=30;break}t.dmax=1<>8&1),512&t.flags&&(j[0]=255&Z,j[1]=Z>>>8&255,t.check=a(t.check,j,2,0)),T=Z=0,t.mode=3;case 3:for(;T<32;){if(F===0)break t;F--,Z+=P[W++]<>>8&255,j[2]=Z>>>16&255,j[3]=Z>>>24&255,t.check=a(t.check,j,4,0)),T=Z=0,t.mode=4;case 4:for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<>8),512&t.flags&&(j[0]=255&Z,j[1]=Z>>>8&255,t.check=a(t.check,j,2,0)),T=Z=0,t.mode=5;case 5:if(1024&t.flags){for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<>>8&255,t.check=a(t.check,j,2,0)),T=Z=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(F<(Y=t.length)&&(Y=F),Y&&(t.head&&(e=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),l.arraySet(t.head.extra,P,W,Y,e)),512&t.flags&&(t.check=a(t.check,P,Y,W)),F-=Y,W+=Y,t.length-=Y),t.length))break t;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(F===0)break t;for(Y=0;e=P[W+Y++],t.head&&e&&t.length<65536&&(t.head.name+=String.fromCharCode(e)),e&&Y>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=12;break;case 10:for(;T<32;){if(F===0)break t;F--,Z+=P[W++]<>>=7&T,T-=7&T,t.mode=27;break}for(;T<3;){if(F===0)break t;F--,Z+=P[W++]<>>=1)){case 0:t.mode=14;break;case 1:if(C(t),t.mode=20,E!==6)break;Z>>>=2,T-=2;break t;case 2:t.mode=17;break;case 3:n.msg="invalid block type",t.mode=30}Z>>>=2,T-=2;break;case 14:for(Z>>>=7&T,T-=7&T;T<32;){if(F===0)break t;F--,Z+=P[W++]<>>16^65535)){n.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&Z,T=Z=0,t.mode=15,E===6)break t;case 15:t.mode=16;case 16:if(Y=t.length){if(F>>=5,T-=5,t.ndist=1+(31&Z),Z>>>=5,T-=5,t.ncode=4+(15&Z),Z>>>=4,T-=4,286>>=3,T-=3}for(;t.have<19;)t.lens[G[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,$={bits:t.lenbits},H=w(0,t.lens,0,19,t.lencode,0,t.work,$),t.lenbits=$.bits,H){n.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have>>16&255,Ft=65535&p,!((dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<>>=dt,T-=dt,t.lens[t.have++]=Ft;else{if(Ft===16){for(g=dt+2;T>>=dt,T-=dt,t.have===0){n.msg="invalid bit length repeat",t.mode=30;break}e=t.lens[t.have-1],Y=3+(3&Z),Z>>>=2,T-=2}else if(Ft===17){for(g=dt+3;T>>=dt)),Z>>>=3,T-=3}else{for(g=dt+7;T>>=dt)),Z>>>=7,T-=7}if(t.have+Y>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=30;break}for(;Y--;)t.lens[t.have++]=e}}if(t.mode===30)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,$={bits:t.lenbits},H=w(s,t.lens,0,t.nlen,t.lencode,0,t.work,$),t.lenbits=$.bits,H){n.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,$={bits:t.distbits},H=w(u,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,$),t.distbits=$.bits,H){n.msg="invalid distances set",t.mode=30;break}if(t.mode=20,E===6)break t;case 20:t.mode=21;case 21:if(6<=F&&258<=at){n.next_out=ut,n.avail_out=at,n.next_in=W,n.avail_in=F,t.hold=Z,t.bits=T,f(n,et),ut=n.next_out,J=n.output,at=n.avail_out,W=n.next_in,P=n.input,F=n.avail_in,Z=t.hold,T=t.bits,t.mode===12&&(t.back=-1);break}for(t.back=0;Ot=(p=t.lencode[Z&(1<>>16&255,Ft=65535&p,!((dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<>z)])>>>16&255,Ft=65535&p,!(z+(dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<>>=z,T-=z,t.back+=z}if(Z>>>=dt,T-=dt,t.back+=dt,t.length=Ft,Ot===0){t.mode=26;break}if(32&Ot){t.back=-1,t.mode=12;break}if(64&Ot){n.msg="invalid literal/length code",t.mode=30;break}t.extra=15&Ot,t.mode=22;case 22:if(t.extra){for(g=t.extra;T>>=t.extra,T-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;Ot=(p=t.distcode[Z&(1<>>16&255,Ft=65535&p,!((dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<>z)])>>>16&255,Ft=65535&p,!(z+(dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<>>=z,T-=z,t.back+=z}if(Z>>>=dt,T-=dt,t.back+=dt,64&Ot){n.msg="invalid distance code",t.mode=30;break}t.offset=Ft,t.extra=15&Ot,t.mode=24;case 24:if(t.extra){for(g=t.extra;T>>=t.extra,T-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(at===0)break t;if(Y=et-at,t.offset>Y){if((Y=t.offset-Y)>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=30;break}kt=Y>t.wnext?(Y-=t.wnext,t.wsize-Y):t.wnext-Y,Y>t.length&&(Y=t.length),Tt=t.window}else Tt=J,kt=ut-t.offset,Y=t.length;for(atU?(N=kt[Tt+m[E]],T[lt+m[E]]):(N=96,0),b=1<>ut)+(O-=b)]=X<<24|N<<16|C|0,O!==0;);for(b=1<>=1;if(b!==0?(Z&=b-1,Z+=b):Z=0,E++,--et[n]==0){if(n===P)break;n=u[_+m[E]]}if(J>>7)]}function lt(p,j){p.pending_buf[p.pending++]=255&j,p.pending_buf[p.pending++]=j>>>8&255}function et(p,j,G){p.bi_valid>o-G?(p.bi_buf|=j<>o-p.bi_valid,p.bi_valid+=G-o):(p.bi_buf|=j<>>=1,G<<=1,0<--j;);return G>>>1}function Tt(p,j,G){var V,R,Q=new Array(m+1),nt=0;for(V=1;V<=m;V++)Q[V]=nt=nt+G[V-1]<<1;for(R=0;R<=j;R++){var q=p[2*R+1];q!==0&&(p[2*R]=kt(Q[q]++,q))}}function dt(p){var j;for(j=0;j<_;j++)p.dyn_ltree[2*j]=0;for(j=0;j>1;1<=G;G--)z(p,Q,G);for(R=ft;G=p.heap[1],p.heap[1]=p.heap[p.heap_len--],z(p,Q,1),V=p.heap[1],p.heap[--p.heap_max]=G,p.heap[--p.heap_max]=V,Q[2*R]=Q[2*G]+Q[2*V],p.depth[R]=(p.depth[G]>=p.depth[V]?p.depth[G]:p.depth[V])+1,Q[2*G+1]=Q[2*V+1]=R,p.heap[1]=R++,z(p,Q,1),2<=p.heap_len;);p.heap[--p.heap_max]=p.heap[1],function(ot,Pt){var St,bt,It,gt,Ut,qt,Jt=Pt.dyn_tree,oe=Pt.max_code,ae=Pt.stat_desc.static_tree,pe=Pt.stat_desc.has_stree,de=Pt.stat_desc.extra_bits,he=Pt.stat_desc.extra_base,re=Pt.stat_desc.max_length,ie=0;for(gt=0;gt<=m;gt++)ot.bl_count[gt]=0;for(Jt[2*ot.heap[ot.heap_max]+1]=0,St=ot.heap_max+1;St>=7;R>>=1)if(1&Zt&&q.dyn_ltree[2*ft]!==0)return c;if(q.dyn_ltree[18]!==0||q.dyn_ltree[20]!==0||q.dyn_ltree[26]!==0)return a;for(ft=32;ft>>3,(Q=p.static_len+3+7>>>3)<=R&&(R=Q)):R=Q=G+5,G+4<=R&&j!==-1?g(p,j,G,V):p.strategy===4||Q===R?(et(p,2+(V?1:0),3),Qt(p,A,n)):(et(p,4+(V?1:0),3),function(q,ft,Zt,ot){var Pt;for(et(q,ft-257,5),et(q,Zt-1,5),et(q,ot-4,4),Pt=0;Pt>>8&255,p.pending_buf[p.d_buf+2*p.last_lit+1]=255&j,p.pending_buf[p.l_buf+p.last_lit]=255&G,p.last_lit++,j===0?p.dyn_ltree[2*G]++:(p.matches++,j--,p.dyn_ltree[2*(t[G]+u+1)]++,p.dyn_dtree[2*T(j)]++),p.last_lit===p.lit_bufsize-1},v._tr_align=function(p){et(p,2,3),Y(p,O,A),function(j){j.bi_valid===16?(lt(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)}(p)}},{"../utils/common":41}],53:[function(y,M,v){"use strict";M.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(y,M,v){(function(l){(function(c,a){"use strict";if(!c.setImmediate){var f,w,s,u,_=1,r={},h=!1,i=c.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(c);m=m&&m.setTimeout?m:c,f={}.toString.call(c.process)==="[object process]"?function(I){vt.nextTick(function(){b(I)})}:function(){if(c.postMessage&&!c.importScripts){var I=!0,S=c.onmessage;return c.onmessage=function(){I=!1},c.postMessage("","*"),c.onmessage=S,I}}()?(u="setImmediate$"+Math.random()+"$",c.addEventListener?c.addEventListener("message",O,!1):c.attachEvent("onmessage",O),function(I){c.postMessage(u+I,"*")}):c.MessageChannel?((s=new MessageChannel).port1.onmessage=function(I){b(I.data)},function(I){s.port2.postMessage(I)}):i&&"onreadystatechange"in i.createElement("script")?(w=i.documentElement,function(I){var S=i.createElement("script");S.onreadystatechange=function(){b(I),S.onreadystatechange=null,w.removeChild(S),S=null},w.appendChild(S)}):function(I){setTimeout(b,0,I)},m.setImmediate=function(I){typeof I!="function"&&(I=new Function(""+I));for(var S=new Array(arguments.length-1),K=0;K