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