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