(self.webpackChunk=self.webpackChunk||[]).push([[720],{64082:function(Ut,it,B){"use strict";B.d(it,{Z:function(){return a}});var ot=B(87462),gt=B(62435),b={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=b,v=B(84089),l=function(w,s){return gt.createElement(v.Z,(0,ot.Z)({},w,{ref:s,icon:F}))},c=gt.forwardRef(l),a=c},35351:function(Ut,it,B){"use strict";B.d(it,{vY:function(){return Ie}});var ot=B(74902),gt=B(74165),b=B(15861),F=B(45987),v=B(1413),l=B(97937),c=B(63606),a=B(86548),f=B(952),w=B(92767),s=B(62435),u=B(21687),_=B(93967),r=B.n(_),h=B(98423),i=B(53124),p=B(98675),o=B(92398),y=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 Z=0,D=Object.getOwnPropertySymbols(d);Z{var{prefixCls:x,className:k,hoverable:D=!0}=d,Z=y(d,["prefixCls","className","hoverable"]);const{getPrefixCls:tt}=s.useContext(i.E_),nt=tt("card",x),mt=r()(`${nt}-grid`,k,{[`${nt}-grid-hoverable`]:D});return s.createElement("div",Object.assign({},Z,{className:mt}))},S=B(54548),K=B(14747),U=B(92030),X=B(45503);const $=d=>{const{antCls:x,componentCls:k,headerHeight:D,cardPaddingBase:Z,tabsMarginBottom:tt}=d;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:D,marginBottom:-1,padding:`0 ${(0,S.bf)(Z)}`,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}`}}})},P=d=>{const{cardPaddingBase:x,colorBorderSecondary:k,cardShadow:D,lineWidth:Z}=d;return{width:"33.33%",padding:x,border:0,borderRadius:0,boxShadow:` ${(0,S.bf)(Z)} 0 0 0 ${k}, 0 ${(0,S.bf)(Z)} 0 0 ${k}, ${(0,S.bf)(Z)} ${(0,S.bf)(Z)} 0 0 ${k}, ${(0,S.bf)(Z)} 0 0 0 ${k} inset, 0 ${(0,S.bf)(Z)} 0 0 ${k} inset; `,transition:`all ${d.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:D}}},N=d=>{const{componentCls:x,iconCls:k,actionsLiMargin:D,cardActionsIconSize:Z,colorBorderSecondary:tt,actionsBg:nt}=d;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:nt,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:Z,lineHeight:(0,S.bf)(d.calc(Z).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}}),C=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)}`}}},e=d=>{const{componentCls:x}=d;return{overflow:"hidden",[`${x}-body`]:{userSelect:"none"}}},O=d=>{const{antCls:x,componentCls:k,cardShadow:D,cardHeadPadding:Z,colorBorderSecondary:tt,boxShadowTertiary:nt,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:nt},[`${k}-head`]:$(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`]:P(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`]:N(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:Z}}},[`${k}-type-inner`]:C(d),[`${k}-loading`]:e(d),[`${k}-rtl`]:{direction:"rtl"}}},Y=d=>{const{componentCls:x,cardPaddingSM:k,headerHeightSM:D,headerFontSizeSM:Z}=d;return{[`${x}-small`]:{[`> ${x}-head`]:{minHeight:D,padding:`0 ${(0,S.bf)(k)}`,fontSize:Z,[`> ${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 ht=(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[O(x),Y(x)]},W),L=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 Z=0,D=Object.getOwnPropertySymbols(d);Z{const{actionClasses:x,actions:k=[],actionStyle:D}=d;return s.createElement("ul",{className:x,style:D},k.map((Z,tt)=>{const nt=`action-${tt}`;return s.createElement("li",{style:{width:`${100/k.length}%`},key:nt},s.createElement("span",null,Z))}))};var I=s.forwardRef((d,x)=>{const{prefixCls:k,className:D,rootClassName:Z,style:tt,extra:nt,headStyle:mt={},bodyStyle:_t={},title:pt,loading:dt,bordered:Et=!0,size:Ft,type:jt,cover:Xt,actions:Rt,tabList:Mt,children:It,activeTabKey:yt,defaultActiveTabKey:zt,tabBarExtraContent:xt,hoverable:Bt,tabProps:Nt={},classNames:Vt,styles:$t}=d,kt=L(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:ft,direction:ee,card:Kt}=s.useContext(i.E_),re=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])},Ct=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(It,Yt=>{Yt&&Yt.type&&Yt.type===j&&(te=!0)}),te},[It]),Ht=ft("card",k),[le,de,ue]=ht(Ht),be=s.createElement(u.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},It),De=yt!==void 0,or=Object.assign(Object.assign({},Nt),{[De?"activeKey":"defaultActiveKey"]:De?yt:zt,tabBarExtraContent:xt});let ze;const fe=(0,p.Z)(Ft),lr=!fe||fe==="default"?"large":fe,Ae=Mt?s.createElement(o.Z,Object.assign({size:lr},or,{className:`${Ht}-head-tabs`,onChange:re,items:Mt.map(te=>{var{tab:Yt}=te,_e=L(te,["tab"]);return Object.assign({label:Yt},_e)})})):null;if(pt||nt||Ae){const te=r()(`${Ht}-head`,wt("header")),Yt=r()(`${Ht}-head-title`,wt("title")),_e=r()(`${Ht}-extra`,wt("extra")),br=Object.assign(Object.assign({},mt),Ct("header"));ze=s.createElement("div",{className:te,style:br},s.createElement("div",{className:`${Ht}-head-wrapper`},pt&&s.createElement("div",{className:Yt,style:Ct("title")},pt),nt&&s.createElement("div",{className:_e,style:Ct("extra")},nt)),Ae)}const dr=r()(`${Ht}-cover`,wt("cover")),cr=Xt?s.createElement("div",{className:dr,style:Ct("cover")},Xt):null,ur=r()(`${Ht}-body`,wt("body")),fr=Object.assign(Object.assign({},_t),Ct("body")),hr=s.createElement("div",{className:ur,style:fr},dt?be:It),mr=r()(`${Ht}-actions`,wt("actions")),pr=Rt&&Rt.length?s.createElement(at,{actionClasses:mr,actionStyle:Ct("actions"),actions:Rt}):null,vr=(0,h.Z)(kt,["onTabChange"]),gr=r()(Ht,Kt==null?void 0:Kt.className,{[`${Ht}-loading`]:dt,[`${Ht}-bordered`]:Et,[`${Ht}-hoverable`]:Bt,[`${Ht}-contain-grid`]:se,[`${Ht}-contain-tabs`]:Mt&&Mt.length,[`${Ht}-${fe}`]:fe,[`${Ht}-type-${jt}`]:!!jt,[`${Ht}-rtl`]:ee==="rtl"},D,Z,de,ue),yr=Object.assign(Object.assign({},Kt==null?void 0:Kt.style),tt);return le(s.createElement("div",Object.assign({ref:x},vr,{className:gr,style:yr}),ze,cr,hr,pr))}),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 Z=0,D=Object.getOwnPropertySymbols(d);Z{const{prefixCls:x,className:k,avatar:D,title:Z,description:tt}=d,nt=lt(d,["prefixCls","className","avatar","title","description"]),{getPrefixCls:mt}=s.useContext(i.E_),_t=mt("card",x),pt=r()(`${_t}-meta`,k),dt=D?s.createElement("div",{className:`${_t}-meta-avatar`},D):null,Et=Z?s.createElement("div",{className:`${_t}-meta-title`},Z):null,Ft=tt?s.createElement("div",{className:`${_t}-meta-description`},tt):null,jt=Et||Ft?s.createElement("div",{className:`${_t}-meta-detail`},Et,Ft):null;return s.createElement("div",Object.assign({},nt,{className:pt}),dt,jt)};const Dt=I;Dt.Grid=j,Dt.Meta=Q;var At=Dt,ct=B(25378),Pt=B(96074),Lt=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)(Pt.Z,{style:{margin:0}})})},Gt={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},t=function(x){var k=x.size,D=x.active,Z=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),tt=(0,ct.Z)()||Z,nt=Object.keys(tt).filter(function(pt){return tt[pt]===!0})[0]||"md",mt=k===void 0?Gt[nt]||6:k,_t=function(dt){return dt===0?0:mt>2?42:16};return(0,z.jsx)(At,{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,dt){return(0,z.jsxs)("div",{style:{borderInlineStart:mt>2&&dt===1?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:_t(dt),flex:1,marginInlineEnd:dt===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}})]},dt)})})})},H=function(x){var k=x.active;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(At,{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,{})]})},M=function(x){var k=x.size,D=x.active,Z=D===void 0?!0:D,tt=x.actionButton;return(0,z.jsxs)(At,{bordered:!1,styles:{body:{padding:0}},children:[new Array(k).fill(null).map(function(nt,mt){return(0,z.jsx)(H,{active:!!Z},mt)}),tt!==!1&&(0,z.jsx)(At,{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:Z,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"})]})},m=function(x){var k=x.active;return(0,z.jsx)(At,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},styles:{body:{paddingBlockEnd:8}},children:(0,z.jsxs)(Lt.Z,{style:{width:"100%",justifyContent:"space-between"},children:[(0,z.jsx)(u.Z.Button,{active:k,style:{width:200},size:"small"}),(0,z.jsxs)(Lt.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}})]})]})})},T=function(x){var k=x.active,D=k===void 0?!0:k,Z=x.statistic,tt=x.actionButton,nt=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}),Z!==!1&&(0,z.jsx)(t,{size:Z,active:D}),(nt!==!1||pt!==!1)&&(0,z.jsxs)(At,{bordered:!1,styles:{body:{padding:0}},children:[nt!==!1&&(0,z.jsx)(m,{active:D}),pt!==!1&&(0,z.jsx)(M,{size:pt,active:D,actionButton:tt})]})]})},G=T,V={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},A=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}}})]})})]})]})},J=function(x){var k=x.size,D=x.active,Z=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),tt=(0,ct.Z)()||Z,nt=Object.keys(tt).filter(function(_t){return tt[_t]===!0})[0]||"md",mt=k===void 0?V[nt]||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)})})},rt=function(x){var k=x.active,D=x.header,Z=D===void 0?!1:D,tt=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),nt=(0,ct.Z)()||tt,mt=Object.keys(nt).filter(function(pt){return nt[pt]===!0})[0]||"md",_t=V[mt]||3;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{style:{display:"flex",background:Z?"rgba(0,0,0,0.02)":"none",padding:"24px 8px"},children:[new Array(_t).fill(null).map(function(pt,dt){return(0,z.jsx)("div",{style:{flex:1,paddingInlineStart:Z&&dt===0?0:20,paddingInlineEnd:32},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:24,width:Z?"75px":"100%"}}})},dt)}),(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:Z?"75px":"100%"}}})})]}),(0,z.jsx)(Qt,{padding:"0px 0px"})]})},q=function(x){var k=x.active,D=x.size,Z=D===void 0?4:D;return(0,z.jsxs)(At,{bordered:!1,children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsx)(rt,{header:!0,active:k}),new Array(Z).fill(null).map(function(tt,nt){return(0,z.jsx)(rt,{active:k},nt)}),(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"}}})})]})},ut=function(x){var k=x.active;return(0,z.jsxs)(At,{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)(J,{active:k}),(0,z.jsx)(A,{active:k})]})},Zt=function(x){var k=x.active,D=k===void 0?!0:k,Z=x.pageHeader,tt=x.list;return(0,z.jsxs)("div",{style:{width:"100%"},children:[Z!==!1&&(0,z.jsx)(g,{active:D}),(0,z.jsx)(ut,{active:D}),tt!==!1&&(0,z.jsx)(Qt,{}),tt!==!1&&(0,z.jsx)(q,{active:D,size:tt})]})},st=Zt,Ot=function(x){var k=x.active,D=k===void 0?!0:k,Z=x.pageHeader;return(0,z.jsxs)("div",{style:{width:"100%"},children:[Z!==!1&&(0,z.jsx)(g,{active:D}),(0,z.jsx)(At,{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)(Lt.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=Ot,bt=["type"],Tt=function(x){var k=x.type,D=k===void 0?"list":k,Z=(0,F.Z)(x,bt);return D==="result"?(0,z.jsx)(St,(0,v.Z)({},Z)):D==="descriptions"?(0,z.jsx)(st,(0,v.Z)({},Z)):(0,z.jsx)(G,(0,v.Z)({},Z))},vt=Tt,Wt=B(2026),qt=B(90081),Jt=B(1977),oe=B(77398),ae=B(81736),pe=B(53914),ce=B(97685),he=B(89451),ne=B(68872),ie=B(21770),me=B(51544),Re=function(x){return(ne.ZP.warn||ne.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(It){var yt;d==null||(yt=d.onChange)===null||yt===void 0||yt.call(d,It,d.dataSource)}:void 0}),Z=(0,ce.Z)(D,2),tt=Z[0],nt=Z[1],mt=(0,s.useMemo)(function(){var It=x==="single"?tt==null?void 0:tt.slice(0,1):tt;return new Set(It)},[(tt||[]).join(","),x]),_t=(0,s.useCallback)(function(It){return!!(tt!=null&&tt.includes((0,me.sN)(It)))},[(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)),nt(Array.from(mt)),!0)},dt=function(yt){return mt.delete((0,me.sN)(yt)),nt(Array.from(mt)),!0},Et=function(){var It=(0,b.Z)((0,gt.Z)().mark(function yt(zt,xt,Bt,Nt){var Vt,$t;return(0,gt.Z)().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return ft.next=2,d==null||(Vt=d.onCancel)===null||Vt===void 0?void 0:Vt.call(d,zt,xt,Bt,Nt);case 2:if($t=ft.sent,$t!==!1){ft.next=5;break}return ft.abrupt("return",!1);case 5:return ft.abrupt("return",!0);case 6:case"end":return ft.stop()}},yt)}));return function(zt,xt,Bt,Nt){return It.apply(this,arguments)}}(),Ft=function(){var It=(0,b.Z)((0,gt.Z)().mark(function yt(zt,xt,Bt){var Nt,Vt,$t;return(0,gt.Z)().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return ft.next=2,d==null||(Nt=d.onSave)===null||Nt===void 0?void 0:Nt.call(d,zt,xt,Bt);case 2:if(Vt=ft.sent,Vt!==!1){ft.next=5;break}return ft.abrupt("return",!1);case 5:return ft.next=7,dt(zt);case 7:return $t={data:d.dataSource,row:xt,key:zt,childrenColumnName:d.childrenColumnName||"children"},d.setDataSource(Be($t)),ft.abrupt("return",!0);case 10:case"end":return ft.stop()}},yt)}));return function(zt,xt,Bt){return It.apply(this,arguments)}}(),jt=k.getMessage("editableTable.action.save","\u4FDD\u5B58"),Xt=k.getMessage("editableTable.action.delete","\u5220\u9664"),Rt=k.getMessage("editableTable.action.cancel","\u53D6\u6D88"),Mt=(0,s.useCallback)(function(It,yt){var zt=(0,v.Z)({recordKey:It,cancelEditable:dt,onCancel:Et,onSave:Ft,editableKeys:tt,setEditableRowKeys:nt,saveText:jt,cancelText:Rt,deleteText:Xt,deletePopconfirmMessage:"".concat(k.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?"),editorType:"Map"},yt),xt=(0,me.aX)(d.dataSource,zt);return d.actionRender?d.actionRender(d.dataSource,zt,{save:xt.save,delete:xt.delete,cancel:xt.cancel}):[xt.save,xt.delete,xt.cancel]},[tt&&tt.join(","),d.dataSource]);return{editableKeys:tt,setEditableRowKeys:nt,isEditable:_t,actionRender:Mt,startEditable:pt,cancelEditable:dt}}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({}),Ee=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 Z=0,D=Object.getOwnPropertySymbols(d);Z(0,Ee.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:nt}=tt,mt=Le(tt,["span"]);return Object.assign(Object.assign({},mt),{span:typeof nt=="number"?nt:(0,xe.m9)(d,nt)})}),[D,d])}function Ce(d,x,k){let D=d,Z=!1;return(k===void 0||k>x)&&(D=Object.assign(Object.assign({},d),{span:x}),Z=k!==void 0),[D,Z]}function Ue(d,x){const k=[];let D=[],Z=x,tt=!1;return d.filter(nt=>nt).forEach((nt,mt)=>{const _t=nt==null?void 0:nt.span,pt=_t||1;if(mt===d.length-1){const[dt,Et]=Ce(nt,Z,_t);tt=tt||Et,D.push(dt),k.push(D);return}if(pt{const[k,D]=(0,s.useMemo)(()=>Ue(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:Z,style:tt,labelStyle:nt,contentStyle:mt,bordered:_t,label:pt,content:dt,colon:Et,type:Ft}=d,jt=k;return _t?s.createElement(jt,{className:r()({[`${x}-item-label`]:Ft==="label",[`${x}-item-content`]:Ft==="content"},Z),style:tt,colSpan:D},Oe(pt)&&s.createElement("span",{style:nt},pt),Oe(dt)&&s.createElement("span",{style:mt},dt)):s.createElement(jt,{className:r()(`${x}-item`,Z),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`]:!Et}),style:nt},pt),(dt||dt===0)&&s.createElement("span",{className:r()(`${x}-item-content`),style:mt},dt)))};function ge(d,x,k){let{colon:D,prefixCls:Z,bordered:tt}=x,{component:nt,type:mt,showLabel:_t,showContent:pt,labelStyle:dt,contentStyle:Et}=k;return d.map((Ft,jt)=>{let{label:Xt,children:Rt,prefixCls:Mt=Z,className:It,style:yt,labelStyle:zt,contentStyle:xt,span:Bt=1,key:Nt}=Ft;return typeof nt=="string"?s.createElement(ve,{key:`${mt}-${Nt||jt}`,className:It,style:yt,labelStyle:Object.assign(Object.assign({},dt),zt),contentStyle:Object.assign(Object.assign({},Et),xt),span:Bt,colon:D,component:nt,itemPrefixCls:Mt,bordered:tt,label:_t?Xt:null,content:pt?Rt:null,type:mt}):[s.createElement(ve,{key:`label-${Nt||jt}`,className:It,style:Object.assign(Object.assign(Object.assign({},dt),yt),zt),span:1,colon:D,component:nt[0],itemPrefixCls:Mt,bordered:tt,label:Xt,type:"label"}),s.createElement(ve,{key:`content-${Nt||jt}`,className:It,style:Object.assign(Object.assign(Object.assign({},Et),yt),xt),span:Bt*2-1,component:nt[1],itemPrefixCls:Mt,bordered:tt,content:Rt,type:"content"})]})}var He=d=>{const x=s.useContext(Se),{prefixCls:k,vertical:D,row:Z,index:tt,bordered:nt}=d;return D?s.createElement(s.Fragment,null,s.createElement("tr",{key:`label-${tt}`,className:`${k}-row`},ge(Z,d,Object.assign({component:"th",type:"label",showLabel:!0},x))),s.createElement("tr",{key:`content-${tt}`,className:`${k}-row`},ge(Z,d,Object.assign({component:"td",type:"content",showContent:!0},x)))):s.createElement("tr",{key:tt,className:`${k}-row`},ge(Z,d,Object.assign({component:nt?["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:Z,colonMarginLeft:tt,titleMarginBottom:nt}=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:nt},[`${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)(Z)}`},[`&${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 Z=0,D=Object.getOwnPropertySymbols(d);Z{const{prefixCls:x,title:k,extra:D,column:Z,colon:tt=!0,bordered:nt,layout:mt,children:_t,className:pt,rootClassName:dt,style:Et,size:Ft,labelStyle:jt,contentStyle:Xt,items:Rt}=d,Mt=Je(d,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:It,direction:yt,descriptions:zt}=s.useContext(i.E_),xt=It("descriptions",x),Bt=(0,ct.Z)(),Nt=s.useMemo(()=>{var wt;return typeof Z=="number"?Z:(wt=(0,xe.m9)(Bt,Object.assign(Object.assign({},Me),Z)))!==null&&wt!==void 0?wt:3},[Bt,Z]),Vt=Ne(Bt,Rt,_t),$t=(0,p.Z)(Ft),kt=We(Nt,Vt),[ft,ee,Kt]=Ye(xt),re=s.useMemo(()=>({labelStyle:jt,contentStyle:Xt}),[jt,Xt]);return ft(s.createElement(Se.Provider,{value:re},s.createElement("div",Object.assign({className:r()(xt,zt==null?void 0:zt.className,{[`${xt}-${$t}`]:$t&&$t!=="default",[`${xt}-bordered`]:!!nt,[`${xt}-rtl`]:yt==="rtl"},pt,dt,ee,Kt),style:Object.assign(Object.assign({},zt==null?void 0:zt.style),Et)},Mt),(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,kt.map((wt,Ct)=>s.createElement(He,{key:Ct,index:Ct,colon:tt,prefixCls:xt,vertical:mt==="vertical",bordered:nt,row:wt}))))))))};ke.Item=Ke;var ye=ke,Qe=B(28459),qe=B(88306),tr=function(x,k){var D=k||{},Z=D.onRequestError,tt=D.effects,nt=D.manual,mt=D.dataSource,_t=D.defaultDataSource,pt=D.onDataSourceChange,dt=(0,ie.Z)(_t,{value:mt,onChange:pt}),Et=(0,ce.Z)(dt,2),Ft=Et[0],jt=Et[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,ce.Z)(Xt,2),Mt=Rt[0],It=Rt[1],yt=function(Bt){jt(Bt),It(!1)},zt=function(){var xt=(0,b.Z)((0,gt.Z)().mark(function Bt(){var Nt,Vt,$t;return(0,gt.Z)().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:if(!Mt){ft.next=2;break}return ft.abrupt("return");case 2:return It(!0),ft.prev=3,ft.next=6,x();case 6:if(ft.t0=ft.sent,ft.t0){ft.next=9;break}ft.t0={};case 9:Nt=ft.t0,Vt=Nt.data,$t=Nt.success,$t!==!1&&yt(Vt),ft.next=23;break;case 15:if(ft.prev=15,ft.t1=ft.catch(3),Z!==void 0){ft.next=21;break}throw new Error(ft.t1);case 21:Z(ft.t1);case 22:It(!1);case 23:return ft.prev=23,It(!1),ft.finish(23);case 26:case"end":return ft.stop()}},Bt,null,[[3,15,23,26]])}));return function(){return xt.apply(this,arguments)}}();return(0,s.useEffect)(function(){nt||zt()},[].concat((0,ot.Z)(tt||[]),[nt])),{dataSource:Ft,setDataSource:jt,loading:Mt,reload:function(){return zt()}}},er=tr,Pe=B(98082),rr=["valueEnum","render","renderText","mode","plain","dataIndex","request","params","editable"],nr=["request","columns","params","dataSource","onDataSourceChange","formProps","editable","loading","onLoadingChange","actionRef","onRequestError","emptyText","contentStyle"],ir=function(x,k){var D=x.dataIndex;if(D){var Z=Array.isArray(D)?(0,qe.Z)(k,D):k[D];if(Z!==void 0||Z!==null)return Z}return x.children},Te=function(x){var k,D=x.valueEnum,Z=x.action,tt=x.index,nt=x.text,mt=x.entity,_t=x.mode,pt=x.render,dt=x.editableUtils,Et=x.valueType,Ft=x.plain,jt=x.dataIndex,Xt=x.request,Rt=x.renderFormItem,Mt=x.params,It=x.emptyText,yt=f.ZP.useFormInstance(),zt=(k=Pe.Ow.useToken)===null||k===void 0?void 0:k.call(Pe.Ow),xt=zt.token,Bt={text:nt,valueEnum:D,mode:_t||"read",proFieldProps:{emptyText:It,render:pt?function($t){return pt==null?void 0:pt($t,mt,tt,Z,(0,v.Z)((0,v.Z)({},x),{},{type:"descriptions"}))}:void 0},ignoreFormItem:!0,valueType:Et,request:Xt,params:Mt,plain:Ft};if(_t==="read"||!_t||Et==="option"){var Nt=(0,Wt.w)(x.fieldProps,void 0,(0,v.Z)((0,v.Z)({},x),{},{rowKey:jt,isEditable:!1}));return(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({name:jt},Bt),{},{fieldProps:Nt}))}var Vt=function(){var kt,ft=(0,Wt.w)(x.formItemProps,yt,(0,v.Z)((0,v.Z)({},x),{},{rowKey:jt,isEditable:!0})),ee=(0,Wt.w)(x.fieldProps,yt,(0,v.Z)((0,v.Z)({},x),{},{rowKey:jt,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:jt},ft),{},{style:(0,v.Z)({margin:0},(ft==null?void 0:ft.style)||{}),initialValue:nt||(ft==null?void 0:ft.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:jt,record:yt.getFieldValue([jt].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:dt==null||(kt=dt.actionRender)===null||kt===void 0?void 0:kt.call(dt,jt||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()})},ar=function(x,k,D,Z,tt){var nt,mt=[],_t=(0,Jt.n)(we.Z,"5.8.0")>=0,pt=x==null||(nt=x.map)===null||nt===void 0?void 0:nt.call(x,function(dt,Et){var Ft,jt,Xt;if(s.isValidElement(dt))return _t?{children:dt}:dt;var Rt=dt,Mt=Rt.valueEnum,It=Rt.render,yt=Rt.renderText,zt=Rt.mode,xt=Rt.plain,Bt=Rt.dataIndex,Nt=Rt.request,Vt=Rt.params,$t=Rt.editable,kt=(0,F.Z)(Rt,rr),ft=(Ft=ir(dt,k))!==null&&Ft!==void 0?Ft:kt.children,ee=yt?yt(ft,k,Et,D):ft,Kt=typeof kt.title=="function"?kt.title(dt,"descriptions",null):kt.title,re=typeof kt.valueType=="function"?kt.valueType(k||{},"descriptions"):kt.valueType,wt=Z==null?void 0:Z.isEditable(Bt||Et),Ct=zt||wt?"edit":"read",se=Z&&Ct==="read"&&$t!==!1&&($t==null?void 0:$t(ee,k,Et))!==!1,Ht=se?Lt.Z:s.Fragment,le=Ct==="edit"?ee:(0,oe.X)(ee,dt,ee),de=_t&&re!=="option"?(0,v.Z)((0,v.Z)({},kt),{},{key:kt.key||((jt=kt.label)===null||jt===void 0?void 0:jt.toString())||Et,label:(Kt||kt.label||kt.tooltip)&&(0,z.jsx)(ae.G,{label:Kt||kt.label,tooltip:kt.tooltip,ellipsis:dt.ellipsis}),children:(0,z.jsxs)(Ht,{children:[(0,s.createElement)(Te,(0,v.Z)((0,v.Z)({},dt),{},{key:dt==null?void 0:dt.key,dataIndex:dt.dataIndex||Et,mode:Ct,text:le,valueType:re,entity:k,index:Et,emptyText:tt,action:D,editableUtils:Z})),se&&(0,z.jsx)(a.Z,{onClick:function(){Z==null||Z.startEditable(Bt||Et)}})]})}):(0,s.createElement)(ye.Item,(0,v.Z)((0,v.Z)({},kt),{},{key:kt.key||((Xt=kt.label)===null||Xt===void 0?void 0:Xt.toString())||Et,label:(Kt||kt.label||kt.tooltip)&&(0,z.jsx)(ae.G,{label:Kt||kt.label,tooltip:kt.tooltip,ellipsis:dt.ellipsis})}),(0,z.jsxs)(Ht,{children:[(0,z.jsx)(Te,(0,v.Z)((0,v.Z)({},dt),{},{dataIndex:dt.dataIndex||Et,mode:Ct,text:le,valueType:re,entity:k,index:Et,action:D,editableUtils:Z})),se&&re!=="option"&&(0,z.jsx)(a.Z,{onClick:function(){Z==null||Z.startEditable(Bt||Et)}})]}));return re==="option"?(mt.push(de),null):de}).filter(function(dt){return dt});return{options:mt!=null&&mt.length?mt:null,children:pt}},je=function(x){return(0,z.jsx)(ye.Item,(0,v.Z)((0,v.Z)({},x),{},{children:x.children}))};je.displayName="ProDescriptionsItem";var sr=function(x){return x.children},Ie=function(x){var k,D=x.request,Z=x.columns,tt=x.params,nt=x.dataSource,mt=x.onDataSourceChange,_t=x.formProps,pt=x.editable,dt=x.loading,Et=x.onLoadingChange,Ft=x.actionRef,jt=x.onRequestError,Xt=x.emptyText,Rt=x.contentStyle,Mt=(0,F.Z)(x,nr),It=(0,s.useContext)(Qe.ZP.ConfigContext),yt=er((0,b.Z)((0,gt.Z)().mark(function Kt(){var re;return(0,gt.Z)().wrap(function(Ct){for(;;)switch(Ct.prev=Ct.next){case 0:if(!D){Ct.next=6;break}return Ct.next=3,D(tt||{});case 3:Ct.t0=Ct.sent,Ct.next=7;break;case 6:Ct.t0={data:{}};case 7:return re=Ct.t0,Ct.abrupt("return",re);case 9:case"end":return Ct.stop()}},Kt)})),{onRequestError:jt,effects:[(0,pe.ZP)(tt)],manual:!D,dataSource:nt,loading:dt,onLoadingChange:Et,onDataSourceChange:mt}),zt=Ze((0,v.Z)((0,v.Z)({},x.editable),{},{childrenColumnName:void 0,dataSource:yt.dataSource,setDataSource:yt.setDataSource}));if((0,s.useEffect)(function(){Ft&&(Ft.current=(0,v.Z)({reload:yt.reload},zt))},[yt,Ft,zt]),yt.loading||yt.loading===void 0&&D)return(0,z.jsx)(vt,{type:"descriptions",list:!1,pageHeader:!1});var xt=function(){var re=(0,Ee.Z)(x.children).filter(Boolean).map(function(wt){if(!s.isValidElement(wt))return wt;var Ct=wt==null?void 0:wt.props,se=Ct.valueEnum,Ht=Ct.valueType,le=Ct.dataIndex,de=Ct.ellipsis,ue=Ct.copyable,be=Ct.request;return!Ht&&!se&&!le&&!be&&!de&&!ue&&wt.type.displayName!=="ProDescriptionsItem"?wt:(0,v.Z)((0,v.Z)({},wt==null?void 0:wt.props),{},{entity:nt})});return[].concat((0,ot.Z)(Z||[]),(0,ot.Z)(re)).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,Ct){return Ct.order||wt.order?(Ct.order||0)-(wt.order||0):(Ct.index||0)-(wt.index||0)})},Bt=ar(xt(),yt.dataSource||{},(Ft==null?void 0:Ft.current)||yt,pt?zt:void 0,x.emptyText),Nt=Bt.options,Vt=Bt.children,$t=pt?f.ZP:sr,kt=null;(Mt.title||Mt.tooltip||Mt.tip)&&(kt=(0,z.jsx)(ae.G,{label:Mt.title,tooltip:Mt.tooltip||Mt.tip}));var ft=It.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:ft},Mt),{},{contentStyle:(0,v.Z)({minWidth:0},Rt||{}),extra:Mt.extra?(0,z.jsxs)(Lt.Z,{children:[Nt,Mt.extra]}):Nt,title:kt,items:ee?Vt:void 0,children:ee?null:Vt}))}),"form")})};Ie.Item=je;var Or=null},8214:function(Ut,it,B){"use strict";var ot=B(1413),gt=B(45987),b=B(62435),F=B(66758),v=B(92767),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,gt.Z)(w,c),p=(0,b.useContext)(F.Z);return(0,l.jsx)(v.Z,(0,ot.Z)({valueType:"cascader",fieldProps:(0,ot.Z)({getPopupContainer:p.getPopupContainer},u),ref:s,request:_,params:r,filedConfig:{customLightMode:!0},proFieldProps:h},i))};it.Z=b.forwardRef(a)},31199:function(Ut,it,B){"use strict";var ot=B(1413),gt=B(45987),b=B(62435),F=B(92767),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,gt.Z)(w,l);return(0,v.jsx)(F.Z,(0,ot.Z)({valueType:"digit",fieldProps:(0,ot.Z)({min:_,max:h},u),ref:s,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:r},i))},a=b.forwardRef(c);it.Z=a},64317:function(Ut,it,B){"use strict";var ot=B(1413),gt=B(45987),b=B(22270),F=B(62435),v=B(66758),l=B(92767),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,p){var o=i.fieldProps,y=i.children,E=i.params,j=i.proFieldProps,S=i.mode,K=i.valueEnum,U=i.request,X=i.showSearch,$=i.options,P=(0,gt.Z)(i,a),N=(0,F.useContext)(v.Z);return(0,c.jsx)(l.Z,(0,ot.Z)((0,ot.Z)({valueEnum:(0,b.h)(K),request:U,params:E,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,ot.Z)({options:$,mode:S,showSearch:X,getPopupContainer:N.getPopupContainer},o),ref:p,proFieldProps:j},P),{},{children:y}))},s=F.forwardRef(function(h,i){var p=h.fieldProps,o=h.children,y=h.params,E=h.proFieldProps,j=h.mode,S=h.valueEnum,K=h.request,U=h.options,X=(0,gt.Z)(h,f),$=(0,ot.Z)({options:U,mode:j||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},p),P=(0,F.useContext)(v.Z);return(0,c.jsx)(l.Z,(0,ot.Z)((0,ot.Z)({valueEnum:(0,b.h)(S),request:K,params:y,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,ot.Z)({getPopupContainer:P.getPopupContainer},$),ref:i,proFieldProps:E},X),{},{children:o}))}),u=F.forwardRef(w),_=s,r=u;r.SearchSelect=_,r.displayName="ProFormComponent",it.Z=r},50727:function(Ut,it,B){"use strict";var ot=B(4942),gt=B(97685),b=B(45987),F=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),p=B(21770),o=B(88306),y=B(8880),E=B(62435),j=B(67211),S=B(86074),K=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],U=["record","position","creatorButtonText","newRecordType","parentKey","style"],X=E.createContext(void 0);function $(n){var C=n.children,e=n.record,O=n.position,Y=n.newRecordType,W=n.parentKey,ht=(0,E.useContext)(X);return E.cloneElement(C,(0,l.Z)((0,l.Z)({},C.props),{},{onClick:function(){var L=(0,v.Z)((0,F.Z)().mark(function R(I){var lt,et,Q,Dt;return(0,F.Z)().wrap(function(ct){for(;;)switch(ct.prev=ct.next){case 0:return ct.next=2,(lt=(et=C.props).onClick)===null||lt===void 0?void 0:lt.call(et,I);case 2:if(Dt=ct.sent,Dt!==!1){ct.next=5;break}return ct.abrupt("return");case 5:ht==null||(Q=ht.current)===null||Q===void 0||Q.addEditRecord(e,{position:O,newRecordType:Y,parentKey:W});case 6:case"end":return ct.stop()}},R)}));function at(R){return L.apply(this,arguments)}return at}()}))}function P(n){var C,e,O=(0,w.YB)(),Y=n.onTableChange,W=n.maxLength,ht=n.formItemProps,L=n.recordCreatorProps,at=n.rowKey,R=n.controlled,I=n.defaultValue,lt=n.onChange,et=n.editableFormRef,Q=(0,b.Z)(n,K),Dt=(0,E.useRef)(void 0),At=(0,E.useRef)(),ct=(0,E.useRef)();(0,E.useImperativeHandle)(Q.actionRef,function(){return At.current},[At.current]);var Pt=(0,p.Z)(function(){return n.value||I||[]},{value:n.value,onChange:n.onChange}),Lt=(0,gt.Z)(Pt,2),z=Lt[0],Qt=Lt[1],Gt=E.useMemo(function(){return typeof at=="function"?at:function(st,Ot){return st[at]||Ot}},[at]),t=(0,s.J)(function(st){if(typeof st=="number"&&!n.name){if(st>=z.length)return st;var Ot=z&&z[st];return Gt==null?void 0:Gt(Ot,st)}if((typeof st=="string"||st>=z.length)&&n.name){var St=z.findIndex(function(bt,Tt){var vt;return(Gt==null||(vt=Gt(bt,Tt))===null||vt===void 0?void 0:vt.toString())===(st==null?void 0:st.toString())});if(St!==-1)return St}return st});(0,E.useImperativeHandle)(et,function(){var st=function(bt){var Tt,vt;if(bt==null)throw new Error("rowIndex is required");var Wt=t(bt),qt=[n.name,(Tt=Wt==null?void 0:Wt.toString())!==null&&Tt!==void 0?Tt:""].flat(1).filter(Boolean);return(vt=ct.current)===null||vt===void 0?void 0:vt.getFieldValue(qt)},Ot=function(){var bt,Tt=[n.name].flat(1).filter(Boolean);if(Array.isArray(Tt)&&Tt.length===0){var vt,Wt=(vt=ct.current)===null||vt===void 0?void 0:vt.getFieldsValue();return Array.isArray(Wt)?Wt:Object.keys(Wt).map(function(qt){return Wt[qt]})}return(bt=ct.current)===null||bt===void 0?void 0:bt.getFieldValue(Tt)};return(0,l.Z)((0,l.Z)({},ct.current),{},{getRowData:st,getRowsData:Ot,setRowData:function(bt,Tt){var vt,Wt;if(bt==null)throw new Error("rowIndex is required");var qt=t(bt),Jt=[n.name,(vt=qt==null?void 0:qt.toString())!==null&&vt!==void 0?vt:""].flat(1).filter(Boolean),oe=Object.assign({},(0,l.Z)((0,l.Z)({},st(bt)),Tt||{})),ae=(0,y.Z)({},Jt,oe);return(Wt=ct.current)===null||Wt===void 0||Wt.setFieldsValue(ae),!0}})},[t,n.name,ct.current]),(0,E.useEffect)(function(){n.controlled&&(z||[]).forEach(function(st,Ot){var St;(St=ct.current)===null||St===void 0||St.setFieldsValue((0,ot.Z)({},"".concat(Gt(st,Ot)),st))},{})},[(0,u.ZP)(z),n.controlled]),(0,E.useEffect)(function(){if(n.name){var st;ct.current=n==null||(st=n.editable)===null||st===void 0?void 0:st.form}},[(C=n.editable)===null||C===void 0?void 0:C.form,n.name]);var H=L||{},M=H.record,g=H.position,m=H.creatorButtonText,T=H.newRecordType,G=H.parentKey,V=H.style,A=(0,b.Z)(H,U),J=g==="top",rt=(0,E.useMemo)(function(){return typeof W=="number"&&W<=(z==null?void 0:z.length)?!1:L!==!1&&(0,S.jsx)($,{record:(0,_.h)(M,z==null?void 0:z.length,z)||{},position:g,parentKey:(0,_.h)(G,z==null?void 0:z.length,z),newRecordType:T,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,{})},A),{},{children:m||O.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[L,W,z==null?void 0:z.length]),q=(0,E.useMemo)(function(){return rt?J?{components:{header:{wrapper:function(Ot){var St,bt=Ot.className,Tt=Ot.children;return(0,S.jsxs)("thead",{className:bt,children:[Tt,(0,S.jsxs)("tr",{style:{position:"relative"},children:[(0,S.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:rt}),(0,S.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(St=Q.columns)===null||St===void 0?void 0:St.length,children:rt})]})]})}}}}:{tableViewRender:function(Ot,St){var bt,Tt;return(0,S.jsxs)(S.Fragment,{children:[(bt=(Tt=n.tableViewRender)===null||Tt===void 0?void 0:Tt.call(n,Ot,St))!==null&&bt!==void 0?bt:St,rt]})}}:{}},[J,rt]),ut=(0,l.Z)({},n.editable),Zt=(0,s.J)(function(st,Ot){var St,bt,Tt;if((St=n.editable)===null||St===void 0||(bt=St.onValuesChange)===null||bt===void 0||bt.call(St,st,Ot),(Tt=n.onValuesChange)===null||Tt===void 0||Tt.call(n,Ot,st),n.controlled){var vt;n==null||(vt=n.onChange)===null||vt===void 0||vt.call(n,Ot)}});return(n!=null&&n.onValuesChange||(e=n.editable)!==null&&e!==void 0&&e.onValuesChange||n.controlled&&n!==null&&n!==void 0&&n.onChange)&&(ut.onValuesChange=Zt),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(X.Provider,{value:At,children:(0,S.jsx)(j.Z,(0,l.Z)((0,l.Z)((0,l.Z)({search:!1,options:!1,pagination:!1,rowKey:at,revalidateOnFocus:!1},Q),q),{},{tableLayout:"fixed",actionRef:At,onChange:Y,editable:(0,l.Z)((0,l.Z)({},ut),{},{formProps:(0,l.Z)({formRef:ct},ut.formProps)}),dataSource:z,onDataSourceChange:function(Ot){if(Qt(Ot),n.name&&g==="top"){var St,bt=(0,y.Z)({},[n.name].flat(1).filter(Boolean),Ot);(St=ct.current)===null||St===void 0||St.setFieldsValue(bt)}}}))}),n.name?(0,S.jsx)(a.Z,{name:[n.name],children:function(Ot){var St,bt;if(!Dt.current)return Dt.current=z,null;var Tt=(0,o.Z)(Ot,[n.name].flat(1)),vt=Tt==null?void 0:Tt.find(function(Wt,qt){var Jt;return!(0,r.A)(Wt,(Jt=Dt.current)===null||Jt===void 0?void 0:Jt[qt])});return Dt.current=z,vt&&(n==null||(St=n.editable)===null||St===void 0||(bt=St.onValuesChange)===null||bt===void 0||bt.call(St,vt,Tt)),null}}):null]})}function N(n){var C=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(O,Y){var W=[n.name].flat(1);try{return JSON.stringify((0,o.Z)(O,W))!==JSON.stringify((0,o.Z)(Y,W))}catch(ht){return!0}},children:(0,S.jsx)(P,(0,l.Z)((0,l.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n),{},{editable:(0,l.Z)((0,l.Z)({},n.editable),{},{form:C})}))})):(0,S.jsx)(P,(0,l.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n))}N.RecordCreator=$,it.Z=N},93702:function(Ut,it,B){"use strict";B.r(it),B.d(it,{__assign:function(){return v},__asyncDelegator:function(){return E},__asyncGenerator:function(){return y},__asyncValues:function(){return j},__await:function(){return o},__awaiter:function(){return w},__classPrivateFieldGet:function(){return X},__classPrivateFieldSet:function(){return $},__createBinding:function(){return u},__decorate:function(){return c},__exportStar:function(){return _},__extends:function(){return F},__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 p},__values:function(){return r}});var ot=B(52677),gt=B.n(ot);var b=function(N,n){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,e){C.__proto__=e}||function(C,e){for(var O in e)e.hasOwnProperty(O)&&(C[O]=e[O])},b(N,n)};function F(P,N){b(P,N);function n(){this.constructor=P}P.prototype=N===null?Object.create(N):(n.prototype=N.prototype,new n)}var v=function(){return v=Object.assign||function(n){for(var C,e=1,O=arguments.length;e=0;W--)(Y=P[W])&&(O=(e<3?Y(O):e>3?Y(N,n,O):Y(N,n))||O);return e>3&&O&&Object.defineProperty(N,n,O),O}function a(P,N){return function(n,C){N(n,C,P)}}function f(P,N){if((typeof Reflect=="undefined"?"undefined":gt()(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(P,N)}function w(P,N,n,C){function e(O){return O instanceof n?O:new n(function(Y){Y(O)})}return new(n||(n=Promise))(function(O,Y){function W(at){try{L(C.next(at))}catch(R){Y(R)}}function ht(at){try{L(C.throw(at))}catch(R){Y(R)}}function L(at){at.done?O(at.value):e(at.value).then(W,ht)}L((C=C.apply(P,N||[])).next())})}function s(P,N){var n={label:0,sent:function(){if(O[0]&1)throw O[1];return O[1]},trys:[],ops:[]},C,e,O,Y;return Y={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(Y[Symbol.iterator]=function(){return this}),Y;function W(L){return function(at){return ht([L,at])}}function ht(L){if(C)throw new TypeError("Generator is already executing.");for(;n;)try{if(C=1,e&&(O=L[0]&2?e.return:L[0]?e.throw||((O=e.return)&&O.call(e),0):e.next)&&!(O=O.call(e,L[1])).done)return O;switch(e=0,O&&(L=[L[0]&2,O.value]),L[0]){case 0:case 1:O=L;break;case 4:return n.label++,{value:L[1],done:!1};case 5:n.label++,e=L[1],L=[0];continue;case 7:L=n.ops.pop(),n.trys.pop();continue;default:if(O=n.trys,!(O=O.length>0&&O[O.length-1])&&(L[0]===6||L[0]===2)){n=0;continue}if(L[0]===3&&(!O||L[1]>O[0]&&L[1]=P.length&&(P=void 0),{value:P&&P[C++],done:!P}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(P,N){var n=typeof Symbol=="function"&&P[Symbol.iterator];if(!n)return P;var C=n.call(P),e,O=[],Y;try{for(;(N===void 0||N-- >0)&&!(e=C.next()).done;)O.push(e.value)}catch(W){Y={error:W}}finally{try{e&&!e.done&&(n=C.return)&&n.call(C)}finally{if(Y)throw Y.error}}return O}function i(){for(var P=[],N=0;N1||W(I,lt)})})}function W(I,lt){try{ht(C[I](lt))}catch(et){R(O[0][3],et)}}function ht(I){I.value instanceof o?Promise.resolve(I.value.v).then(L,at):R(O[0][2],I)}function L(I){W("next",I)}function at(I){W("throw",I)}function R(I,lt){I(lt),O.shift(),O.length&&W(O[0][0],O[0][1])}}function E(P){var N,n;return N={},C("next"),C("throw",function(e){throw e}),C("return"),N[Symbol.iterator]=function(){return this},N;function C(e,O){N[e]=P[e]?function(Y){return(n=!n)?{value:o(P[e](Y)),done:e==="return"}:O?O(Y):Y}:O}}function j(P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=P[Symbol.asyncIterator],n;return N?N.call(P):(P=typeof r=="function"?r(P):P[Symbol.iterator](),n={},C("next"),C("throw"),C("return"),n[Symbol.asyncIterator]=function(){return this},n);function C(O){n[O]=P[O]&&function(Y){return new Promise(function(W,ht){Y=P[O](Y),e(W,ht,Y.done,Y.value)})}}function e(O,Y,W,ht){Promise.resolve(ht).then(function(L){O({value:L,done:W})},Y)}}function S(P,N){return Object.defineProperty?Object.defineProperty(P,"raw",{value:N}):P.raw=N,P}function K(P){if(P&&P.__esModule)return P;var N={};if(P!=null)for(var n in P)Object.hasOwnProperty.call(P,n)&&(N[n]=P[n]);return N.default=P,N}function U(P){return P&&P.__esModule?P:{default:P}}function X(P,N){if(!N.has(P))throw new TypeError("attempted to get private field on non-instance");return N.get(P)}function $(P,N,n){if(!N.has(P))throw new TypeError("attempted to set private field on non-instance");return N.set(P,n),n}},23087:function(Ut,it,B){"use strict";var ot=B(34155);Object.defineProperty(it,"__esModule",{value:!0});var gt=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},b=typeof window!="undefined"&&typeof window.document!="undefined",F=(typeof self=="undefined"?"undefined":gt(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",v=typeof ot!="undefined"&&ot.versions!=null&&ot.versions.node!=null,l=function(){return typeof window!="undefined"&&window.name==="nodejs"||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")};it.isBrowser=b,it.isWebWorker=F,it.isNode=v,it.isJsDom=l},93162:function(Ut,it,B){var ot,gt,b;(function(F,v){gt=[],ot=v,b=typeof ot=="function"?ot.apply(it,gt):ot,b!==void 0&&(Ut.exports=b)})(this,function(){"use strict";function F(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(F(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,p=/CriOS\/[\d]+/.test(navigator.userAgent);if((p||h&&i||f)&&typeof FileReader!="undefined"){var o=new FileReader;o.onloadend=function(){var j=o.result;j=p?j:j.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=j:location=j,r=null},o.readAsDataURL(s)}else{var y=a.URL||a.webkitURL,E=y.createObjectURL(s);r?r.location=E:location.href=E,r=null,setTimeout(function(){y.revokeObjectURL(E)},4e4)}});a.saveAs=w.saveAs=w,Ut.exports=w})},88130:function(Ut,it){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.contentTypesXml=void 0,it.contentTypesXml=` `},6603:function(Ut,it){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.documentXmlRels=void 0,it.documentXmlRels=` `},29186:function(Ut,it,B){"use strict";Object.defineProperty(it,"__esModule",{value:!0});var ot=B(93702);ot.__exportStar(B(88130),it),ot.__exportStar(B(6603),it),ot.__exportStar(B(33857),it)},33857:function(Ut,it){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.relsXml=void 0,it.relsXml=` `},97088:function(Ut,it,B){"use strict";var ot;ot={value:!0},it.m=void 0;var gt=B(93702),b=B(68547),F=B(13797);function v(l,c){return c===void 0&&(c={}),gt.__awaiter(this,void 0,void 0,function(){var a;return gt.__generator(this,function(f){switch(f.label){case 0:return a=new F,b.addFiles(a,l,c),[4,b.generateDocument(a)];case 1:return[2,f.sent()]}})})}it.m=v},68547:function(Ut,it,B){"use strict";var ot=B(48764).lW;Object.defineProperty(it,"__esModule",{value:!0}),it.addFiles=it.generateDocument=void 0;var gt=B(93702),b=B(14913),F=B(29186),v=B(17237),l=B(23087),c={orientation:"portrait",margins:{}};function a(_,r){return gt.__assign(gt.__assign({},_),r)}function f(_){return gt.__awaiter(this,void 0,void 0,function(){var r;return gt.__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 ot(new Uint8Array(r))]}})})}it.generateDocument=f;function w(_){return l.isBrowser?new Blob([_]):new ot(_,"utf-8")}function s(_){var r=_.orientation,h=_.margins,i=a(v.defaultMargins,h),p=0,o=0;return r==="landscape"?(o=12240,p=15840):(p=12240,o=15840),v.documentTemplate(p,o,r,i)}function u(_,r,h){var i=a(c,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",s(i),{createFolders:!1}).file("afchunk.mht",b.getMHTdocument(r),{createFolders:!1}).folder("_rels").file("document.xml.rels",w(F.documentXmlRels),{createFolders:!1})}it.addFiles=u},36077:function(Ut,it){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.documentTemplate=it.defaultMargins=void 0,it.defaultMargins={top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0},it.documentTemplate=function(B,ot,gt,b){return` `}},17237:function(Ut,it,B){"use strict";Object.defineProperty(it,"__esModule",{value:!0});var ot=B(93702);ot.__exportStar(B(36077),it),ot.__exportStar(B(93832),it),ot.__exportStar(B(567),it)},93832:function(Ut,it){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.mhtDocumentTemplate=void 0,it.mhtDocumentTemplate=function(B,ot){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+` `+ot+` ------=mhtDocumentPart-- `}},567:function(Ut,it){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.mhtPartTemplate=void 0,it.mhtPartTemplate=function(B,ot,gt,b){return`------=mhtDocumentPart Content-Type: `+B+` Content-Transfer-Encoding: `+ot+` Content-Location: `+gt+` `+b+` `}},14913:function(Ut,it,B){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.getMHTdocument=void 0;var ot=B(17237);function gt(F){var v=b(F),l=v.imageContentParts.join(` `);return F=v.htmlSource.replace(/\=/g,"=3D"),ot.mhtDocumentTemplate(F,l)}it.getMHTdocument=gt;function b(F){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(ot.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++))),y[p++]=w,r!==64&&(y[p++]=s),h!==64&&(y[p++]=u);return y}},{"./support":30,"./utils":32}],2:[function(b,F,v){"use strict";var l=b("./external"),c=b("./stream/DataWorker"),a=b("./stream/Crc32Probe"),f=b("./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)},F.exports=w},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,F,v){"use strict";var l=b("./stream/GenericWorker");v.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},v.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,F,v){"use strict";var l=b("./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}();F.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(b,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(b,F,v){"use strict";var l=null;l=typeof Promise!="undefined"?Promise:b("lie"),F.exports={Promise:l}},{lie:37}],7:[function(b,F,v){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",c=b("pako"),a=b("./utils"),f=b("./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(b,F,v){"use strict";function l(r,h){var i,p="";for(i=0;i>>=8;return p}function c(r,h,i,p,o,y){var E,j,S=r.file,K=r.compression,U=y!==w.utf8encode,X=a.transformTo("string",y(S.name)),$=a.transformTo("string",w.utf8encode(S.name)),P=S.comment,N=a.transformTo("string",y(P)),n=a.transformTo("string",w.utf8encode(P)),C=$.length!==S.name.length,e=n.length!==P.length,O="",Y="",W="",ht=S.dir,L=S.date,at={crc32:0,compressedSize:0,uncompressedSize:0};h&&!i||(at.crc32=r.crc32,at.compressedSize=r.compressedSize,at.uncompressedSize=r.uncompressedSize);var R=0;h&&(R|=8),U||!C&&!e||(R|=2048);var I=0,lt=0;ht&&(I|=16),o==="UNIX"?(lt=798,I|=function(Q,Dt){var At=Q;return Q||(At=Dt?16893:33204),(65535&At)<<16}(S.unixPermissions,ht)):(lt=20,I|=function(Q){return 63&(Q||0)}(S.dosPermissions)),E=L.getUTCHours(),E<<=6,E|=L.getUTCMinutes(),E<<=5,E|=L.getUTCSeconds()/2,j=L.getUTCFullYear()-1980,j<<=4,j|=L.getUTCMonth()+1,j<<=5,j|=L.getUTCDate(),C&&(Y=l(1,1)+l(s(X),4)+$,O+="up"+l(Y.length,2)+Y),e&&(W=l(1,1)+l(s(N),4)+n,O+="uc"+l(W.length,2)+W);var et="";return et+=` \0`,et+=l(R,2),et+=K.magic,et+=l(E,2),et+=l(j,2),et+=l(at.crc32,4),et+=l(at.compressedSize,4),et+=l(at.uncompressedSize,4),et+=l(X.length,2),et+=l(O.length,2),{fileRecord:u.LOCAL_FILE_HEADER+et+X+O,dirRecord:u.CENTRAL_FILE_HEADER+l(lt,2)+et+l(N.length,2)+"\0\0\0\0"+l(I,4)+l(p,4)+X+O+N}}var a=b("../utils"),f=b("../stream/GenericWorker"),w=b("../utf8"),s=b("../crc32"),u=b("../signature");function _(r,h,i,p){f.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=i,this.encodeFileName=p,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,p=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-p-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(p){return u.DATA_DESCRIPTOR+l(p.crc32,4)+l(p.compressedSize,4)+l(p.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))}},F.exports=c},{"../utils":32}],19:[function(b,F,v){"use strict";var l=b("./Uint8ArrayReader");function c(a){l.call(this,a)}b("../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},F.exports=c},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,F,v){"use strict";var l=b("./DataReader");function c(a){l.call(this,a)}b("../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},F.exports=c},{"../utils":32,"./DataReader":18}],21:[function(b,F,v){"use strict";var l=b("./ArrayReader");function c(a){l.call(this,a)}b("../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},F.exports=c},{"../utils":32,"./ArrayReader":17}],22:[function(b,F,v){"use strict";var l=b("../utils"),c=b("../support"),a=b("./ArrayReader"),f=b("./StringReader"),w=b("./NodeBufferReader"),s=b("./Uint8ArrayReader");F.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(b,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(b,F,v){"use strict";var l=b("./GenericWorker"),c=b("../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})},F.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(b,F,v){"use strict";var l=b("./GenericWorker"),c=b("../crc32");function a(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(a,l),a.prototype.processChunk=function(f){this.streamInfo.crc32=c(f.data,this.streamInfo.crc32||0),this.push(f)},F.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,F,v){"use strict";var l=b("../utils"),c=b("./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)},F.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(b,F,v){"use strict";var l=b("../utils"),c=b("./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}})},F.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(b,F,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}},F.exports=l},{}],29:[function(b,F,v){"use strict";var l=b("../utils"),c=b("./ConvertWorker"),a=b("./GenericWorker"),f=b("../base64"),w=b("../support"),s=b("../external"),u=null;if(w.nodestream)try{u=b("../nodejs/NodejsStreamOutputAdapter")}catch(h){}function _(h,i){return new s.Promise(function(p,o){var y=[],E=h._internalType,j=h._outputType,S=h._mimeType;h.on("data",function(K,U){y.push(K),i&&i(U)}).on("error",function(K){y=[],o(K)}).on("end",function(){try{var K=function(U,X,$){switch(U){case"blob":return l.newBlob(l.transformTo("arraybuffer",X),$);case"base64":return f.encode(X);default:return l.transformTo(U,X)}}(j,function(U,X){var $,P=0,N=null,n=0;for($=0;$>>6:(p<65536?i[E++]=224|p>>>12:(i[E++]=240|p>>>18,i[E++]=128|p>>>12&63),i[E++]=128|p>>>6&63),i[E++]=128|63&p);return i}(r)},v.utf8decode=function(r){return c.nodebuffer?l.transformTo("nodebuffer",r).toString("utf-8"):function(h){var i,p,o,y,E=h.length,j=new Array(2*E);for(i=p=0;i>10&1023,j[p++]=56320|1023&o)}return j.length!==p&&(j.subarray?j=j.subarray(0,p):j.length=p),l.applyFromCharCode(j)}(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 p=function(y,E){var j;for((E=E||y.length)>y.length&&(E=y.length),j=E-1;0<=j&&(192&y[j])==128;)j--;return j<0||j===0?E:j+w[y[j]]>E?j:E}(h),o=h;p!==h.length&&(c.uint8array?(o=h.subarray(0,p),this.leftOver=h.subarray(p,h.length)):(o=h.slice(0,p),this.leftOver=h.slice(p,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(b,F,v){"use strict";var l=b("./support"),c=b("./base64"),a=b("./nodejsUtils"),f=b("./external");function w(i){return i}function s(i,p){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,p,o=r.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});r.index+4>>6:(r<65536?_[p++]=224|r>>>12:(_[p++]=240|r>>>18,_[p++]=128|r>>>12&63),_[p++]=128|r>>>6&63),_[p++]=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,y[h++]=56320|1023&i)}return s(y,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(b,F,v){"use strict";F.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}();F.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(b,F,v){"use strict";var l,c=b("../utils/common"),a=b("./trees"),f=b("./adler32"),w=b("./crc32"),s=b("./messages"),u=0,_=4,r=0,h=-2,i=-1,p=4,o=2,y=8,E=9,j=286,S=30,K=19,U=2*j+1,X=15,$=3,P=258,N=P+$+1,n=42,C=113,e=1,O=2,Y=3,W=4;function ht(t,H){return t.msg=s[H],H}function L(t){return(t<<1)-(4t.avail_out&&(M=t.avail_out),M!==0&&(c.arraySet(t.output,H.pending_buf,H.pending_out,M,t.next_out),t.next_out+=M,H.pending_out+=M,t.total_out+=M,t.avail_out-=M,H.pending-=M,H.pending===0&&(H.pending_out=0))}function I(t,H){a._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,H),t.block_start=t.strstart,R(t.strm)}function lt(t,H){t.pending_buf[t.pending++]=H}function et(t,H){t.pending_buf[t.pending++]=H>>>8&255,t.pending_buf[t.pending++]=255&H}function Q(t,H){var M,g,m=t.max_chain_length,T=t.strstart,G=t.prev_length,V=t.nice_match,A=t.strstart>t.w_size-N?t.strstart-(t.w_size-N):0,J=t.window,rt=t.w_mask,q=t.prev,ut=t.strstart+P,Zt=J[T+G-1],st=J[T+G];t.prev_length>=t.good_match&&(m>>=2),V>t.lookahead&&(V=t.lookahead);do if(J[(M=H)+G]===st&&J[M+G-1]===Zt&&J[M]===J[T]&&J[++M]===J[T+1]){T+=2,M++;do;while(J[++T]===J[++M]&&J[++T]===J[++M]&&J[++T]===J[++M]&&J[++T]===J[++M]&&J[++T]===J[++M]&&J[++T]===J[++M]&&J[++T]===J[++M]&&J[++T]===J[++M]&&TA&&--m!=0);return G<=t.lookahead?G:t.lookahead}function Dt(t){var H,M,g,m,T,G,V,A,J,rt,q=t.w_size;do{if(m=t.window_size-t.lookahead-t.strstart,t.strstart>=q+(q-N)){for(c.arraySet(t.window,t.window,q,q,0),t.match_start-=q,t.strstart-=q,t.block_start-=q,H=M=t.hash_size;g=t.head[--H],t.head[H]=q<=g?g-q:0,--M;);for(H=M=q;g=t.prev[--H],t.prev[H]=q<=g?g-q:0,--M;);m+=q}if(t.strm.avail_in===0)break;if(G=t.strm,V=t.window,A=t.strstart+t.lookahead,J=m,rt=void 0,rt=G.avail_in,J=$)for(T=t.strstart-t.insert,t.ins_h=t.window[T],t.ins_h=(t.ins_h<=$&&(t.ins_h=(t.ins_h<=$)if(g=a._tr_tally(t,t.strstart-t.match_start,t.match_length-$),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=$){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=$&&(t.ins_h=(t.ins_h<=$&&t.match_length<=t.prev_length){for(m=t.strstart+t.lookahead-$,g=a._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-$),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=m&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(M=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Dt(t),t.lookahead===0&&H===u)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var g=t.block_start+M;if((t.strstart===0||t.strstart>=g)&&(t.lookahead=t.strstart-g,t.strstart=g,I(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-N&&(I(t,!1),t.strm.avail_out===0))return e}return t.insert=0,H===_?(I(t,!0),t.strm.avail_out===0?Y:W):(t.strstart>t.block_start&&(I(t,!1),t.strm.avail_out),e)}),new Pt(4,4,8,4,At),new Pt(4,5,16,8,At),new Pt(4,6,32,32,At),new Pt(4,4,16,16,ct),new Pt(8,16,32,32,ct),new Pt(8,16,128,128,ct),new Pt(8,32,128,256,ct),new Pt(32,128,258,1024,ct),new Pt(32,258,258,4096,ct)],v.deflateInit=function(t,H){return Gt(t,H,y,15,8,0)},v.deflateInit2=Gt,v.deflateReset=Qt,v.deflateResetKeep=z,v.deflateSetHeader=function(t,H){return t&&t.state?t.state.wrap!==2?h:(t.state.gzhead=H,r):h},v.deflate=function(t,H){var M,g,m,T;if(!t||!t.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&&(t.adler=w(t.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=C);else{var G=y+(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=C,et(g,G),g.strstart!==0&&(et(g,t.adler>>>16),et(g,65535&t.adler)),t.adler=1}if(g.status===69)if(g.gzhead.extra){for(m=g.pending;g.gzindex<(65535&g.gzhead.extra.length)&&(g.pending!==g.pending_buf_size||(g.gzhead.hcrc&&g.pending>m&&(t.adler=w(t.adler,g.pending_buf,g.pending-m,m)),R(t),m=g.pending,g.pending!==g.pending_buf_size));)lt(g,255&g.gzhead.extra[g.gzindex]),g.gzindex++;g.gzhead.hcrc&&g.pending>m&&(t.adler=w(t.adler,g.pending_buf,g.pending-m,m)),g.gzindex===g.gzhead.extra.length&&(g.gzindex=0,g.status=73)}else g.status=73;if(g.status===73)if(g.gzhead.name){m=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>m&&(t.adler=w(t.adler,g.pending_buf,g.pending-m,m)),R(t),m=g.pending,g.pending===g.pending_buf_size)){T=1;break}T=g.gzindexm&&(t.adler=w(t.adler,g.pending_buf,g.pending-m,m)),T===0&&(g.gzindex=0,g.status=91)}else g.status=91;if(g.status===91)if(g.gzhead.comment){m=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>m&&(t.adler=w(t.adler,g.pending_buf,g.pending-m,m)),R(t),m=g.pending,g.pending===g.pending_buf_size)){T=1;break}T=g.gzindexm&&(t.adler=w(t.adler,g.pending_buf,g.pending-m,m)),T===0&&(g.status=103)}else g.status=103;if(g.status===103&&(g.gzhead.hcrc?(g.pending+2>g.pending_buf_size&&R(t),g.pending+2<=g.pending_buf_size&&(lt(g,255&t.adler),lt(g,t.adler>>8&255),t.adler=0,g.status=C)):g.status=C),g.pending!==0){if(R(t),t.avail_out===0)return g.last_flush=-1,r}else if(t.avail_in===0&&L(H)<=L(M)&&H!==_)return ht(t,-5);if(g.status===666&&t.avail_in!==0)return ht(t,-5);if(t.avail_in!==0||g.lookahead!==0||H!==u&&g.status!==666){var V=g.strategy===2?function(A,J){for(var rt;;){if(A.lookahead===0&&(Dt(A),A.lookahead===0)){if(J===u)return e;break}if(A.match_length=0,rt=a._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,rt&&(I(A,!1),A.strm.avail_out===0))return e}return A.insert=0,J===_?(I(A,!0),A.strm.avail_out===0?Y:W):A.last_lit&&(I(A,!1),A.strm.avail_out===0)?e:O}(g,H):g.strategy===3?function(A,J){for(var rt,q,ut,Zt,st=A.window;;){if(A.lookahead<=P){if(Dt(A),A.lookahead<=P&&J===u)return e;if(A.lookahead===0)break}if(A.match_length=0,A.lookahead>=$&&0A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=$?(rt=a._tr_tally(A,1,A.match_length-$),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(rt=a._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),rt&&(I(A,!1),A.strm.avail_out===0))return e}return A.insert=0,J===_?(I(A,!0),A.strm.avail_out===0?Y:W):A.last_lit&&(I(A,!1),A.strm.avail_out===0)?e:O}(g,H):l[g.level].func(g,H);if(V!==Y&&V!==W||(g.status=666),V===e||V===Y)return t.avail_out===0&&(g.last_flush=-1),r;if(V===O&&(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))),R(t),t.avail_out===0))return g.last_flush=-1,r}return H!==_?r:g.wrap<=0?1:(g.wrap===2?(lt(g,255&t.adler),lt(g,t.adler>>8&255),lt(g,t.adler>>16&255),lt(g,t.adler>>24&255),lt(g,255&t.total_in),lt(g,t.total_in>>8&255),lt(g,t.total_in>>16&255),lt(g,t.total_in>>24&255)):(et(g,t.adler>>>16),et(g,65535&t.adler)),R(t),0=M.w_size&&(T===0&&(at(M.head),M.strstart=0,M.block_start=0,M.insert=0),J=new c.Buf8(M.w_size),c.arraySet(J,H,rt-M.w_size,M.w_size,0),H=J,rt=M.w_size),G=t.avail_in,V=t.next_in,A=t.input,t.avail_in=rt,t.next_in=0,t.input=H,Dt(M);M.lookahead>=$;){for(g=M.strstart,m=M.lookahead-($-1);M.ins_h=(M.ins_h<>>=$=X>>>24,E-=$,($=X>>>16&255)===0)O[s++]=65535&X;else{if(!(16&$)){if(!(64&$)){X=j[(65535&X)+(y&(1<<$)-1)];continue e}if(32&$){a.mode=12;break t}l.msg="invalid literal/length code",a.mode=30;break t}P=65535&X,($&=15)&&(E<$&&(y+=e[f++]<>>=$,E-=$),E<15&&(y+=e[f++]<>>=$=X>>>24,E-=$,!(16&($=X>>>16&255))){if(!(64&$)){X=S[(65535&X)+(y&(1<<$)-1)];continue r}l.msg="invalid distance code",a.mode=30;break t}if(N=65535&X,E<($&=15)&&(y+=e[f++]<>>=$,E-=$,($=s-u)>3,y&=(1<<(E-=P<<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 y(){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 E(n){var C;return n&&n.state?(C=n.state,n.total_in=n.total_out=C.total=0,n.msg="",C.wrap&&(n.adler=1&C.wrap),C.mode=h,C.last=0,C.havedict=0,C.dmax=32768,C.head=null,C.hold=0,C.bits=0,C.lencode=C.lendyn=new l.Buf32(i),C.distcode=C.distdyn=new l.Buf32(p),C.sane=1,C.back=-1,_):r}function j(n){var C;return n&&n.state?((C=n.state).wsize=0,C.whave=0,C.wnext=0,E(n)):r}function S(n,C){var e,O;return n&&n.state?(O=n.state,C<0?(e=0,C=-C):(e=1+(C>>4),C<48&&(C&=15)),C&&(C<8||15=W.wsize?(l.arraySet(W.window,C,e-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(O<(Y=W.wsize-W.wnext)&&(Y=O),l.arraySet(W.window,C,e-O,Y,W.wnext),(O-=Y)?(l.arraySet(W.window,C,e-O,O,0),W.wnext=O,W.whave=W.wsize):(W.wnext+=Y,W.wnext===W.wsize&&(W.wnext=0),W.whave>>8&255,e.check=a(e.check,T,2,0),I=R=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&R)<<8)+(R>>8))%31){n.msg="incorrect header check",e.mode=30;break}if((15&R)!=8){n.msg="unknown compression method",e.mode=30;break}if(I-=4,t=8+(15&(R>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){n.msg="invalid window size",e.mode=30;break}e.dmax=1<>8&1),512&e.flags&&(T[0]=255&R,T[1]=R>>>8&255,e.check=a(e.check,T,2,0)),I=R=0,e.mode=3;case 3:for(;I<32;){if(L===0)break t;L--,R+=O[W++]<>>8&255,T[2]=R>>>16&255,T[3]=R>>>24&255,e.check=a(e.check,T,4,0)),I=R=0,e.mode=4;case 4:for(;I<16;){if(L===0)break t;L--,R+=O[W++]<>8),512&e.flags&&(T[0]=255&R,T[1]=R>>>8&255,e.check=a(e.check,T,2,0)),I=R=0,e.mode=5;case 5:if(1024&e.flags){for(;I<16;){if(L===0)break t;L--,R+=O[W++]<>>8&255,e.check=a(e.check,T,2,0)),I=R=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(L<(Q=e.length)&&(Q=L),Q&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),l.arraySet(e.head.extra,O,W,Q,t)),512&e.flags&&(e.check=a(e.check,O,Q,W)),L-=Q,W+=Q,e.length-=Q),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(L===0)break t;for(Q=0;t=O[W+Q++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&Q>9&1,e.head.done=!0),n.adler=e.check=0,e.mode=12;break;case 10:for(;I<32;){if(L===0)break t;L--,R+=O[W++]<>>=7&I,I-=7&I,e.mode=27;break}for(;I<3;){if(L===0)break t;L--,R+=O[W++]<>>=1)){case 0:e.mode=14;break;case 1:if(P(e),e.mode=20,C!==6)break;R>>>=2,I-=2;break t;case 2:e.mode=17;break;case 3:n.msg="invalid block type",e.mode=30}R>>>=2,I-=2;break;case 14:for(R>>>=7&I,I-=7&I;I<32;){if(L===0)break t;L--,R+=O[W++]<>>16^65535)){n.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&R,I=R=0,e.mode=15,C===6)break t;case 15:e.mode=16;case 16:if(Q=e.length){if(L>>=5,I-=5,e.ndist=1+(31&R),R>>>=5,I-=5,e.ncode=4+(15&R),R>>>=4,I-=4,286>>=3,I-=3}for(;e.have<19;)e.lens[G[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,M={bits:e.lenbits},H=w(0,e.lens,0,19,e.lencode,0,e.work,M),e.lenbits=M.bits,H){n.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have>>16&255,Lt=65535&m,!((ct=m>>>24)<=I);){if(L===0)break t;L--,R+=O[W++]<>>=ct,I-=ct,e.lens[e.have++]=Lt;else{if(Lt===16){for(g=ct+2;I>>=ct,I-=ct,e.have===0){n.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],Q=3+(3&R),R>>>=2,I-=2}else if(Lt===17){for(g=ct+3;I>>=ct)),R>>>=3,I-=3}else{for(g=ct+7;I>>=ct)),R>>>=7,I-=7}if(e.have+Q>e.nlen+e.ndist){n.msg="invalid bit length repeat",e.mode=30;break}for(;Q--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){n.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,M={bits:e.lenbits},H=w(s,e.lens,0,e.nlen,e.lencode,0,e.work,M),e.lenbits=M.bits,H){n.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,M={bits:e.distbits},H=w(u,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,M),e.distbits=M.bits,H){n.msg="invalid distances set",e.mode=30;break}if(e.mode=20,C===6)break t;case 20:e.mode=21;case 21:if(6<=L&&258<=at){n.next_out=ht,n.avail_out=at,n.next_in=W,n.avail_in=L,e.hold=R,e.bits=I,f(n,et),ht=n.next_out,Y=n.output,at=n.avail_out,W=n.next_in,O=n.input,L=n.avail_in,R=e.hold,I=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;Pt=(m=e.lencode[R&(1<>>16&255,Lt=65535&m,!((ct=m>>>24)<=I);){if(L===0)break t;L--,R+=O[W++]<>z)])>>>16&255,Lt=65535&m,!(z+(ct=m>>>24)<=I);){if(L===0)break t;L--,R+=O[W++]<>>=z,I-=z,e.back+=z}if(R>>>=ct,I-=ct,e.back+=ct,e.length=Lt,Pt===0){e.mode=26;break}if(32&Pt){e.back=-1,e.mode=12;break}if(64&Pt){n.msg="invalid literal/length code",e.mode=30;break}e.extra=15&Pt,e.mode=22;case 22:if(e.extra){for(g=e.extra;I>>=e.extra,I-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;Pt=(m=e.distcode[R&(1<>>16&255,Lt=65535&m,!((ct=m>>>24)<=I);){if(L===0)break t;L--,R+=O[W++]<>z)])>>>16&255,Lt=65535&m,!(z+(ct=m>>>24)<=I);){if(L===0)break t;L--,R+=O[W++]<>>=z,I-=z,e.back+=z}if(R>>>=ct,I-=ct,e.back+=ct,64&Pt){n.msg="invalid distance code",e.mode=30;break}e.offset=Lt,e.extra=15&Pt,e.mode=24;case 24:if(e.extra){for(g=e.extra;I>>=e.extra,I-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){n.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(at===0)break t;if(Q=et-at,e.offset>Q){if((Q=e.offset-Q)>e.whave&&e.sane){n.msg="invalid distance too far back",e.mode=30;break}Dt=Q>e.wnext?(Q-=e.wnext,e.wsize-Q):e.wnext-Q,Q>e.length&&(Q=e.length),At=e.window}else At=Y,Dt=ht-e.offset,Q=e.length;for(atU?($=Dt[At+p[C]],I[lt+p[C]]):($=96,0),y=1<>ht)+(E-=y)]=X<<24|$<<16|P|0,E!==0;);for(y=1<>=1;if(y!==0?(R&=y-1,R+=y):R=0,C++,--et[n]==0){if(n===O)break;n=u[_+p[C]]}if(Y>>7)]}function lt(m,T){m.pending_buf[m.pending++]=255&T,m.pending_buf[m.pending++]=T>>>8&255}function et(m,T,G){m.bi_valid>o-G?(m.bi_buf|=T<>o-m.bi_valid,m.bi_valid+=G-o):(m.bi_buf|=T<>>=1,G<<=1,0<--T;);return G>>>1}function At(m,T,G){var V,A,J=new Array(p+1),rt=0;for(V=1;V<=p;V++)J[V]=rt=rt+G[V-1]<<1;for(A=0;A<=T;A++){var q=m[2*A+1];q!==0&&(m[2*A]=Dt(J[q]++,q))}}function ct(m){var T;for(T=0;T<_;T++)m.dyn_ltree[2*T]=0;for(T=0;T>1;1<=G;G--)z(m,J,G);for(A=ut;G=m.heap[1],m.heap[1]=m.heap[m.heap_len--],z(m,J,1),V=m.heap[1],m.heap[--m.heap_max]=G,m.heap[--m.heap_max]=V,J[2*A]=J[2*G]+J[2*V],m.depth[A]=(m.depth[G]>=m.depth[V]?m.depth[G]:m.depth[V])+1,J[2*G+1]=J[2*V+1]=A,m.heap[1]=A++,z(m,J,1),2<=m.heap_len;);m.heap[--m.heap_max]=m.heap[1],function(st,Ot){var St,bt,Tt,vt,Wt,qt,Jt=Ot.dyn_tree,oe=Ot.max_code,ae=Ot.stat_desc.static_tree,pe=Ot.stat_desc.has_stree,ce=Ot.stat_desc.extra_bits,he=Ot.stat_desc.extra_base,ne=Ot.stat_desc.max_length,ie=0;for(vt=0;vt<=p;vt++)st.bl_count[vt]=0;for(Jt[2*st.heap[st.heap_max]+1]=0,St=st.heap_max+1;St>=7;A>>=1)if(1&Zt&&q.dyn_ltree[2*ut]!==0)return c;if(q.dyn_ltree[18]!==0||q.dyn_ltree[20]!==0||q.dyn_ltree[26]!==0)return a;for(ut=32;ut>>3,(J=m.static_len+3+7>>>3)<=A&&(A=J)):A=J=G+5,G+4<=A&&T!==-1?g(m,T,G,V):m.strategy===4||J===A?(et(m,2+(V?1:0),3),Qt(m,N,n)):(et(m,4+(V?1:0),3),function(q,ut,Zt,st){var Ot;for(et(q,ut-257,5),et(q,Zt-1,5),et(q,st-4,4),Ot=0;Ot>>8&255,m.pending_buf[m.d_buf+2*m.last_lit+1]=255&T,m.pending_buf[m.l_buf+m.last_lit]=255&G,m.last_lit++,T===0?m.dyn_ltree[2*G]++:(m.matches++,T--,m.dyn_ltree[2*(e[G]+u+1)]++,m.dyn_dtree[2*I(T)]++),m.last_lit===m.lit_bufsize-1},v._tr_align=function(m){et(m,2,3),Q(m,E,N),function(T){T.bi_valid===16?(lt(T,T.bi_buf),T.bi_buf=0,T.bi_valid=0):8<=T.bi_valid&&(T.pending_buf[T.pending++]=255&T.bi_buf,T.bi_buf>>=8,T.bi_valid-=8)}(m)}},{"../utils/common":41}],53:[function(b,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(b,F,v){(function(l){(function(c,a){"use strict";if(!c.setImmediate){var f,w,s,u,_=1,r={},h=!1,i=c.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(c);p=p&&p.setTimeout?p:c,f={}.toString.call(c.process)==="[object process]"?function(j){gt.nextTick(function(){y(j)})}:function(){if(c.postMessage&&!c.importScripts){var j=!0,S=c.onmessage;return c.onmessage=function(){j=!1},c.postMessage("","*"),c.onmessage=S,j}}()?(u="setImmediate$"+Math.random()+"$",c.addEventListener?c.addEventListener("message",E,!1):c.attachEvent("onmessage",E),function(j){c.postMessage(u+j,"*")}):c.MessageChannel?((s=new MessageChannel).port1.onmessage=function(j){y(j.data)},function(j){s.port2.postMessage(j)}):i&&"onreadystatechange"in i.createElement("script")?(w=i.documentElement,function(j){var S=i.createElement("script");S.onreadystatechange=function(){y(j),S.onreadystatechange=null,w.removeChild(S),S=null},w.appendChild(S)}):function(j){setTimeout(y,0,j)},p.setImmediate=function(j){typeof j!="function"&&(j=new Function(""+j));for(var S=new Array(arguments.length-1),K=0;K