You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186.3e7bbfe5.async.js 161KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. (self.webpackChunk=self.webpackChunk||[]).push([[186],{64082:function(Nt,rt,B){"use strict";B.d(rt,{Z:function(){return a}});var st=B(87462),vt=B(62435),y={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},M=y,v=B(84089),l=function(w,s){return vt.createElement(v.Z,(0,st.Z)({},w,{ref:s,icon:M}))},c=vt.forwardRef(l),a=c},35351:function(Nt,rt,B){"use strict";B.d(rt,{vY:function(){return Ie}});var st=B(74902),vt=B(74165),y=B(15861),M=B(45987),v=B(1413),l=B(97937),c=B(63606),a=B(86548),f=B(952),w=B(16764),s=B(62435),u=B(21687),_=B(93967),r=B.n(_),h=B(98423),i=B(53124),m=B(98675),o=B(92398),b=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L<D.length;L++)x.indexOf(D[L])<0&&Object.prototype.propertyIsEnumerable.call(d,D[L])&&(k[D[L]]=d[D[L]]);return k},I=d=>{var{prefixCls:x,className:k,hoverable:D=!0}=d,L=b(d,["prefixCls","className","hoverable"]);const{getPrefixCls:tt}=s.useContext(i.E_),it=tt("card",x),mt=r()(`${it}-grid`,k,{[`${it}-grid-hoverable`]:D});return s.createElement("div",Object.assign({},L,{className:mt}))},S=B(54548),K=B(14747),U=B(92030),X=B(45503);const N=d=>{const{antCls:x,componentCls:k,headerHeight:D,cardPaddingBase:L,tabsMarginBottom:tt}=d;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:D,marginBottom:-1,padding:`0 ${(0,S.bf)(L)}`,color:d.colorTextHeading,fontWeight:d.fontWeightStrong,fontSize:d.headerFontSize,background:d.headerBg,borderBottom:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorBorderSecondary}`,borderRadius:`${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)} 0 0`},(0,K.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},K.vS),{[`
  2. > ${k}-typography,
  3. > ${k}-typography-edit-content
  4. `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${x}-tabs-top`]:{clear:"both",marginBottom:tt,color:d.colorText,fontWeight:"normal",fontSize:d.fontSize,"&-bar":{borderBottom:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorBorderSecondary}`}}})},C=d=>{const{cardPaddingBase:x,colorBorderSecondary:k,cardShadow:D,lineWidth:L}=d;return{width:"33.33%",padding:x,border:0,borderRadius:0,boxShadow:`
  5. ${(0,S.bf)(L)} 0 0 0 ${k},
  6. 0 ${(0,S.bf)(L)} 0 0 ${k},
  7. ${(0,S.bf)(L)} ${(0,S.bf)(L)} 0 0 ${k},
  8. ${(0,S.bf)(L)} 0 0 0 ${k} inset,
  9. 0 ${(0,S.bf)(L)} 0 0 ${k} inset;
  10. `,transition:`all ${d.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:D}}},A=d=>{const{componentCls:x,iconCls:k,actionsLiMargin:D,cardActionsIconSize:L,colorBorderSecondary:tt,actionsBg:it}=d;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:it,borderTop:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${tt}`,display:"flex",borderRadius:`0 0 ${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)}`},(0,K.dF)()),{"& > li":{margin:D,color:d.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:d.calc(d.cardActionsIconSize).mul(2).equal(),fontSize:d.fontSize,lineHeight:d.lineHeight,cursor:"pointer","&:hover":{color:d.colorPrimary,transition:`color ${d.motionDurationMid}`},[`a:not(${x}-btn), > ${k}`]:{display:"inline-block",width:"100%",color:d.colorTextDescription,lineHeight:(0,S.bf)(d.fontHeight),transition:`color ${d.motionDurationMid}`,"&:hover":{color:d.colorPrimary}},[`> ${k}`]:{fontSize:L,lineHeight:(0,S.bf)(d.calc(L).mul(d.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${tt}`}}})},n=d=>Object.assign(Object.assign({margin:`${(0,S.bf)(d.calc(d.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,K.dF)()),{"&-avatar":{paddingInlineEnd:d.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:d.marginXS}},"&-title":Object.assign({color:d.colorTextHeading,fontWeight:d.fontWeightStrong,fontSize:d.fontSizeLG},K.vS),"&-description":{color:d.colorTextDescription}}),E=d=>{const{componentCls:x,cardPaddingBase:k,colorFillAlter:D}=d;return{[`${x}-head`]:{padding:`0 ${(0,S.bf)(k)}`,background:D,"&-title":{fontSize:d.fontSize}},[`${x}-body`]:{padding:`${(0,S.bf)(d.padding)} ${(0,S.bf)(k)}`}}},t=d=>{const{componentCls:x}=d;return{overflow:"hidden",[`${x}-body`]:{userSelect:"none"}}},P=d=>{const{antCls:x,componentCls:k,cardShadow:D,cardHeadPadding:L,colorBorderSecondary:tt,boxShadowTertiary:it,cardPaddingBase:mt,extraColor:_t}=d;return{[k]:Object.assign(Object.assign({},(0,K.Wf)(d)),{position:"relative",background:d.colorBgContainer,borderRadius:d.borderRadiusLG,[`&:not(${k}-bordered)`]:{boxShadow:it},[`${k}-head`]:N(d),[`${k}-extra`]:{marginInlineStart:"auto",color:_t,fontWeight:"normal",fontSize:d.fontSize},[`${k}-body`]:Object.assign({padding:mt,borderRadius:`0 0 ${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)}`},(0,K.dF)()),[`${k}-grid`]:C(d),[`${k}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${x}-image-mask`]:{borderRadius:`${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)} 0 0`}},[`${k}-actions`]:A(d),[`${k}-meta`]:n(d)}),[`${k}-bordered`]:{border:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${tt}`,[`${k}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${k}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${d.motionDurationMid}, border-color ${d.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:D}},[`${k}-contain-grid`]:{borderRadius:`${(0,S.bf)(d.borderRadiusLG)} ${(0,S.bf)(d.borderRadiusLG)} 0 0 `,[`${k}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${k}-loading) ${k}-body`]:{marginBlockStart:d.calc(d.lineWidth).mul(-1).equal(),marginInlineStart:d.calc(d.lineWidth).mul(-1).equal(),padding:0}},[`${k}-contain-tabs`]:{[`> div${k}-head`]:{minHeight:0,[`${k}-head-title, ${k}-extra`]:{paddingTop:L}}},[`${k}-type-inner`]:E(d),[`${k}-loading`]:t(d),[`${k}-rtl`]:{direction:"rtl"}}},J=d=>{const{componentCls:x,cardPaddingSM:k,headerHeightSM:D,headerFontSizeSM:L}=d;return{[`${x}-small`]:{[`> ${x}-head`]:{minHeight:D,padding:`0 ${(0,S.bf)(k)}`,fontSize:L,[`> ${x}-head-wrapper`]:{[`> ${x}-extra`]:{fontSize:d.fontSize}}},[`> ${x}-body`]:{padding:k}},[`${x}-small${x}-contain-tabs`]:{[`> ${x}-head`]:{[`${x}-head-title, ${x}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},W=d=>({headerBg:"transparent",headerFontSize:d.fontSizeLG,headerFontSizeSM:d.fontSize,headerHeight:d.fontSizeLG*d.lineHeightLG+d.padding*2,headerHeightSM:d.fontSize*d.lineHeight+d.paddingXS*2,actionsBg:d.colorBgContainer,actionsLiMargin:`${d.paddingSM}px 0`,tabsMarginBottom:-d.padding-d.lineWidth,extraColor:d.colorText});var ut=(0,U.I$)("Card",d=>{const x=(0,X.TS)(d,{cardShadow:d.boxShadowCard,cardHeadPadding:d.padding,cardPaddingBase:d.paddingLG,cardActionsIconSize:d.fontSize,cardPaddingSM:12});return[P(x),J(x)]},W),F=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L<D.length;L++)x.indexOf(D[L])<0&&Object.prototype.propertyIsEnumerable.call(d,D[L])&&(k[D[L]]=d[D[L]]);return k};const at=d=>{const{actionClasses:x,actions:k=[],actionStyle:D}=d;return s.createElement("ul",{className:x,style:D},k.map((L,tt)=>{const it=`action-${tt}`;return s.createElement("li",{style:{width:`${100/k.length}%`},key:it},s.createElement("span",null,L))}))};var T=s.forwardRef((d,x)=>{const{prefixCls:k,className:D,rootClassName:L,style:tt,extra:it,headStyle:mt={},bodyStyle:_t={},title:pt,loading:ct,bordered:Ct=!0,size:Mt,type:Dt,cover:Xt,actions:Rt,tabList:Lt,children:zt,activeTabKey:yt,defaultActiveTabKey:At,tabBarExtraContent:xt,hoverable:Bt,tabProps:Wt={},classNames:Vt,styles:$t}=d,jt=F(d,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:ht,direction:ee,card:Kt}=s.useContext(i.E_),ne=te=>{var Yt;(Yt=d.onTabChange)===null||Yt===void 0||Yt.call(d,te)},wt=te=>{var Yt;return r()((Yt=Kt==null?void 0:Kt.classNames)===null||Yt===void 0?void 0:Yt[te],Vt==null?void 0:Vt[te])},Et=te=>{var Yt;return Object.assign(Object.assign({},(Yt=Kt==null?void 0:Kt.styles)===null||Yt===void 0?void 0:Yt[te]),$t==null?void 0:$t[te])},se=s.useMemo(()=>{let te=!1;return s.Children.forEach(zt,Yt=>{Yt&&Yt.type&&Yt.type===I&&(te=!0)}),te},[zt]),Ht=ht("card",k),[le,ce,ue]=ut(Ht),be=s.createElement(u.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},zt),De=yt!==void 0,ln=Object.assign(Object.assign({},Wt),{[De?"activeKey":"defaultActiveKey"]:De?yt:At,tabBarExtraContent:xt});let ze;const fe=(0,m.Z)(Mt),cn=!fe||fe==="default"?"large":fe,Ae=Lt?s.createElement(o.Z,Object.assign({size:cn},ln,{className:`${Ht}-head-tabs`,onChange:ne,items:Lt.map(te=>{var{tab:Yt}=te,_e=F(te,["tab"]);return Object.assign({label:Yt},_e)})})):null;if(pt||it||Ae){const te=r()(`${Ht}-head`,wt("header")),Yt=r()(`${Ht}-head-title`,wt("title")),_e=r()(`${Ht}-extra`,wt("extra")),_n=Object.assign(Object.assign({},mt),Et("header"));ze=s.createElement("div",{className:te,style:_n},s.createElement("div",{className:`${Ht}-head-wrapper`},pt&&s.createElement("div",{className:Yt,style:Et("title")},pt),it&&s.createElement("div",{className:_e,style:Et("extra")},it)),Ae)}const dn=r()(`${Ht}-cover`,wt("cover")),un=Xt?s.createElement("div",{className:dn,style:Et("cover")},Xt):null,fn=r()(`${Ht}-body`,wt("body")),hn=Object.assign(Object.assign({},_t),Et("body")),mn=s.createElement("div",{className:fn,style:hn},ct?be:zt),pn=r()(`${Ht}-actions`,wt("actions")),vn=Rt&&Rt.length?s.createElement(at,{actionClasses:pn,actionStyle:Et("actions"),actions:Rt}):null,gn=(0,h.Z)(jt,["onTabChange"]),yn=r()(Ht,Kt==null?void 0:Kt.className,{[`${Ht}-loading`]:ct,[`${Ht}-bordered`]:Ct,[`${Ht}-hoverable`]:Bt,[`${Ht}-contain-grid`]:se,[`${Ht}-contain-tabs`]:Lt&&Lt.length,[`${Ht}-${fe}`]:fe,[`${Ht}-type-${Dt}`]:!!Dt,[`${Ht}-rtl`]:ee==="rtl"},D,L,ce,ue),bn=Object.assign(Object.assign({},Kt==null?void 0:Kt.style),tt);return le(s.createElement("div",Object.assign({ref:x},gn,{className:yn,style:bn}),ze,un,mn,vn))}),lt=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L<D.length;L++)x.indexOf(D[L])<0&&Object.prototype.propertyIsEnumerable.call(d,D[L])&&(k[D[L]]=d[D[L]]);return k},Y=d=>{const{prefixCls:x,className:k,avatar:D,title:L,description:tt}=d,it=lt(d,["prefixCls","className","avatar","title","description"]),{getPrefixCls:mt}=s.useContext(i.E_),_t=mt("card",x),pt=r()(`${_t}-meta`,k),ct=D?s.createElement("div",{className:`${_t}-meta-avatar`},D):null,Ct=L?s.createElement("div",{className:`${_t}-meta-title`},L):null,Mt=tt?s.createElement("div",{className:`${_t}-meta-description`},tt):null,Dt=Ct||Mt?s.createElement("div",{className:`${_t}-meta-detail`},Ct,Mt):null;return s.createElement("div",Object.assign({},it,{className:pt}),ct,Dt)};const kt=T;kt.Grid=I,kt.Meta=Y;var Tt=kt,dt=B(25378),Ot=B(96074),Ft=B(42075),z=B(86074),Qt=function(x){var k=x.padding;return(0,z.jsx)("div",{style:{padding:k||"0 24px"},children:(0,z.jsx)(Ot.Z,{style:{margin:0}})})},Gt={xs:2,sm:2,md:4,lg:4,xl:6,xxl:6},e=function(x){var k=x.size,D=x.active,L=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),tt=(0,dt.Z)()||L,it=Object.keys(tt).filter(function(pt){return tt[pt]===!0})[0]||"md",mt=k===void 0?Gt[it]||6:k,_t=function(ct){return ct===0?0:mt>2?42:16};return(0,z.jsx)(Tt,{bordered:!1,style:{marginBlockEnd:16},children:(0,z.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(mt).fill(null).map(function(pt,ct){return(0,z.jsxs)("div",{style:{borderInlineStart:mt>2&&ct===1?"1px solid rgba(0,0,0,0.06)":void 0,paddingInlineStart:_t(ct),flex:1,marginInlineEnd:ct===0?16:0},children:[(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{width:100,style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z.Button,{active:D,style:{height:48}})]},ct)})})})},H=function(x){var k=x.active;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(Tt,{bordered:!1,style:{borderRadius:0},styles:{body:{padding:24}},children:(0,z.jsxs)("div",{style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,z.jsx)("div",{style:{maxWidth:"100%",flex:1},children:(0,z.jsx)(u.Z,{active:k,title:{width:100,style:{marginBlockStart:0}},paragraph:{rows:1,style:{margin:0}}})}),(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:165,marginBlockStart:12}})]})}),(0,z.jsx)(Qt,{})]})},$=function(x){var k=x.size,D=x.active,L=D===void 0?!0:D,tt=x.actionButton;return(0,z.jsxs)(Tt,{bordered:!1,styles:{body:{padding:0}},children:[new Array(k).fill(null).map(function(it,mt){return(0,z.jsx)(H,{active:!!L},mt)}),tt!==!1&&(0,z.jsx)(Tt,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},styles:{body:{display:"flex",alignItems:"center",justifyContent:"center"}},children:(0,z.jsx)(u.Z.Button,{style:{width:102},active:L,size:"small"})})]})},g=function(x){var k=x.active;return(0,z.jsxs)("div",{style:{marginBlockEnd:16},children:[(0,z.jsx)(u.Z,{paragraph:!1,title:{width:185}}),(0,z.jsx)(u.Z.Button,{active:k,size:"small"})]})},p=function(x){var k=x.active;return(0,z.jsx)(Tt,{bordered:!1,style:{borderBottomRightRadius:0,borderBottomLeftRadius:0},styles:{body:{paddingBlockEnd:8}},children:(0,z.jsxs)(Ft.Z,{style:{width:"100%",justifyContent:"space-between"},children:[(0,z.jsx)(u.Z.Button,{active:k,style:{width:200},size:"small"}),(0,z.jsxs)(Ft.Z,{children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:120}}),(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:80}})]})]})})},j=function(x){var k=x.active,D=k===void 0?!0:k,L=x.statistic,tt=x.actionButton,it=x.toolbar,mt=x.pageHeader,_t=x.list,pt=_t===void 0?5:_t;return(0,z.jsxs)("div",{style:{width:"100%"},children:[mt!==!1&&(0,z.jsx)(g,{active:D}),L!==!1&&(0,z.jsx)(e,{size:L,active:D}),(it!==!1||pt!==!1)&&(0,z.jsxs)(Tt,{bordered:!1,styles:{body:{padding:0}},children:[it!==!1&&(0,z.jsx)(p,{active:D}),pt!==!1&&(0,z.jsx)($,{size:pt,active:D,actionButton:tt})]})]})},G=j,V={xs:1,sm:2,md:3,lg:3,xl:3,xxl:4},R=function(x){var k=x.active;return(0,z.jsxs)("div",{style:{marginBlockStart:32},children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsxs)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:[(0,z.jsxs)("div",{style:{flex:1,marginInlineEnd:24,maxWidth:300},children:[(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:8}}})]}),(0,z.jsx)("div",{style:{flex:1,alignItems:"center",justifyContent:"center"},children:(0,z.jsxs)("div",{style:{maxWidth:300,margin:"auto"},children:[(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{marginBlockStart:8}}})]})})]})]})},Q=function(x){var k=x.size,D=x.active,L=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),tt=(0,dt.Z)()||L,it=Object.keys(tt).filter(function(_t){return tt[_t]===!0})[0]||"md",mt=k===void 0?V[it]||3:k;return(0,z.jsx)("div",{style:{width:"100%",justifyContent:"space-between",display:"flex"},children:new Array(mt).fill(null).map(function(_t,pt){return(0,z.jsxs)("div",{style:{flex:1,paddingInlineStart:pt===0?0:24,paddingInlineEnd:pt===mt-1?0:24},children:[(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{style:{marginBlockStart:0}}}),(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{style:{marginBlockStart:8}}}),(0,z.jsx)(u.Z,{active:D,paragraph:!1,title:{style:{marginBlockStart:8}}})]},pt)})})},nt=function(x){var k=x.active,D=x.header,L=D===void 0?!1:D,tt=(0,s.useMemo)(function(){return{lg:!0,md:!0,sm:!1,xl:!1,xs:!1,xxl:!1}},[]),it=(0,dt.Z)()||tt,mt=Object.keys(it).filter(function(pt){return it[pt]===!0})[0]||"md",_t=V[mt]||3;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{style:{display:"flex",background:L?"rgba(0,0,0,0.02)":"none",padding:"24px 8px"},children:[new Array(_t).fill(null).map(function(pt,ct){return(0,z.jsx)("div",{style:{flex:1,paddingInlineStart:L&&ct===0?0:20,paddingInlineEnd:32},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:24,width:L?"75px":"100%"}}})},ct)}),(0,z.jsx)("div",{style:{flex:3,paddingInlineStart:32},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:24,width:L?"75px":"100%"}}})})]}),(0,z.jsx)(Qt,{padding:"0px 0px"})]})},q=function(x){var k=x.active,D=x.size,L=D===void 0?4:D;return(0,z.jsxs)(Tt,{bordered:!1,children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsx)(nt,{header:!0,active:k}),new Array(L).fill(null).map(function(tt,it){return(0,z.jsx)(nt,{active:k},it)}),(0,z.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",paddingBlockStart:16},children:(0,z.jsx)(u.Z,{active:k,paragraph:!1,title:{style:{margin:0,height:32,float:"right",maxWidth:"630px"}}})})]})},ft=function(x){var k=x.active;return(0,z.jsxs)(Tt,{bordered:!1,style:{borderStartEndRadius:0,borderTopLeftRadius:0},children:[(0,z.jsx)(u.Z.Button,{active:k,size:"small",style:{width:100,marginBlockEnd:16}}),(0,z.jsx)(Q,{active:k}),(0,z.jsx)(R,{active:k})]})},Zt=function(x){var k=x.active,D=k===void 0?!0:k,L=x.pageHeader,tt=x.list;return(0,z.jsxs)("div",{style:{width:"100%"},children:[L!==!1&&(0,z.jsx)(g,{active:D}),(0,z.jsx)(ft,{active:D}),tt!==!1&&(0,z.jsx)(Qt,{}),tt!==!1&&(0,z.jsx)(q,{active:D,size:tt})]})},ot=Zt,Pt=function(x){var k=x.active,D=k===void 0?!0:k,L=x.pageHeader;return(0,z.jsxs)("div",{style:{width:"100%"},children:[L!==!1&&(0,z.jsx)(g,{active:D}),(0,z.jsx)(Tt,{children:(0,z.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",padding:128},children:[(0,z.jsx)(u.Z.Avatar,{size:64,style:{marginBlockEnd:32}}),(0,z.jsx)(u.Z.Button,{active:D,style:{width:214,marginBlockEnd:8}}),(0,z.jsx)(u.Z.Button,{active:D,style:{width:328},size:"small"}),(0,z.jsxs)(Ft.Z,{style:{marginBlockStart:24},children:[(0,z.jsx)(u.Z.Button,{active:D,style:{width:116}}),(0,z.jsx)(u.Z.Button,{active:D,style:{width:116}})]})]})})]})},St=Pt,bt=["type"],It=function(x){var k=x.type,D=k===void 0?"list":k,L=(0,M.Z)(x,bt);return D==="result"?(0,z.jsx)(St,(0,v.Z)({},L)):D==="descriptions"?(0,z.jsx)(ot,(0,v.Z)({},L)):(0,z.jsx)(G,(0,v.Z)({},L))},gt=It,Ut=B(2026),qt=B(90081),Jt=B(1977),oe=B(77398),ae=B(81736),pe=B(53914),de=B(97685),he=B(89451),re=B(68872),ie=B(21770),me=B(86671),Re=function(x){return(re.ZP.warn||re.ZP.warning)(x)};function Be(d){var x=d.data,k=d.row;return(0,v.Z)((0,v.Z)({},x),k)}function Ze(d){var x=d.type||"single",k=(0,he.YB)(),D=(0,ie.Z)([],{value:d.editableKeys,onChange:d.onChange?function(zt){var yt;d==null||(yt=d.onChange)===null||yt===void 0||yt.call(d,zt,d.dataSource)}:void 0}),L=(0,de.Z)(D,2),tt=L[0],it=L[1],mt=(0,s.useMemo)(function(){var zt=x==="single"?tt==null?void 0:tt.slice(0,1):tt;return new Set(zt)},[(tt||[]).join(","),x]),_t=(0,s.useCallback)(function(zt){return!!(tt!=null&&tt.includes((0,me.sN)(zt)))},[(tt||[]).join(",")]),pt=function(yt){return mt.size>0&&x==="single"?(Re(d.onlyOneLineEditorAlertMessage||k.getMessage("editableTable.onlyOneLineEditor","\u53EA\u80FD\u540C\u65F6\u7F16\u8F91\u4E00\u884C")),!1):(mt.add((0,me.sN)(yt)),it(Array.from(mt)),!0)},ct=function(yt){return mt.delete((0,me.sN)(yt)),it(Array.from(mt)),!0},Ct=function(){var zt=(0,y.Z)((0,vt.Z)().mark(function yt(At,xt,Bt,Wt){var Vt,$t;return(0,vt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return ht.next=2,d==null||(Vt=d.onCancel)===null||Vt===void 0?void 0:Vt.call(d,At,xt,Bt,Wt);case 2:if($t=ht.sent,$t!==!1){ht.next=5;break}return ht.abrupt("return",!1);case 5:return ht.abrupt("return",!0);case 6:case"end":return ht.stop()}},yt)}));return function(At,xt,Bt,Wt){return zt.apply(this,arguments)}}(),Mt=function(){var zt=(0,y.Z)((0,vt.Z)().mark(function yt(At,xt,Bt){var Wt,Vt,$t;return(0,vt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return ht.next=2,d==null||(Wt=d.onSave)===null||Wt===void 0?void 0:Wt.call(d,At,xt,Bt);case 2:if(Vt=ht.sent,Vt!==!1){ht.next=5;break}return ht.abrupt("return",!1);case 5:return ht.next=7,ct(At);case 7:return $t={data:d.dataSource,row:xt,key:At,childrenColumnName:d.childrenColumnName||"children"},d.setDataSource(Be($t)),ht.abrupt("return",!0);case 10:case"end":return ht.stop()}},yt)}));return function(At,xt,Bt){return zt.apply(this,arguments)}}(),Dt=k.getMessage("editableTable.action.save","\u4FDD\u5B58"),Xt=k.getMessage("editableTable.action.delete","\u5220\u9664"),Rt=k.getMessage("editableTable.action.cancel","\u53D6\u6D88"),Lt=(0,s.useCallback)(function(zt,yt){var At=(0,v.Z)({recordKey:zt,cancelEditable:ct,onCancel:Ct,onSave:Mt,editableKeys:tt,setEditableRowKeys:it,saveText:Dt,cancelText:Rt,deleteText:Xt,deletePopconfirmMessage:"".concat(k.getMessage("deleteThisLine","\u5220\u9664\u6B64\u9879"),"?"),editorType:"Map"},yt),xt=(0,me.aX)(d.dataSource,At);return d.actionRender?d.actionRender(d.dataSource,At,{save:xt.save,delete:xt.delete,cancel:xt.cancel}):[xt.save,xt.delete,xt.cancel]},[tt&&tt.join(","),d.dataSource]);return{editableKeys:tt,setEditableRowKeys:it,isEditable:_t,actionRender:Lt,startEditable:pt,cancelEditable:ct}}var Fe=B(78164),we=B(67159),xe=B(74443),Me={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},Se=s.createContext({}),Ce=B(50344),Le=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L<D.length;L++)x.indexOf(D[L])<0&&Object.prototype.propertyIsEnumerable.call(d,D[L])&&(k[D[L]]=d[D[L]]);return k};const $e=d=>(0,Ce.Z)(d).map(x=>Object.assign(Object.assign({},x==null?void 0:x.props),{key:x.key}));function Ne(d,x,k){const D=s.useMemo(()=>x||$e(k),[x,k]);return s.useMemo(()=>D.map(tt=>{var{span:it}=tt,mt=Le(tt,["span"]);return Object.assign(Object.assign({},mt),{span:typeof it=="number"?it:(0,xe.m9)(d,it)})}),[D,d])}function Ee(d,x,k){let D=d,L=!1;return(k===void 0||k>x)&&(D=Object.assign(Object.assign({},d),{span:x}),L=k!==void 0),[D,L]}function We(d,x){const k=[];let D=[],L=x,tt=!1;return d.filter(it=>it).forEach((it,mt)=>{const _t=it==null?void 0:it.span,pt=_t||1;if(mt===d.length-1){const[ct,Ct]=Ee(it,L,_t);tt=tt||Ct,D.push(ct),k.push(D);return}if(pt<L)L-=pt,D.push(it);else{const[ct,Ct]=Ee(it,L,pt);tt=tt||Ct,D.push(ct),k.push(D),L=x,D=[]}}),[k,tt]}var Ue=(d,x)=>{const[k,D]=(0,s.useMemo)(()=>We(x,d),[x,d]);return k},Ke=d=>{let{children:x}=d;return x};function Oe(d){return d!=null}var ve=d=>{const{itemPrefixCls:x,component:k,span:D,className:L,style:tt,labelStyle:it,contentStyle:mt,bordered:_t,label:pt,content:ct,colon:Ct,type:Mt}=d,Dt=k;return _t?s.createElement(Dt,{className:r()({[`${x}-item-label`]:Mt==="label",[`${x}-item-content`]:Mt==="content"},L),style:tt,colSpan:D},Oe(pt)&&s.createElement("span",{style:it},pt),Oe(ct)&&s.createElement("span",{style:mt},ct)):s.createElement(Dt,{className:r()(`${x}-item`,L),style:tt,colSpan:D},s.createElement("div",{className:`${x}-item-container`},(pt||pt===0)&&s.createElement("span",{className:r()(`${x}-item-label`,{[`${x}-item-no-colon`]:!Ct}),style:it},pt),(ct||ct===0)&&s.createElement("span",{className:r()(`${x}-item-content`),style:mt},ct)))};function ge(d,x,k){let{colon:D,prefixCls:L,bordered:tt}=x,{component:it,type:mt,showLabel:_t,showContent:pt,labelStyle:ct,contentStyle:Ct}=k;return d.map((Mt,Dt)=>{let{label:Xt,children:Rt,prefixCls:Lt=L,className:zt,style:yt,labelStyle:At,contentStyle:xt,span:Bt=1,key:Wt}=Mt;return typeof it=="string"?s.createElement(ve,{key:`${mt}-${Wt||Dt}`,className:zt,style:yt,labelStyle:Object.assign(Object.assign({},ct),At),contentStyle:Object.assign(Object.assign({},Ct),xt),span:Bt,colon:D,component:it,itemPrefixCls:Lt,bordered:tt,label:_t?Xt:null,content:pt?Rt:null,type:mt}):[s.createElement(ve,{key:`label-${Wt||Dt}`,className:zt,style:Object.assign(Object.assign(Object.assign({},ct),yt),At),span:1,colon:D,component:it[0],itemPrefixCls:Lt,bordered:tt,label:Xt,type:"label"}),s.createElement(ve,{key:`content-${Wt||Dt}`,className:zt,style:Object.assign(Object.assign(Object.assign({},Ct),yt),xt),span:Bt*2-1,component:it[1],itemPrefixCls:Lt,bordered:tt,content:Rt,type:"content"})]})}var He=d=>{const x=s.useContext(Se),{prefixCls:k,vertical:D,row:L,index:tt,bordered:it}=d;return D?s.createElement(s.Fragment,null,s.createElement("tr",{key:`label-${tt}`,className:`${k}-row`},ge(L,d,Object.assign({component:"th",type:"label",showLabel:!0},x))),s.createElement("tr",{key:`content-${tt}`,className:`${k}-row`},ge(L,d,Object.assign({component:"td",type:"content",showContent:!0},x)))):s.createElement("tr",{key:tt,className:`${k}-row`},ge(L,d,Object.assign({component:it?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},x)))};const Ge=d=>{const{componentCls:x,labelBg:k}=d;return{[`&${x}-bordered`]:{[`> ${x}-view`]:{border:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorSplit}`,"> table":{tableLayout:"auto"},[`${x}-row`]:{borderBottom:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorSplit}`,"&:last-child":{borderBottom:"none"},[`> ${x}-item-label, > ${x}-item-content`]:{padding:`${(0,S.bf)(d.padding)} ${(0,S.bf)(d.paddingLG)}`,borderInlineEnd:`${(0,S.bf)(d.lineWidth)} ${d.lineType} ${d.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${x}-item-label`]:{color:d.colorTextSecondary,backgroundColor:k,"&::after":{display:"none"}}}},[`&${x}-middle`]:{[`${x}-row`]:{[`> ${x}-item-label, > ${x}-item-content`]:{padding:`${(0,S.bf)(d.paddingSM)} ${(0,S.bf)(d.paddingLG)}`}}},[`&${x}-small`]:{[`${x}-row`]:{[`> ${x}-item-label, > ${x}-item-content`]:{padding:`${(0,S.bf)(d.paddingXS)} ${(0,S.bf)(d.padding)}`}}}}}},Ve=d=>{const{componentCls:x,extraColor:k,itemPaddingBottom:D,colonMarginRight:L,colonMarginLeft:tt,titleMarginBottom:it}=d;return{[x]:Object.assign(Object.assign(Object.assign({},(0,K.Wf)(d)),Ge(d)),{"&-rtl":{direction:"rtl"},[`${x}-header`]:{display:"flex",alignItems:"center",marginBottom:it},[`${x}-title`]:Object.assign(Object.assign({},K.vS),{flex:"auto",color:d.titleColor,fontWeight:d.fontWeightStrong,fontSize:d.fontSizeLG,lineHeight:d.lineHeightLG}),[`${x}-extra`]:{marginInlineStart:"auto",color:k,fontSize:d.fontSize},[`${x}-view`]:{width:"100%",borderRadius:d.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${x}-row`]:{"> th, > td":{paddingBottom:D},"&:last-child":{borderBottom:"none"}},[`${x}-item-label`]:{color:d.colorTextTertiary,fontWeight:"normal",fontSize:d.fontSize,lineHeight:d.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,S.bf)(tt)} ${(0,S.bf)(L)}`},[`&${x}-item-no-colon::after`]:{content:'""'}},[`${x}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${x}-item-content`]:{display:"table-cell",flex:1,color:d.contentColor,fontSize:d.fontSize,lineHeight:d.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${x}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${x}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${x}-item-content`]:{display:"inline-flex",alignItems:"baseline"}}},"&-middle":{[`${x}-row`]:{"> th, > td":{paddingBottom:d.paddingSM}}},"&-small":{[`${x}-row`]:{"> th, > td":{paddingBottom:d.paddingXS}}}})}},Xe=d=>({labelBg:d.colorFillAlter,titleColor:d.colorText,titleMarginBottom:d.fontSizeSM*d.lineHeightSM,itemPaddingBottom:d.padding,colonMarginRight:d.marginXS,colonMarginLeft:d.marginXXS/2,contentColor:d.colorText,extraColor:d.colorText});var Ye=(0,U.I$)("Descriptions",d=>{const x=(0,X.TS)(d,{});return Ve(x)},Xe),Je=function(d,x){var k={};for(var D in d)Object.prototype.hasOwnProperty.call(d,D)&&x.indexOf(D)<0&&(k[D]=d[D]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,D=Object.getOwnPropertySymbols(d);L<D.length;L++)x.indexOf(D[L])<0&&Object.prototype.propertyIsEnumerable.call(d,D[L])&&(k[D[L]]=d[D[L]]);return k};const Pe=d=>{const{prefixCls:x,title:k,extra:D,column:L,colon:tt=!0,bordered:it,layout:mt,children:_t,className:pt,rootClassName:ct,style:Ct,size:Mt,labelStyle:Dt,contentStyle:Xt,items:Rt}=d,Lt=Je(d,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","items"]),{getPrefixCls:zt,direction:yt,descriptions:At}=s.useContext(i.E_),xt=zt("descriptions",x),Bt=(0,dt.Z)(),Wt=s.useMemo(()=>{var wt;return typeof L=="number"?L:(wt=(0,xe.m9)(Bt,Object.assign(Object.assign({},Me),L)))!==null&&wt!==void 0?wt:3},[Bt,L]),Vt=Ne(Bt,Rt,_t),$t=(0,m.Z)(Mt),jt=Ue(Wt,Vt),[ht,ee,Kt]=Ye(xt),ne=s.useMemo(()=>({labelStyle:Dt,contentStyle:Xt}),[Dt,Xt]);return ht(s.createElement(Se.Provider,{value:ne},s.createElement("div",Object.assign({className:r()(xt,At==null?void 0:At.className,{[`${xt}-${$t}`]:$t&&$t!=="default",[`${xt}-bordered`]:!!it,[`${xt}-rtl`]:yt==="rtl"},pt,ct,ee,Kt),style:Object.assign(Object.assign({},At==null?void 0:At.style),Ct)},Lt),(k||D)&&s.createElement("div",{className:`${xt}-header`},k&&s.createElement("div",{className:`${xt}-title`},k),D&&s.createElement("div",{className:`${xt}-extra`},D)),s.createElement("div",{className:`${xt}-view`},s.createElement("table",null,s.createElement("tbody",null,jt.map((wt,Et)=>s.createElement(He,{key:Et,index:Et,colon:tt,prefixCls:xt,vertical:mt==="vertical",bordered:it,row:wt}))))))))};Pe.Item=Ke;var ye=Pe,Qe=B(28459),qe=B(88306),tn=function(x,k){var D=k||{},L=D.onRequestError,tt=D.effects,it=D.manual,mt=D.dataSource,_t=D.defaultDataSource,pt=D.onDataSourceChange,ct=(0,ie.Z)(_t,{value:mt,onChange:pt}),Ct=(0,de.Z)(ct,2),Mt=Ct[0],Dt=Ct[1],Xt=(0,ie.Z)(k==null?void 0:k.loading,{value:k==null?void 0:k.loading,onChange:k==null?void 0:k.onLoadingChange}),Rt=(0,de.Z)(Xt,2),Lt=Rt[0],zt=Rt[1],yt=function(Bt){Dt(Bt),zt(!1)},At=function(){var xt=(0,y.Z)((0,vt.Z)().mark(function Bt(){var Wt,Vt,$t;return(0,vt.Z)().wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:if(!Lt){ht.next=2;break}return ht.abrupt("return");case 2:return zt(!0),ht.prev=3,ht.next=6,x();case 6:if(ht.t0=ht.sent,ht.t0){ht.next=9;break}ht.t0={};case 9:Wt=ht.t0,Vt=Wt.data,$t=Wt.success,$t!==!1&&yt(Vt),ht.next=23;break;case 15:if(ht.prev=15,ht.t1=ht.catch(3),L!==void 0){ht.next=21;break}throw new Error(ht.t1);case 21:L(ht.t1);case 22:zt(!1);case 23:return ht.prev=23,zt(!1),ht.finish(23);case 26:case"end":return ht.stop()}},Bt,null,[[3,15,23,26]])}));return function(){return xt.apply(this,arguments)}}();return(0,s.useEffect)(function(){it||At()},[].concat((0,st.Z)(tt||[]),[it])),{dataSource:Mt,setDataSource:Dt,loading:Lt,reload:function(){return At()}}},en=tn,ke=B(98082),nn=["valueEnum","render","renderText","mode","plain","dataIndex","request","params","editable"],rn=["request","columns","params","dataSource","onDataSourceChange","formProps","editable","loading","onLoadingChange","actionRef","onRequestError","emptyText","contentStyle"],an=function(x,k){var D=x.dataIndex;if(D){var L=Array.isArray(D)?(0,qe.Z)(k,D):k[D];if(L!==void 0||L!==null)return L}return x.children},je=function(x){var k,D=x.valueEnum,L=x.action,tt=x.index,it=x.text,mt=x.entity,_t=x.mode,pt=x.render,ct=x.editableUtils,Ct=x.valueType,Mt=x.plain,Dt=x.dataIndex,Xt=x.request,Rt=x.renderFormItem,Lt=x.params,zt=x.emptyText,yt=f.ZP.useFormInstance(),At=(k=ke.Ow.useToken)===null||k===void 0?void 0:k.call(ke.Ow),xt=At.token,Bt={text:it,valueEnum:D,mode:_t||"read",proFieldProps:{emptyText:zt,render:pt?function($t){return pt==null?void 0:pt($t,mt,tt,L,(0,v.Z)((0,v.Z)({},x),{},{type:"descriptions"}))}:void 0},ignoreFormItem:!0,valueType:Ct,request:Xt,params:Lt,plain:Mt};if(_t==="read"||!_t||Ct==="option"){var Wt=(0,Ut.w)(x.fieldProps,void 0,(0,v.Z)((0,v.Z)({},x),{},{rowKey:Dt,isEditable:!1}));return(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({name:Dt},Bt),{},{fieldProps:Wt}))}var Vt=function(){var jt,ht=(0,Ut.w)(x.formItemProps,yt,(0,v.Z)((0,v.Z)({},x),{},{rowKey:Dt,isEditable:!0})),ee=(0,Ut.w)(x.fieldProps,yt,(0,v.Z)((0,v.Z)({},x),{},{rowKey:Dt,isEditable:!0}));return(0,z.jsxs)("div",{style:{display:"flex",gap:xt.marginXS,alignItems:"baseline"},children:[(0,z.jsx)(qt.U,(0,v.Z)((0,v.Z)({name:Dt},ht),{},{style:(0,v.Z)({margin:0},(ht==null?void 0:ht.style)||{}),initialValue:it||(ht==null?void 0:ht.initialValue),children:(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({},Bt),{},{proFieldProps:(0,v.Z)({},Bt.proFieldProps),renderFormItem:Rt?function(){return Rt==null?void 0:Rt((0,v.Z)((0,v.Z)({},x),{},{type:"descriptions"}),{isEditable:!0,recordKey:Dt,record:yt.getFieldValue([Dt].flat(1)),defaultRender:function(){return(0,z.jsx)(w.Z,(0,v.Z)((0,v.Z)({},Bt),{},{fieldProps:ee}))},type:"descriptions"},yt)}:void 0,fieldProps:ee}))})),(0,z.jsx)("div",{style:{display:"flex",maxHeight:xt.controlHeight,alignItems:"center",gap:xt.marginXS},children:ct==null||(jt=ct.actionRender)===null||jt===void 0?void 0:jt.call(ct,Dt||tt,{cancelText:(0,z.jsx)(l.Z,{}),saveText:(0,z.jsx)(c.Z,{}),deleteText:!1})})]})};return(0,z.jsx)("div",{style:{marginTop:-5,marginBottom:-5,marginLeft:0,marginRight:0},children:Vt()})},sn=function(x,k,D,L,tt){var it,mt=[],_t=(0,Jt.n)(we.Z,"5.8.0")>=0,pt=x==null||(it=x.map)===null||it===void 0?void 0:it.call(x,function(ct,Ct){var Mt,Dt,Xt;if(s.isValidElement(ct))return _t?{children:ct}:ct;var Rt=ct,Lt=Rt.valueEnum,zt=Rt.render,yt=Rt.renderText,At=Rt.mode,xt=Rt.plain,Bt=Rt.dataIndex,Wt=Rt.request,Vt=Rt.params,$t=Rt.editable,jt=(0,M.Z)(Rt,nn),ht=(Mt=an(ct,k))!==null&&Mt!==void 0?Mt:jt.children,ee=yt?yt(ht,k,Ct,D):ht,Kt=typeof jt.title=="function"?jt.title(ct,"descriptions",null):jt.title,ne=typeof jt.valueType=="function"?jt.valueType(k||{},"descriptions"):jt.valueType,wt=L==null?void 0:L.isEditable(Bt||Ct),Et=At||wt?"edit":"read",se=L&&Et==="read"&&$t!==!1&&($t==null?void 0:$t(ee,k,Ct))!==!1,Ht=se?Ft.Z:s.Fragment,le=Et==="edit"?ee:(0,oe.X)(ee,ct,ee),ce=_t&&ne!=="option"?(0,v.Z)((0,v.Z)({},jt),{},{key:jt.key||((Dt=jt.label)===null||Dt===void 0?void 0:Dt.toString())||Ct,label:(Kt||jt.label||jt.tooltip)&&(0,z.jsx)(ae.G,{label:Kt||jt.label,tooltip:jt.tooltip,ellipsis:ct.ellipsis}),children:(0,z.jsxs)(Ht,{children:[(0,s.createElement)(je,(0,v.Z)((0,v.Z)({},ct),{},{key:ct==null?void 0:ct.key,dataIndex:ct.dataIndex||Ct,mode:Et,text:le,valueType:ne,entity:k,index:Ct,emptyText:tt,action:D,editableUtils:L})),se&&(0,z.jsx)(a.Z,{onClick:function(){L==null||L.startEditable(Bt||Ct)}})]})}):(0,s.createElement)(ye.Item,(0,v.Z)((0,v.Z)({},jt),{},{key:jt.key||((Xt=jt.label)===null||Xt===void 0?void 0:Xt.toString())||Ct,label:(Kt||jt.label||jt.tooltip)&&(0,z.jsx)(ae.G,{label:Kt||jt.label,tooltip:jt.tooltip,ellipsis:ct.ellipsis})}),(0,z.jsxs)(Ht,{children:[(0,z.jsx)(je,(0,v.Z)((0,v.Z)({},ct),{},{dataIndex:ct.dataIndex||Ct,mode:Et,text:le,valueType:ne,entity:k,index:Ct,action:D,editableUtils:L})),se&&ne!=="option"&&(0,z.jsx)(a.Z,{onClick:function(){L==null||L.startEditable(Bt||Ct)}})]}));return ne==="option"?(mt.push(ce),null):ce}).filter(function(ct){return ct});return{options:mt!=null&&mt.length?mt:null,children:pt}},Te=function(x){return(0,z.jsx)(ye.Item,(0,v.Z)((0,v.Z)({},x),{},{children:x.children}))};Te.displayName="ProDescriptionsItem";var on=function(x){return x.children},Ie=function(x){var k,D=x.request,L=x.columns,tt=x.params,it=x.dataSource,mt=x.onDataSourceChange,_t=x.formProps,pt=x.editable,ct=x.loading,Ct=x.onLoadingChange,Mt=x.actionRef,Dt=x.onRequestError,Xt=x.emptyText,Rt=x.contentStyle,Lt=(0,M.Z)(x,rn),zt=(0,s.useContext)(Qe.ZP.ConfigContext),yt=en((0,y.Z)((0,vt.Z)().mark(function Kt(){var ne;return(0,vt.Z)().wrap(function(Et){for(;;)switch(Et.prev=Et.next){case 0:if(!D){Et.next=6;break}return Et.next=3,D(tt||{});case 3:Et.t0=Et.sent,Et.next=7;break;case 6:Et.t0={data:{}};case 7:return ne=Et.t0,Et.abrupt("return",ne);case 9:case"end":return Et.stop()}},Kt)})),{onRequestError:Dt,effects:[(0,pe.ZP)(tt)],manual:!D,dataSource:it,loading:ct,onLoadingChange:Ct,onDataSourceChange:mt}),At=Ze((0,v.Z)((0,v.Z)({},x.editable),{},{childrenColumnName:void 0,dataSource:yt.dataSource,setDataSource:yt.setDataSource}));if((0,s.useEffect)(function(){Mt&&(Mt.current=(0,v.Z)({reload:yt.reload},At))},[yt,Mt,At]),yt.loading||yt.loading===void 0&&D)return(0,z.jsx)(gt,{type:"descriptions",list:!1,pageHeader:!1});var xt=function(){var ne=(0,Ce.Z)(x.children).filter(Boolean).map(function(wt){if(!s.isValidElement(wt))return wt;var Et=wt==null?void 0:wt.props,se=Et.valueEnum,Ht=Et.valueType,le=Et.dataIndex,ce=Et.ellipsis,ue=Et.copyable,be=Et.request;return!Ht&&!se&&!le&&!be&&!ce&&!ue&&wt.type.displayName!=="ProDescriptionsItem"?wt:(0,v.Z)((0,v.Z)({},wt==null?void 0:wt.props),{},{entity:it})});return[].concat((0,st.Z)(L||[]),(0,st.Z)(ne)).filter(function(wt){return!wt||wt!=null&&wt.valueType&&["index","indexBorder"].includes(wt==null?void 0:wt.valueType)?!1:!(wt!=null&&wt.hideInDescriptions)}).sort(function(wt,Et){return Et.order||wt.order?(Et.order||0)-(wt.order||0):(Et.index||0)-(wt.index||0)})},Bt=sn(xt(),yt.dataSource||{},(Mt==null?void 0:Mt.current)||yt,pt?At:void 0,x.emptyText),Wt=Bt.options,Vt=Bt.children,$t=pt?f.ZP:on,jt=null;(Lt.title||Lt.tooltip||Lt.tip)&&(jt=(0,z.jsx)(ae.G,{label:Lt.title,tooltip:Lt.tooltip||Lt.tip}));var ht=zt.getPrefixCls("pro-descriptions"),ee=(0,Jt.n)(we.Z,"5.8.0")>=0;return(0,z.jsx)(Fe.S,{children:(0,z.jsx)($t,(0,v.Z)((0,v.Z)({form:(k=x.editable)===null||k===void 0?void 0:k.form,component:!1,submitter:!1},_t),{},{onFinish:void 0,children:(0,z.jsx)(ye,(0,v.Z)((0,v.Z)({className:ht},Lt),{},{contentStyle:(0,v.Z)({minWidth:0},Rt||{}),extra:Lt.extra?(0,z.jsxs)(Ft.Z,{children:[Wt,Lt.extra]}):Wt,title:jt,items:ee?Vt:void 0,children:ee?null:Vt}))}),"form")})};Ie.Item=Te;var Pn=null},8214:function(Nt,rt,B){"use strict";var st=B(1413),vt=B(45987),y=B(62435),M=B(66758),v=B(16764),l=B(86074),c=["fieldProps","request","params","proFieldProps"],a=function(w,s){var u=w.fieldProps,_=w.request,r=w.params,h=w.proFieldProps,i=(0,vt.Z)(w,c),m=(0,y.useContext)(M.Z);return(0,l.jsx)(v.Z,(0,st.Z)({valueType:"cascader",fieldProps:(0,st.Z)({getPopupContainer:m.getPopupContainer},u),ref:s,request:_,params:r,filedConfig:{customLightMode:!0},proFieldProps:h},i))};rt.Z=y.forwardRef(a)},31199:function(Nt,rt,B){"use strict";var st=B(1413),vt=B(45987),y=B(62435),M=B(16764),v=B(86074),l=["fieldProps","min","proFieldProps","max"],c=function(w,s){var u=w.fieldProps,_=w.min,r=w.proFieldProps,h=w.max,i=(0,vt.Z)(w,l);return(0,v.jsx)(M.Z,(0,st.Z)({valueType:"digit",fieldProps:(0,st.Z)({min:_,max:h},u),ref:s,filedConfig:{defaultProps:{width:"100%"}},proFieldProps:r},i))},a=y.forwardRef(c);rt.Z=a},64317:function(Nt,rt,B){"use strict";var st=B(1413),vt=B(45987),y=B(22270),M=B(62435),v=B(66758),l=B(16764),c=B(86074),a=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],f=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],w=function(i,m){var o=i.fieldProps,b=i.children,O=i.params,I=i.proFieldProps,S=i.mode,K=i.valueEnum,U=i.request,X=i.showSearch,N=i.options,C=(0,vt.Z)(i,a),A=(0,M.useContext)(v.Z);return(0,c.jsx)(l.Z,(0,st.Z)((0,st.Z)({valueEnum:(0,y.h)(K),request:U,params:O,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,st.Z)({options:N,mode:S,showSearch:X,getPopupContainer:A.getPopupContainer},o),ref:m,proFieldProps:I},C),{},{children:b}))},s=M.forwardRef(function(h,i){var m=h.fieldProps,o=h.children,b=h.params,O=h.proFieldProps,I=h.mode,S=h.valueEnum,K=h.request,U=h.options,X=(0,vt.Z)(h,f),N=(0,st.Z)({options:U,mode:I||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},m),C=(0,M.useContext)(v.Z);return(0,c.jsx)(l.Z,(0,st.Z)((0,st.Z)({valueEnum:(0,y.h)(S),request:K,params:b,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,st.Z)({getPopupContainer:C.getPopupContainer},N),ref:i,proFieldProps:O},X),{},{children:o}))}),u=M.forwardRef(w),_=s,r=u;r.SearchSelect=_,r.displayName="ProFormComponent",rt.Z=r},50727:function(Nt,rt,B){"use strict";var st=B(4942),vt=B(97685),y=B(45987),M=B(74165),v=B(15861),l=B(1413),c=B(24969),a=B(97462),f=B(952),w=B(89451),s=B(48171),u=B(53914),_=B(22270),r=B(60249),h=B(14726),i=B(23323),m=B(21770),o=B(88306),b=B(8880),O=B(62435),I=B(67211),S=B(86074),K=["onTableChange","maxLength","formItemProps","recordCreatorProps","rowKey","controlled","defaultValue","onChange","editableFormRef"],U=["record","position","creatorButtonText","newRecordType","parentKey","style"],X=O.createContext(void 0);function N(n){var E=n.children,t=n.record,P=n.position,J=n.newRecordType,W=n.parentKey,ut=(0,O.useContext)(X);return O.cloneElement(E,(0,l.Z)((0,l.Z)({},E.props),{},{onClick:function(){var F=(0,v.Z)((0,M.Z)().mark(function Z(T){var lt,et,Y,kt;return(0,M.Z)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,(lt=(et=E.props).onClick)===null||lt===void 0?void 0:lt.call(et,T);case 2:if(kt=dt.sent,kt!==!1){dt.next=5;break}return dt.abrupt("return");case 5:ut==null||(Y=ut.current)===null||Y===void 0||Y.addEditRecord(t,{position:P,newRecordType:J,parentKey:W});case 6:case"end":return dt.stop()}},Z)}));function at(Z){return F.apply(this,arguments)}return at}()}))}function C(n){var E,t,P=(0,w.YB)(),J=n.onTableChange,W=n.maxLength,ut=n.formItemProps,F=n.recordCreatorProps,at=n.rowKey,Z=n.controlled,T=n.defaultValue,lt=n.onChange,et=n.editableFormRef,Y=(0,y.Z)(n,K),kt=(0,O.useRef)(void 0),Tt=(0,O.useRef)(),dt=(0,O.useRef)();(0,O.useImperativeHandle)(Y.actionRef,function(){return Tt.current},[Tt.current]);var Ot=(0,m.Z)(function(){return n.value||T||[]},{value:n.value,onChange:n.onChange}),Ft=(0,vt.Z)(Ot,2),z=Ft[0],Qt=Ft[1],Gt=O.useMemo(function(){return typeof at=="function"?at:function(ot,Pt){return ot[at]||Pt}},[at]),e=(0,s.J)(function(ot){if(typeof ot=="number"&&!n.name){if(ot>=z.length)return ot;var Pt=z&&z[ot];return Gt==null?void 0:Gt(Pt,ot)}if((typeof ot=="string"||ot>=z.length)&&n.name){var St=z.findIndex(function(bt,It){var gt;return(Gt==null||(gt=Gt(bt,It))===null||gt===void 0?void 0:gt.toString())===(ot==null?void 0:ot.toString())});if(St!==-1)return St}return ot});(0,O.useImperativeHandle)(et,function(){var ot=function(bt){var It,gt;if(bt==null)throw new Error("rowIndex is required");var Ut=e(bt),qt=[n.name,(It=Ut==null?void 0:Ut.toString())!==null&&It!==void 0?It:""].flat(1).filter(Boolean);return(gt=dt.current)===null||gt===void 0?void 0:gt.getFieldValue(qt)},Pt=function(){var bt,It=[n.name].flat(1).filter(Boolean);if(Array.isArray(It)&&It.length===0){var gt,Ut=(gt=dt.current)===null||gt===void 0?void 0:gt.getFieldsValue();return Array.isArray(Ut)?Ut:Object.keys(Ut).map(function(qt){return Ut[qt]})}return(bt=dt.current)===null||bt===void 0?void 0:bt.getFieldValue(It)};return(0,l.Z)((0,l.Z)({},dt.current),{},{getRowData:ot,getRowsData:Pt,setRowData:function(bt,It){var gt,Ut;if(bt==null)throw new Error("rowIndex is required");var qt=e(bt),Jt=[n.name,(gt=qt==null?void 0:qt.toString())!==null&&gt!==void 0?gt:""].flat(1).filter(Boolean),oe=Object.assign({},(0,l.Z)((0,l.Z)({},ot(bt)),It||{})),ae=(0,b.Z)({},Jt,oe);return(Ut=dt.current)===null||Ut===void 0||Ut.setFieldsValue(ae),!0}})},[e,n.name,dt.current]),(0,O.useEffect)(function(){n.controlled&&(z||[]).forEach(function(ot,Pt){var St;(St=dt.current)===null||St===void 0||St.setFieldsValue((0,st.Z)({},"".concat(Gt(ot,Pt)),ot))},{})},[(0,u.ZP)(z),n.controlled]),(0,O.useEffect)(function(){if(n.name){var ot;dt.current=n==null||(ot=n.editable)===null||ot===void 0?void 0:ot.form}},[(E=n.editable)===null||E===void 0?void 0:E.form,n.name]);var H=F||{},$=H.record,g=H.position,p=H.creatorButtonText,j=H.newRecordType,G=H.parentKey,V=H.style,R=(0,y.Z)(H,U),Q=g==="top",nt=(0,O.useMemo)(function(){return typeof W=="number"&&W<=(z==null?void 0:z.length)?!1:F!==!1&&(0,S.jsx)(N,{record:(0,_.h)($,z==null?void 0:z.length,z)||{},position:g,parentKey:(0,_.h)(G,z==null?void 0:z.length,z),newRecordType:j,children:(0,S.jsx)(h.ZP,(0,l.Z)((0,l.Z)({type:"dashed",style:(0,l.Z)({display:"block",margin:"10px 0",width:"100%"},V),icon:(0,S.jsx)(c.Z,{})},R),{},{children:p||P.getMessage("editableTable.action.add","\u6DFB\u52A0\u4E00\u884C\u6570\u636E")}))})},[F,W,z==null?void 0:z.length]),q=(0,O.useMemo)(function(){return nt?Q?{components:{header:{wrapper:function(Pt){var St,bt=Pt.className,It=Pt.children;return(0,S.jsxs)("thead",{className:bt,children:[It,(0,S.jsxs)("tr",{style:{position:"relative"},children:[(0,S.jsx)("td",{colSpan:0,style:{visibility:"hidden"},children:nt}),(0,S.jsx)("td",{style:{position:"absolute",left:0,width:"100%"},colSpan:(St=Y.columns)===null||St===void 0?void 0:St.length,children:nt})]})]})}}}}:{tableViewRender:function(Pt,St){var bt,It;return(0,S.jsxs)(S.Fragment,{children:[(bt=(It=n.tableViewRender)===null||It===void 0?void 0:It.call(n,Pt,St))!==null&&bt!==void 0?bt:St,nt]})}}:{}},[Q,nt]),ft=(0,l.Z)({},n.editable),Zt=(0,s.J)(function(ot,Pt){var St,bt,It;if((St=n.editable)===null||St===void 0||(bt=St.onValuesChange)===null||bt===void 0||bt.call(St,ot,Pt),(It=n.onValuesChange)===null||It===void 0||It.call(n,Pt,ot),n.controlled){var gt;n==null||(gt=n.onChange)===null||gt===void 0||gt.call(n,Pt)}});return(n!=null&&n.onValuesChange||(t=n.editable)!==null&&t!==void 0&&t.onValuesChange||n.controlled&&n!==null&&n!==void 0&&n.onChange)&&(ft.onValuesChange=Zt),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(X.Provider,{value:Tt,children:(0,S.jsx)(I.Z,(0,l.Z)((0,l.Z)((0,l.Z)({search:!1,options:!1,pagination:!1,rowKey:at,revalidateOnFocus:!1},Y),q),{},{tableLayout:"fixed",actionRef:Tt,onChange:J,editable:(0,l.Z)((0,l.Z)({},ft),{},{formProps:(0,l.Z)({formRef:dt},ft.formProps)}),dataSource:z,onDataSourceChange:function(Pt){if(Qt(Pt),n.name&&g==="top"){var St,bt=(0,b.Z)({},[n.name].flat(1).filter(Boolean),Pt);(St=dt.current)===null||St===void 0||St.setFieldsValue(bt)}}}))}),n.name?(0,S.jsx)(a.Z,{name:[n.name],children:function(Pt){var St,bt;if(!kt.current)return kt.current=z,null;var It=(0,o.Z)(Pt,[n.name].flat(1)),gt=It==null?void 0:It.find(function(Ut,qt){var Jt;return!(0,r.A)(Ut,(Jt=kt.current)===null||Jt===void 0?void 0:Jt[qt])});return kt.current=z,gt&&(n==null||(St=n.editable)===null||St===void 0||(bt=St.onValuesChange)===null||bt===void 0||bt.call(St,gt,It)),null}}):null]})}function A(n){var E=f.ZP.useFormInstance();return n.name?(0,S.jsx)(i.Z.Item,(0,l.Z)((0,l.Z)({style:{maxWidth:"100%"}},n==null?void 0:n.formItemProps),{},{name:n.name,shouldUpdate:function(P,J){var W=[n.name].flat(1);try{return JSON.stringify((0,o.Z)(P,W))!==JSON.stringify((0,o.Z)(J,W))}catch(ut){return!0}},children:(0,S.jsx)(C,(0,l.Z)((0,l.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n),{},{editable:(0,l.Z)((0,l.Z)({},n.editable),{},{form:E})}))})):(0,S.jsx)(C,(0,l.Z)({tableLayout:"fixed",scroll:{x:"max-content"}},n))}A.RecordCreator=N,rt.Z=A},93702:function(Nt,rt,B){"use strict";B.r(rt),B.d(rt,{__assign:function(){return v},__asyncDelegator:function(){return O},__asyncGenerator:function(){return b},__asyncValues:function(){return I},__await:function(){return o},__awaiter:function(){return w},__classPrivateFieldGet:function(){return X},__classPrivateFieldSet:function(){return N},__createBinding:function(){return u},__decorate:function(){return c},__exportStar:function(){return _},__extends:function(){return M},__generator:function(){return s},__importDefault:function(){return U},__importStar:function(){return K},__makeTemplateObject:function(){return S},__metadata:function(){return f},__param:function(){return a},__read:function(){return h},__rest:function(){return l},__spread:function(){return i},__spreadArrays:function(){return m},__values:function(){return r}});var st=B(52677),vt=B.n(st);var y=function(A,n){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,t){E.__proto__=t}||function(E,t){for(var P in t)t.hasOwnProperty(P)&&(E[P]=t[P])},y(A,n)};function M(C,A){y(C,A);function n(){this.constructor=C}C.prototype=A===null?Object.create(A):(n.prototype=A.prototype,new n)}var v=function(){return v=Object.assign||function(n){for(var E,t=1,P=arguments.length;t<P;t++){E=arguments[t];for(var J in E)Object.prototype.hasOwnProperty.call(E,J)&&(n[J]=E[J])}return n},v.apply(this,arguments)};function l(C,A){var n={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&A.indexOf(E)<0&&(n[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,E=Object.getOwnPropertySymbols(C);t<E.length;t++)A.indexOf(E[t])<0&&Object.prototype.propertyIsEnumerable.call(C,E[t])&&(n[E[t]]=C[E[t]]);return n}function c(C,A,n,E){var t=arguments.length,P=t<3?A:E===null?E=Object.getOwnPropertyDescriptor(A,n):E,J;if((typeof Reflect=="undefined"?"undefined":vt()(Reflect))==="object"&&typeof Reflect.decorate=="function")P=Reflect.decorate(C,A,n,E);else for(var W=C.length-1;W>=0;W--)(J=C[W])&&(P=(t<3?J(P):t>3?J(A,n,P):J(A,n))||P);return t>3&&P&&Object.defineProperty(A,n,P),P}function a(C,A){return function(n,E){A(n,E,C)}}function f(C,A){if((typeof Reflect=="undefined"?"undefined":vt()(Reflect))==="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(C,A)}function w(C,A,n,E){function t(P){return P instanceof n?P:new n(function(J){J(P)})}return new(n||(n=Promise))(function(P,J){function W(at){try{F(E.next(at))}catch(Z){J(Z)}}function ut(at){try{F(E.throw(at))}catch(Z){J(Z)}}function F(at){at.done?P(at.value):t(at.value).then(W,ut)}F((E=E.apply(C,A||[])).next())})}function s(C,A){var n={label:0,sent:function(){if(P[0]&1)throw P[1];return P[1]},trys:[],ops:[]},E,t,P,J;return J={next:W(0),throw:W(1),return:W(2)},typeof Symbol=="function"&&(J[Symbol.iterator]=function(){return this}),J;function W(F){return function(at){return ut([F,at])}}function ut(F){if(E)throw new TypeError("Generator is already executing.");for(;n;)try{if(E=1,t&&(P=F[0]&2?t.return:F[0]?t.throw||((P=t.return)&&P.call(t),0):t.next)&&!(P=P.call(t,F[1])).done)return P;switch(t=0,P&&(F=[F[0]&2,P.value]),F[0]){case 0:case 1:P=F;break;case 4:return n.label++,{value:F[1],done:!1};case 5:n.label++,t=F[1],F=[0];continue;case 7:F=n.ops.pop(),n.trys.pop();continue;default:if(P=n.trys,!(P=P.length>0&&P[P.length-1])&&(F[0]===6||F[0]===2)){n=0;continue}if(F[0]===3&&(!P||F[1]>P[0]&&F[1]<P[3])){n.label=F[1];break}if(F[0]===6&&n.label<P[1]){n.label=P[1],P=F;break}if(P&&n.label<P[2]){n.label=P[2],n.ops.push(F);break}P[2]&&n.ops.pop(),n.trys.pop();continue}F=A.call(C,n)}catch(at){F=[6,at],t=0}finally{E=P=0}if(F[0]&5)throw F[1];return{value:F[0]?F[1]:void 0,done:!0}}}function u(C,A,n,E){E===void 0&&(E=n),C[E]=A[n]}function _(C,A){for(var n in C)n!=="default"&&!A.hasOwnProperty(n)&&(A[n]=C[n])}function r(C){var A=typeof Symbol=="function"&&Symbol.iterator,n=A&&C[A],E=0;if(n)return n.call(C);if(C&&typeof C.length=="number")return{next:function(){return C&&E>=C.length&&(C=void 0),{value:C&&C[E++],done:!C}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(C,A){var n=typeof Symbol=="function"&&C[Symbol.iterator];if(!n)return C;var E=n.call(C),t,P=[],J;try{for(;(A===void 0||A-- >0)&&!(t=E.next()).done;)P.push(t.value)}catch(W){J={error:W}}finally{try{t&&!t.done&&(n=E.return)&&n.call(E)}finally{if(J)throw J.error}}return P}function i(){for(var C=[],A=0;A<arguments.length;A++)C=C.concat(h(arguments[A]));return C}function m(){for(var C=0,A=0,n=arguments.length;A<n;A++)C+=arguments[A].length;for(var E=Array(C),t=0,A=0;A<n;A++)for(var P=arguments[A],J=0,W=P.length;J<W;J++,t++)E[t]=P[J];return E}function o(C){return this instanceof o?(this.v=C,this):new o(C)}function b(C,A,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=n.apply(C,A||[]),t,P=[];return t={},J("next"),J("throw"),J("return"),t[Symbol.asyncIterator]=function(){return this},t;function J(T){E[T]&&(t[T]=function(lt){return new Promise(function(et,Y){P.push([T,lt,et,Y])>1||W(T,lt)})})}function W(T,lt){try{ut(E[T](lt))}catch(et){Z(P[0][3],et)}}function ut(T){T.value instanceof o?Promise.resolve(T.value.v).then(F,at):Z(P[0][2],T)}function F(T){W("next",T)}function at(T){W("throw",T)}function Z(T,lt){T(lt),P.shift(),P.length&&W(P[0][0],P[0][1])}}function O(C){var A,n;return A={},E("next"),E("throw",function(t){throw t}),E("return"),A[Symbol.iterator]=function(){return this},A;function E(t,P){A[t]=C[t]?function(J){return(n=!n)?{value:o(C[t](J)),done:t==="return"}:P?P(J):J}:P}}function I(C){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=C[Symbol.asyncIterator],n;return A?A.call(C):(C=typeof r=="function"?r(C):C[Symbol.iterator](),n={},E("next"),E("throw"),E("return"),n[Symbol.asyncIterator]=function(){return this},n);function E(P){n[P]=C[P]&&function(J){return new Promise(function(W,ut){J=C[P](J),t(W,ut,J.done,J.value)})}}function t(P,J,W,ut){Promise.resolve(ut).then(function(F){P({value:F,done:W})},J)}}function S(C,A){return Object.defineProperty?Object.defineProperty(C,"raw",{value:A}):C.raw=A,C}function K(C){if(C&&C.__esModule)return C;var A={};if(C!=null)for(var n in C)Object.hasOwnProperty.call(C,n)&&(A[n]=C[n]);return A.default=C,A}function U(C){return C&&C.__esModule?C:{default:C}}function X(C,A){if(!A.has(C))throw new TypeError("attempted to get private field on non-instance");return A.get(C)}function N(C,A,n){if(!A.has(C))throw new TypeError("attempted to set private field on non-instance");return A.set(C,n),n}},86250:function(Nt,rt,B){"use strict";B.d(rt,{Z:function(){return N}});var st=B(62435),vt=B(93967),y=B.n(vt),M=B(98423),v=B(98065),l=B(53124),c=B(92030),a=B(45503);const f=["wrap","nowrap","wrap-reverse"],w=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],s=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],u=(C,A)=>{const n=A.wrap===!0?"wrap":A.wrap;return{[`${C}-wrap-${n}`]:n&&f.includes(n)}},_=(C,A)=>{const n={};return s.forEach(E=>{n[`${C}-align-${E}`]=A.align===E}),n[`${C}-align-stretch`]=!A.align&&!!A.vertical,n},r=(C,A)=>{const n={};return w.forEach(E=>{n[`${C}-justify-${E}`]=A.justify===E}),n};function h(C,A){return y()(Object.assign(Object.assign(Object.assign({},u(C,A)),_(C,A)),r(C,A)))}var i=h;const m=C=>{const{componentCls:A}=C;return{[A]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},o=C=>{const{componentCls:A}=C;return{[A]:{"&-gap-small":{gap:C.flexGapSM},"&-gap-middle":{gap:C.flexGap},"&-gap-large":{gap:C.flexGapLG}}}},b=C=>{const{componentCls:A}=C,n={};return f.forEach(E=>{n[`${A}-wrap-${E}`]={flexWrap:E}}),n},O=C=>{const{componentCls:A}=C,n={};return s.forEach(E=>{n[`${A}-align-${E}`]={alignItems:E}}),n},I=C=>{const{componentCls:A}=C,n={};return w.forEach(E=>{n[`${A}-justify-${E}`]={justifyContent:E}}),n},S=()=>({});var K=(0,c.I$)("Flex",C=>{const{paddingXS:A,padding:n,paddingLG:E}=C,t=(0,a.TS)(C,{flexGapSM:A,flexGap:n,flexGapLG:E});return[m(t),o(t),b(t),O(t),I(t)]},S,{resetStyle:!1}),U=function(C,A){var n={};for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&A.indexOf(E)<0&&(n[E]=C[E]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var t=0,E=Object.getOwnPropertySymbols(C);t<E.length;t++)A.indexOf(E[t])<0&&Object.prototype.propertyIsEnumerable.call(C,E[t])&&(n[E[t]]=C[E[t]]);return n},N=st.forwardRef((C,A)=>{const{prefixCls:n,rootClassName:E,className:t,style:P,flex:J,gap:W,children:ut,vertical:F=!1,component:at="div"}=C,Z=U(C,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:T,direction:lt,getPrefixCls:et}=st.useContext(l.E_),Y=et("flex",n),[kt,Tt,dt]=K(Y),Ot=F!=null?F:T==null?void 0:T.vertical,Ft=y()(t,E,T==null?void 0:T.className,Y,Tt,dt,i(Y,C),{[`${Y}-rtl`]:lt==="rtl",[`${Y}-gap-${W}`]:(0,v.n)(W),[`${Y}-vertical`]:Ot}),z=Object.assign(Object.assign({},T==null?void 0:T.style),P);return J&&(z.flex=J),W&&!(0,v.n)(W)&&(z.gap=W),kt(st.createElement(at,Object.assign({ref:A,className:Ft,style:z},(0,M.Z)(Z,["justify","wrap","align"])),ut))})},23087:function(Nt,rt,B){"use strict";var st=B(34155);Object.defineProperty(rt,"__esModule",{value:!0});var vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},y=typeof window!="undefined"&&typeof window.document!="undefined",M=(typeof self=="undefined"?"undefined":vt(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",v=typeof st!="undefined"&&st.versions!=null&&st.versions.node!=null,l=function(){return typeof window!="undefined"&&window.name==="nodejs"||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")};rt.isBrowser=y,rt.isWebWorker=M,rt.isNode=v,rt.isJsDom=l},93162:function(Nt,rt,B){var st,vt,y;(function(M,v){vt=[],st=v,y=typeof st=="function"?st.apply(rt,vt):st,y!==void 0&&(Nt.exports=y)})(this,function(){"use strict";function M(s,u){return typeof u=="undefined"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function v(s,u,_){var r=new XMLHttpRequest;r.open("GET",s),r.responseType="blob",r.onload=function(){w(r.response,u,_)},r.onerror=function(){console.error("could not download file")},r.send()}function l(s){var u=new XMLHttpRequest;u.open("HEAD",s,!1);try{u.send()}catch(_){}return 200<=u.status&&299>=u.status}function c(s){try{s.dispatchEvent(new MouseEvent("click"))}catch(_){var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof B.g=="object"&&B.g.global===B.g?B.g:void 0,f=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),w=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(s,u,_){var r=a.URL||a.webkitURL,h=document.createElement("a");u=u||s.name||"download",h.download=u,h.rel="noopener",typeof s=="string"?(h.href=s,h.origin===location.origin?c(h):l(h.href)?v(s,u,_):c(h,h.target="_blank")):(h.href=r.createObjectURL(s),setTimeout(function(){r.revokeObjectURL(h.href)},4e4),setTimeout(function(){c(h)},0))}:"msSaveOrOpenBlob"in navigator?function(s,u,_){if(u=u||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(M(s,_),u);else if(l(s))v(s,u,_);else{var r=document.createElement("a");r.href=s,r.target="_blank",setTimeout(function(){c(r)})}}:function(s,u,_,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof s=="string")return v(s,u,_);var h=s.type==="application/octet-stream",i=/constructor/i.test(a.HTMLElement)||a.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&i||f)&&typeof FileReader!="undefined"){var o=new FileReader;o.onloadend=function(){var I=o.result;I=m?I:I.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=I:location=I,r=null},o.readAsDataURL(s)}else{var b=a.URL||a.webkitURL,O=b.createObjectURL(s);r?r.location=O:location.href=O,r=null,setTimeout(function(){b.revokeObjectURL(O)},4e4)}});a.saveAs=w.saveAs=w,Nt.exports=w})},88130:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.contentTypesXml=void 0,rt.contentTypesXml=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  11. <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
  12. <Default Extension="rels" ContentType=
  13. "application/vnd.openxmlformats-package.relationships+xml" />
  14. <Override PartName="/word/document.xml" ContentType=
  15. "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
  16. <Override PartName="/word/afchunk.mht" ContentType="message/rfc822"/>
  17. </Types>
  18. `},6603:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.documentXmlRels=void 0,rt.documentXmlRels=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  19. <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  20. <Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk"
  21. Target="/word/afchunk.mht" Id="htmlChunk" />
  22. </Relationships>
  23. `},29186:function(Nt,rt,B){"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var st=B(93702);st.__exportStar(B(88130),rt),st.__exportStar(B(6603),rt),st.__exportStar(B(33857),rt)},33857:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.relsXml=void 0,rt.relsXml=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  24. <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
  25. <Relationship
  26. Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"
  27. Target="/word/document.xml" Id="R09c83fafc067488e" />
  28. </Relationships>
  29. `},97088:function(Nt,rt,B){"use strict";var st;st={value:!0},rt.m=void 0;var vt=B(93702),y=B(68547),M=B(13797);function v(l,c){return c===void 0&&(c={}),vt.__awaiter(this,void 0,void 0,function(){var a;return vt.__generator(this,function(f){switch(f.label){case 0:return a=new M,y.addFiles(a,l,c),[4,y.generateDocument(a)];case 1:return[2,f.sent()]}})})}rt.m=v},68547:function(Nt,rt,B){"use strict";var st=B(48764).lW;Object.defineProperty(rt,"__esModule",{value:!0}),rt.addFiles=rt.generateDocument=void 0;var vt=B(93702),y=B(14913),M=B(29186),v=B(17237),l=B(23087),c={orientation:"portrait",margins:{}};function a(_,r){return vt.__assign(vt.__assign({},_),r)}function f(_){return vt.__awaiter(this,void 0,void 0,function(){var r;return vt.__generator(this,function(h){switch(h.label){case 0:return[4,_.generateAsync({type:"arraybuffer"})];case 1:return r=h.sent(),l.isBrowser?[2,new Blob([r],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})]:[2,new st(new Uint8Array(r))]}})})}rt.generateDocument=f;function w(_){return l.isBrowser?new Blob([_]):new st(_,"utf-8")}function s(_){var r=_.orientation,h=_.margins,i=a(v.defaultMargins,h),m=0,o=0;return r==="landscape"?(o=12240,m=15840):(m=12240,o=15840),v.documentTemplate(m,o,r,i)}function u(_,r,h){var i=a(c,h);return _.file("[Content_Types].xml",w(M.contentTypesXml),{createFolders:!1}),_.folder("_rels").file(".rels",w(M.relsXml),{createFolders:!1}),_.folder("word").file("document.xml",s(i),{createFolders:!1}).file("afchunk.mht",y.getMHTdocument(r),{createFolders:!1}).folder("_rels").file("document.xml.rels",w(M.documentXmlRels),{createFolders:!1})}rt.addFiles=u},36077:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.documentTemplate=rt.defaultMargins=void 0,rt.defaultMargins={top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0},rt.documentTemplate=function(B,st,vt,y){return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  30. <w:document
  31. xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
  32. xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
  33. xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
  34. xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
  35. xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
  36. xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"
  37. xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"
  38. xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
  39. xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
  40. xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
  41. xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
  42. xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"
  43. xmlns:ns13="urn:schemas-microsoft-com:office:excel"
  44. xmlns:o="urn:schemas-microsoft-com:office:office"
  45. xmlns:v="urn:schemas-microsoft-com:vml"
  46. xmlns:w10="urn:schemas-microsoft-com:office:word"
  47. xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"
  48. xmlns:odx="http://opendope.org/xpaths"
  49. xmlns:odc="http://opendope.org/conditions"
  50. xmlns:odq="http://opendope.org/questions"
  51. xmlns:odi="http://opendope.org/components"
  52. xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"
  53. xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"
  54. xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"
  55. xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">
  56. <w:body>
  57. <w:altChunk r:id="htmlChunk" />
  58. <w:sectPr>
  59. <w:pgSz w:w="`+B+'" w:h="'+st+'" w:orient="'+vt+`" />
  60. <w:pgMar w:top="`+y.top+`"
  61. w:right="`+y.right+`"
  62. w:bottom="`+y.bottom+`"
  63. w:left="`+y.left+`"
  64. w:header="`+y.header+`"
  65. w:footer="`+y.footer+`"
  66. w:gutter="`+y.gutter+`"/>
  67. </w:sectPr>
  68. </w:body>
  69. </w:document>
  70. `}},17237:function(Nt,rt,B){"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var st=B(93702);st.__exportStar(B(36077),rt),st.__exportStar(B(93832),rt),st.__exportStar(B(567),rt)},93832:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.mhtDocumentTemplate=void 0,rt.mhtDocumentTemplate=function(B,st){return`MIME-Version: 1.0
  71. Content-Type: multipart/related;
  72. type="text/html";
  73. boundary="----=mhtDocumentPart"
  74. ------=mhtDocumentPart
  75. Content-Type: text/html;
  76. charset="utf-8"
  77. Content-Transfer-Encoding: quoted-printable
  78. Content-Location: file:///C:/fake/document.html
  79. `+B+`
  80. `+st+`
  81. ------=mhtDocumentPart--
  82. `}},567:function(Nt,rt){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.mhtPartTemplate=void 0,rt.mhtPartTemplate=function(B,st,vt,y){return`------=mhtDocumentPart
  83. Content-Type: `+B+`
  84. Content-Transfer-Encoding: `+st+`
  85. Content-Location: `+vt+`
  86. `+y+`
  87. `}},14913:function(Nt,rt,B){"use strict";Object.defineProperty(rt,"__esModule",{value:!0}),rt.getMHTdocument=void 0;var st=B(17237);function vt(M){var v=y(M),l=v.imageContentParts.join(`
  88. `);return M=v.htmlSource.replace(/\=/g,"=3D"),st.mhtDocumentTemplate(M,l)}rt.getMHTdocument=vt;function y(M){var v=[],l=/"data:(\w+\/\w+);(\w+),(\S+)"/g,c=function(a,f,w,s){var u=v.length,_=f.split("/")[1],r="file:///C:/fake/image"+u+"."+_;return v.push(st.mhtPartTemplate(f,w,r,s)),'"'+r+'"'};return/<img/g.test(M)?(M=M.replace(l,c),{htmlSource:M,imageContentParts:v}):{htmlSource:M,imageContentParts:v}}},13797:function(Nt,rt,B){var st=B(48764).lW,vt=B(34155);(function(y){Nt.exports=y()})(function(){return function y(M,v,l){function c(w,s){if(!v[w]){if(!M[w]){var u=void 0;if(!s&&u)return require(w,!0);if(a)return a(w,!0);var _=new Error("Cannot find module '"+w+"'");throw _.code="MODULE_NOT_FOUND",_}var r=v[w]={exports:{}};M[w][0].call(r.exports,function(h){var i=M[w][1][h];return c(i||h)},r,r.exports,y,M,v,l)}return v[w].exports}for(var a=void 0,f=0;f<l.length;f++)c(l[f]);return c}({1:[function(y,M,v){"use strict";var l=y("./utils"),c=y("./support"),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";v.encode=function(f){for(var w,s,u,_,r,h,i,m=[],o=0,b=f.length,O=b,I=l.getTypeOf(f)!=="string";o<f.length;)O=b-o,u=I?(w=f[o++],s=o<b?f[o++]:0,o<b?f[o++]:0):(w=f.charCodeAt(o++),s=o<b?f.charCodeAt(o++):0,o<b?f.charCodeAt(o++):0),_=w>>2,r=(3&w)<<4|s>>4,h=1<O?(15&s)<<2|u>>6:64,i=2<O?63&u:64,m.push(a.charAt(_)+a.charAt(r)+a.charAt(h)+a.charAt(i));return m.join("")},v.decode=function(f){var w,s,u,_,r,h,i=0,m=0,o="data:";if(f.substr(0,o.length)===o)throw new Error("Invalid base64 input, it looks like a data url.");var b,O=3*(f=f.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(f.charAt(f.length-1)===a.charAt(64)&&O--,f.charAt(f.length-2)===a.charAt(64)&&O--,O%1!=0)throw new Error("Invalid base64 input, bad content length.");for(b=c.uint8array?new Uint8Array(0|O):new Array(0|O);i<f.length;)w=a.indexOf(f.charAt(i++))<<2|(_=a.indexOf(f.charAt(i++)))>>4,s=(15&_)<<4|(r=a.indexOf(f.charAt(i++)))>>2,u=(3&r)<<6|(h=a.indexOf(f.charAt(i++))),b[m++]=w,r!==64&&(b[m++]=s),h!==64&&(b[m++]=u);return b}},{"./support":30,"./utils":32}],2:[function(y,M,v){"use strict";var l=y("./external"),c=y("./stream/DataWorker"),a=y("./stream/Crc32Probe"),f=y("./stream/DataLengthProbe");function w(s,u,_,r,h){this.compressedSize=s,this.uncompressedSize=u,this.crc32=_,this.compression=r,this.compressedContent=h}w.prototype={getContentWorker:function(){var s=new c(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new f("data_length")),u=this;return s.on("end",function(){if(this.streamInfo.data_length!==u.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),s},getCompressedWorker:function(){return new c(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},w.createWorkerFrom=function(s,u,_){return s.pipe(new a).pipe(new f("uncompressedSize")).pipe(u.compressWorker(_)).pipe(new f("compressedSize")).withStreamInfo("compression",u)},M.exports=w},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(y,M,v){"use strict";var l=y("./stream/GenericWorker");v.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},v.DEFLATE=y("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(y,M,v){"use strict";var l=y("./utils"),c=function(){for(var a,f=[],w=0;w<256;w++){a=w;for(var s=0;s<8;s++)a=1&a?3988292384^a>>>1:a>>>1;f[w]=a}return f}();M.exports=function(a,f){return a!==void 0&&a.length?l.getTypeOf(a)!=="string"?function(w,s,u,_){var r=c,h=_+u;w^=-1;for(var i=_;i<h;i++)w=w>>>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<h;i++)w=w>>>8^r[255&(w^s.charCodeAt(i))];return-1^w}(0|f,a,a.length,0):0}},{"./utils":32}],5:[function(y,M,v){"use strict";v.base64=!1,v.binary=!1,v.dir=!1,v.createFolders=!0,v.date=null,v.compression=null,v.compressionOptions=null,v.comment=null,v.unixPermissions=null,v.dosPermissions=null},{}],6:[function(y,M,v){"use strict";var l=null;l=typeof Promise!="undefined"?Promise:y("lie"),M.exports={Promise:l}},{lie:37}],7:[function(y,M,v){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",c=y("pako"),a=y("./utils"),f=y("./stream/GenericWorker"),w=l?"uint8array":"array";function s(u,_){f.call(this,"FlateWorker/"+u),this._pako=null,this._pakoAction=u,this._pakoOptions=_,this.meta={}}v.magic="\b\0",a.inherits(s,f),s.prototype.processChunk=function(u){this.meta=u.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(w,u.data),!1)},s.prototype.flush=function(){f.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new c[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var u=this;this._pako.onData=function(_){u.push({data:_,meta:u.meta})}},v.compressWorker=function(u){return new s("Deflate",u)},v.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(y,M,v){"use strict";function l(r,h){var i,m="";for(i=0;i<h;i++)m+=String.fromCharCode(255&r),r>>>=8;return m}function c(r,h,i,m,o,b){var O,I,S=r.file,K=r.compression,U=b!==w.utf8encode,X=a.transformTo("string",b(S.name)),N=a.transformTo("string",w.utf8encode(S.name)),C=S.comment,A=a.transformTo("string",b(C)),n=a.transformTo("string",w.utf8encode(C)),E=N.length!==S.name.length,t=n.length!==C.length,P="",J="",W="",ut=S.dir,F=S.date,at={crc32:0,compressedSize:0,uncompressedSize:0};h&&!i||(at.crc32=r.crc32,at.compressedSize=r.compressedSize,at.uncompressedSize=r.uncompressedSize);var Z=0;h&&(Z|=8),U||!E&&!t||(Z|=2048);var T=0,lt=0;ut&&(T|=16),o==="UNIX"?(lt=798,T|=function(Y,kt){var Tt=Y;return Y||(Tt=kt?16893:33204),(65535&Tt)<<16}(S.unixPermissions,ut)):(lt=20,T|=function(Y){return 63&(Y||0)}(S.dosPermissions)),O=F.getUTCHours(),O<<=6,O|=F.getUTCMinutes(),O<<=5,O|=F.getUTCSeconds()/2,I=F.getUTCFullYear()-1980,I<<=4,I|=F.getUTCMonth()+1,I<<=5,I|=F.getUTCDate(),E&&(J=l(1,1)+l(s(X),4)+N,P+="up"+l(J.length,2)+J),t&&(W=l(1,1)+l(s(A),4)+n,P+="uc"+l(W.length,2)+W);var et="";return et+=`
  89. \0`,et+=l(Z,2),et+=K.magic,et+=l(O,2),et+=l(I,2),et+=l(at.crc32,4),et+=l(at.compressedSize,4),et+=l(at.uncompressedSize,4),et+=l(X.length,2),et+=l(P.length,2),{fileRecord:u.LOCAL_FILE_HEADER+et+X+P,dirRecord:u.CENTRAL_FILE_HEADER+l(lt,2)+et+l(A.length,2)+"\0\0\0\0"+l(T,4)+l(m,4)+X+P+A}}var a=y("../utils"),f=y("../stream/GenericWorker"),w=y("../utf8"),s=y("../crc32"),u=y("../signature");function _(r,h,i,m){f.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=i,this.encodeFileName=m,this.streamFiles=r,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(_,f),_.prototype.push=function(r){var h=r.meta.percent||0,i=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(r):(this.bytesWritten+=r.data.length,f.prototype.push.call(this,{data:r.data,meta:{currentFile:this.currentFile,percent:i?(h+100*(i-m-1))/i:100}}))},_.prototype.openedSource=function(r){this.currentSourceOffset=this.bytesWritten,this.currentFile=r.file.name;var h=this.streamFiles&&!r.file.dir;if(h){var i=c(r,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},_.prototype.closedSource=function(r){this.accumulate=!1;var h=this.streamFiles&&!r.file.dir,i=c(r,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),h)this.push({data:function(m){return u.DATA_DESCRIPTOR+l(m.crc32,4)+l(m.compressedSize,4)+l(m.uncompressedSize,4)}(r),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},_.prototype.flush=function(){for(var r=this.bytesWritten,h=0;h<this.dirRecords.length;h++)this.push({data:this.dirRecords[h],meta:{percent:100}});var i=this.bytesWritten-r,m=function(o,b,O,I,S){var K=a.transformTo("string",S(I));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(o,2)+l(o,2)+l(b,4)+l(O,4)+l(K.length,2)+K}(this.dirRecords.length,i,r,this.zipComment,this.encodeFileName);this.push({data:m,meta:{percent:100}})},_.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},_.prototype.registerPrevious=function(r){this._sources.push(r);var h=this;return r.on("data",function(i){h.processChunk(i)}),r.on("end",function(){h.closedSource(h.previous.streamInfo),h._sources.length?h.prepareNextSource():h.end()}),r.on("error",function(i){h.error(i)}),this},_.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},_.prototype.error=function(r){var h=this._sources;if(!f.prototype.error.call(this,r))return!1;for(var i=0;i<h.length;i++)try{h[i].error(r)}catch(m){}return!0},_.prototype.lock=function(){f.prototype.lock.call(this);for(var r=this._sources,h=0;h<r.length;h++)r[h].lock()},M.exports=_},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(y,M,v){"use strict";var l=y("../compressions"),c=y("./ZipFileWorker");v.generateWorker=function(a,f,w){var s=new c(f.streamFiles,w,f.platform,f.encodeFileName),u=0;try{a.forEach(function(_,r){u++;var h=function(b,O){var I=b||O,S=l[I];if(!S)throw new Error(I+" is not a valid compression method !");return S}(r.options.compression,f.compression),i=r.options.compressionOptions||f.compressionOptions||{},m=r.dir,o=r.date;r._compressWorker(h,i).withStreamInfo("file",{name:_,dir:m,date:o,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(s)}),s.entriesCount=u}catch(_){s.error(_)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(y,M,v){"use strict";function l(){if(!(this instanceof l))return new l;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var c=new l;for(var a in this)typeof this[a]!="function"&&(c[a]=this[a]);return c}}(l.prototype=y("./object")).loadAsync=y("./load"),l.support=y("./support"),l.defaults=y("./defaults"),l.version="3.10.1",l.loadAsync=function(c,a){return new l().loadAsync(c,a)},l.external=y("./external"),M.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(y,M,v){"use strict";var l=y("./utils"),c=y("./external"),a=y("./utf8"),f=y("./zipEntries"),w=y("./stream/Crc32Probe"),s=y("./nodejsUtils");function u(_){return new c.Promise(function(r,h){var i=_.decompressed.getContentWorker().pipe(new w);i.on("error",function(m){h(m)}).on("end",function(){i.streamInfo.crc32!==_.decompressed.crc32?h(new Error("Corrupted zip : CRC32 mismatch")):r()}).resume()})}M.exports=function(_,r){var h=this;return r=l.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),s.isNode&&s.isStream(_)?c.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",_,!0,r.optimizedBinaryString,r.base64).then(function(i){var m=new f(r);return m.load(i),m}).then(function(i){var m=[c.Promise.resolve(i)],o=i.files;if(r.checkCRC32)for(var b=0;b<o.length;b++)m.push(u(o[b]));return c.Promise.all(m)}).then(function(i){for(var m=i.shift(),o=m.files,b=0;b<o.length;b++){var O=o[b],I=O.fileNameStr,S=l.resolve(O.fileNameStr);h.file(S,O.decompressed,{binary:!0,optimizedBinaryString:!0,date:O.date,dir:O.dir,comment:O.fileCommentStr.length?O.fileCommentStr:null,unixPermissions:O.unixPermissions,dosPermissions:O.dosPermissions,createFolders:r.createFolders}),O.dir||(h.file(S).unsafeOriginalName=I)}return m.zipComment.length&&(h.comment=m.zipComment),h})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(y,M,v){"use strict";var l=y("../utils"),c=y("../stream/GenericWorker");function a(f,w){c.call(this,"Nodejs stream input adapter for "+f),this._upstreamEnded=!1,this._bindStream(w)}l.inherits(a,c),a.prototype._bindStream=function(f){var w=this;(this._stream=f).pause(),f.on("data",function(s){w.push({data:s,meta:{percent:0}})}).on("error",function(s){w.isPaused?this.generatedError=s:w.error(s)}).on("end",function(){w.isPaused?w._upstreamEnded=!0:w.end()})},a.prototype.pause=function(){return!!c.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},M.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(y,M,v){"use strict";var l=y("readable-stream").Readable;function c(a,f,w){l.call(this,f),this._helper=a;var s=this;a.on("data",function(u,_){s.push(u)||s._helper.pause(),w&&w(_)}).on("error",function(u){s.emit("error",u)}).on("end",function(){s.push(null)})}y("../utils").inherits(c,l),c.prototype._read=function(){this._helper.resume()},M.exports=c},{"../utils":32,"readable-stream":16}],14:[function(y,M,v){"use strict";M.exports={isNode:typeof st!="undefined",newBufferFrom:function(l,c){if(st.from&&st.from!==Uint8Array.from)return st.from(l,c);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new st(l,c)},allocBuffer:function(l){if(st.alloc)return st.alloc(l);var c=new st(l);return c.fill(0),c},isBuffer:function(l){return st.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(y,M,v){"use strict";function l(S,K,U){var X,N=a.getTypeOf(K),C=a.extend(U||{},s);C.date=C.date||new Date,C.compression!==null&&(C.compression=C.compression.toUpperCase()),typeof C.unixPermissions=="string"&&(C.unixPermissions=parseInt(C.unixPermissions,8)),C.unixPermissions&&16384&C.unixPermissions&&(C.dir=!0),C.dosPermissions&&16&C.dosPermissions&&(C.dir=!0),C.dir&&(S=o(S)),C.createFolders&&(X=m(S))&&b.call(this,X,!0);var A=N==="string"&&C.binary===!1&&C.base64===!1;U&&U.binary!==void 0||(C.binary=!A),(K instanceof u&&K.uncompressedSize===0||C.dir||!K||K.length===0)&&(C.base64=!1,C.binary=!0,K="",C.compression="STORE",N="string");var n=null;n=K instanceof u||K instanceof f?K:h.isNode&&h.isStream(K)?new i(S,K):a.prepareContent(S,K,C.binary,C.optimizedBinaryString,C.base64);var E=new _(S,n,C);this.files[S]=E}var c=y("./utf8"),a=y("./utils"),f=y("./stream/GenericWorker"),w=y("./stream/StreamHelper"),s=y("./defaults"),u=y("./compressedObject"),_=y("./zipObject"),r=y("./generate"),h=y("./nodejsUtils"),i=y("./nodejs/NodejsStreamInputAdapter"),m=function(S){S.slice(-1)==="/"&&(S=S.substring(0,S.length-1));var K=S.lastIndexOf("/");return 0<K?S.substring(0,K):""},o=function(S){return S.slice(-1)!=="/"&&(S+="/"),S},b=function(S,K){return K=K!==void 0?K:s.createFolders,S=o(S),this.files[S]||l.call(this,S,null,{dir:!0,createFolders:K}),this.files[S]};function O(S){return Object.prototype.toString.call(S)==="[object RegExp]"}var I={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(S){var K,U,X;for(K in this.files)X=this.files[K],(U=K.slice(this.root.length,K.length))&&K.slice(0,this.root.length)===this.root&&S(U,X)},filter:function(S){var K=[];return this.forEach(function(U,X){S(U,X)&&K.push(X)}),K},file:function(S,K,U){if(arguments.length!==1)return S=this.root+S,l.call(this,S,K,U),this;if(O(S)){var X=S;return this.filter(function(C,A){return!A.dir&&X.test(C)})}var N=this.files[this.root+S];return N&&!N.dir?N:null},folder:function(S){if(!S)return this;if(O(S))return this.filter(function(N,C){return C.dir&&S.test(N)});var K=this.root+S,U=b.call(this,K),X=this.clone();return X.root=U.name,X},remove:function(S){S=this.root+S;var K=this.files[S];if(K||(S.slice(-1)!=="/"&&(S+="/"),K=this.files[S]),K&&!K.dir)delete this.files[S];else for(var U=this.filter(function(N,C){return C.name.slice(0,S.length)===S}),X=0;X<U.length;X++)delete this.files[U[X].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(S){var K,U={};try{if((U=a.extend(S||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:c.utf8encode})).type=U.type.toLowerCase(),U.compression=U.compression.toUpperCase(),U.type==="binarystring"&&(U.type="string"),!U.type)throw new Error("No output type specified.");a.checkSupport(U.type),U.platform!=="darwin"&&U.platform!=="freebsd"&&U.platform!=="linux"&&U.platform!=="sunos"||(U.platform="UNIX"),U.platform==="win32"&&(U.platform="DOS");var X=U.comment||this.comment||"";K=r.generateWorker(this,U,X)}catch(N){(K=new f("error")).error(N)}return new w(K,U.type||"string",U.mimeType)},generateAsync:function(S,K){return this.generateInternalStream(S).accumulate(K)},generateNodeStream:function(S,K){return(S=S||{}).type||(S.type="nodebuffer"),this.generateInternalStream(S).toNodejsStream(K)}};M.exports=I},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(y,M,v){"use strict";M.exports=y("stream")},{stream:void 0}],17:[function(y,M,v){"use strict";var l=y("./DataReader");function c(a){l.call(this,a);for(var f=0;f<this.data.length;f++)a[f]=255&a[f]}y("../utils").inherits(c,l),c.prototype.byteAt=function(a){return this.data[this.zero+a]},c.prototype.lastIndexOfSignature=function(a){for(var f=a.charCodeAt(0),w=a.charCodeAt(1),s=a.charCodeAt(2),u=a.charCodeAt(3),_=this.length-4;0<=_;--_)if(this.data[_]===f&&this.data[_+1]===w&&this.data[_+2]===s&&this.data[_+3]===u)return _-this.zero;return-1},c.prototype.readAndCheckSignature=function(a){var f=a.charCodeAt(0),w=a.charCodeAt(1),s=a.charCodeAt(2),u=a.charCodeAt(3),_=this.readData(4);return f===_[0]&&w===_[1]&&s===_[2]&&u===_[3]},c.prototype.readData=function(a){if(this.checkOffset(a),a===0)return[];var f=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./DataReader":18}],18:[function(y,M,v){"use strict";var l=y("../utils");function c(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}c.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length<this.zero+a||a<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+a+"). Corrupted zip ?")},setIndex:function(a){this.checkIndex(a),this.index=a},skip:function(a){this.setIndex(this.index+a)},byteAt:function(){},readInt:function(a){var f,w=0;for(this.checkOffset(a),f=this.index+a-1;f>=this.index;f--)w=(w<<8)+this.byteAt(f);return this.index+=a,w},readString:function(a){return l.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},M.exports=c},{"../utils":32}],19:[function(y,M,v){"use strict";var l=y("./Uint8ArrayReader");function c(a){l.call(this,a)}y("../utils").inherits(c,l),c.prototype.readData=function(a){this.checkOffset(a);var f=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(y,M,v){"use strict";var l=y("./DataReader");function c(a){l.call(this,a)}y("../utils").inherits(c,l),c.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},c.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},c.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},c.prototype.readData=function(a){this.checkOffset(a);var f=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./DataReader":18}],21:[function(y,M,v){"use strict";var l=y("./ArrayReader");function c(a){l.call(this,a)}y("../utils").inherits(c,l),c.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var f=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,f},M.exports=c},{"../utils":32,"./ArrayReader":17}],22:[function(y,M,v){"use strict";var l=y("../utils"),c=y("../support"),a=y("./ArrayReader"),f=y("./StringReader"),w=y("./NodeBufferReader"),s=y("./Uint8ArrayReader");M.exports=function(u){var _=l.getTypeOf(u);return l.checkSupport(_),_!=="string"||c.uint8array?_==="nodebuffer"?new w(u):c.uint8array?new s(l.transformTo("uint8array",u)):new a(l.transformTo("array",u)):new f(u)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(y,M,v){"use strict";v.LOCAL_FILE_HEADER="PK",v.CENTRAL_FILE_HEADER="PK",v.CENTRAL_DIRECTORY_END="PK",v.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",v.ZIP64_CENTRAL_DIRECTORY_END="PK",v.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(y,M,v){"use strict";var l=y("./GenericWorker"),c=y("../utils");function a(f){l.call(this,"ConvertWorker to "+f),this.destType=f}c.inherits(a,l),a.prototype.processChunk=function(f){this.push({data:c.transformTo(this.destType,f.data),meta:f.meta})},M.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(y,M,v){"use strict";var l=y("./GenericWorker"),c=y("../crc32");function a(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}y("../utils").inherits(a,l),a.prototype.processChunk=function(f){this.streamInfo.crc32=c(f.data,this.streamInfo.crc32||0),this.push(f)},M.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(y,M,v){"use strict";var l=y("../utils"),c=y("./GenericWorker");function a(f){c.call(this,"DataLengthProbe for "+f),this.propName=f,this.withStreamInfo(f,0)}l.inherits(a,c),a.prototype.processChunk=function(f){if(f){var w=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=w+f.data.length}c.prototype.processChunk.call(this,f)},M.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(y,M,v){"use strict";var l=y("../utils"),c=y("./GenericWorker");function a(f){c.call(this,"DataWorker");var w=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,f.then(function(s){w.dataIsReady=!0,w.data=s,w.max=s&&s.length||0,w.type=l.getTypeOf(s),w.isPaused||w._tickAndRepeat()},function(s){w.error(s)})}l.inherits(a,c),a.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var f=null,w=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":f=this.data.substring(this.index,w);break;case"uint8array":f=this.data.subarray(this.index,w);break;case"array":case"nodebuffer":f=this.data.slice(this.index,w)}return this.index=w,this.push({data:f,meta:{percent:this.max?this.index/this.max*100:0}})},M.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(y,M,v){"use strict";function l(c){this.name=c||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}l.prototype={push:function(c){this.emit("data",c)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(c){this.emit("error",c)}return!0},error:function(c){return!this.isFinished&&(this.isPaused?this.generatedError=c:(this.isFinished=!0,this.emit("error",c),this.previous&&this.previous.error(c),this.cleanUp()),!0)},on:function(c,a){return this._listeners[c].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(c,a){if(this._listeners[c])for(var f=0;f<this._listeners[c].length;f++)this._listeners[c][f].call(this,a)},pipe:function(c){return c.registerPrevious(this)},registerPrevious:function(c){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=c.streamInfo,this.mergeStreamInfo(),this.previous=c;var a=this;return c.on("data",function(f){a.processChunk(f)}),c.on("end",function(){a.end()}),c.on("error",function(f){a.error(f)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var c=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),c=!0),this.previous&&this.previous.resume(),!c},flush:function(){},processChunk:function(c){this.push(c)},withStreamInfo:function(c,a){return this.extraStreamInfo[c]=a,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var c in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,c)&&(this.streamInfo[c]=this.extraStreamInfo[c])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var c="Worker "+this.name;return this.previous?this.previous+" -> "+c:c}},M.exports=l},{}],29:[function(y,M,v){"use strict";var l=y("../utils"),c=y("./ConvertWorker"),a=y("./GenericWorker"),f=y("../base64"),w=y("../support"),s=y("../external"),u=null;if(w.nodestream)try{u=y("../nodejs/NodejsStreamOutputAdapter")}catch(h){}function _(h,i){return new s.Promise(function(m,o){var b=[],O=h._internalType,I=h._outputType,S=h._mimeType;h.on("data",function(K,U){b.push(K),i&&i(U)}).on("error",function(K){b=[],o(K)}).on("end",function(){try{var K=function(U,X,N){switch(U){case"blob":return l.newBlob(l.transformTo("arraybuffer",X),N);case"base64":return f.encode(X);default:return l.transformTo(U,X)}}(I,function(U,X){var N,C=0,A=null,n=0;for(N=0;N<X.length;N++)n+=X[N].length;switch(U){case"string":return X.join("");case"array":return Array.prototype.concat.apply([],X);case"uint8array":for(A=new Uint8Array(n),N=0;N<X.length;N++)A.set(X[N],C),C+=X[N].length;return A;case"nodebuffer":return st.concat(X);default:throw new Error("concat : unsupported type '"+U+"'")}}(O,b),S);m(K)}catch(U){o(U)}b=[]}).resume()})}function r(h,i,m){var o=i;switch(i){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=i,this._mimeType=m,l.checkSupport(o),this._worker=h.pipe(new c(o)),h.lock()}catch(b){this._worker=new a("error"),this._worker.error(b)}}r.prototype={accumulate:function(h){return _(this,h)},on:function(h,i){var m=this;return h==="data"?this._worker.on(h,function(o){i.call(m,o.data,o.meta)}):this._worker.on(h,function(){l.delay(i,arguments,m)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(h){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:this._outputType!=="nodebuffer"},h)}},M.exports=r},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(y,M,v){"use strict";if(v.base64=!0,v.array=!0,v.string=!0,v.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",v.nodebuffer=typeof st!="undefined",v.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")v.blob=!1;else{var l=new ArrayBuffer(0);try{v.blob=new Blob([l],{type:"application/zip"}).size===0}catch(a){try{var c=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);c.append(l),v.blob=c.getBlob("application/zip").size===0}catch(f){v.blob=!1}}}try{v.nodestream=!!y("readable-stream").Readable}catch(a){v.nodestream=!1}},{"readable-stream":16}],31:[function(y,M,v){"use strict";for(var l=y("./utils"),c=y("./support"),a=y("./nodejsUtils"),f=y("./stream/GenericWorker"),w=new Array(256),s=0;s<256;s++)w[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;w[254]=w[254]=1;function u(){f.call(this,"utf-8 decode"),this.leftOver=null}function _(){f.call(this,"utf-8 encode")}v.utf8encode=function(r){return c.nodebuffer?a.newBufferFrom(r,"utf-8"):function(h){var i,m,o,b,O,I=h.length,S=0;for(b=0;b<I;b++)(64512&(m=h.charCodeAt(b)))==55296&&b+1<I&&(64512&(o=h.charCodeAt(b+1)))==56320&&(m=65536+(m-55296<<10)+(o-56320),b++),S+=m<128?1:m<2048?2:m<65536?3:4;for(i=c.uint8array?new Uint8Array(S):new Array(S),b=O=0;O<S;b++)(64512&(m=h.charCodeAt(b)))==55296&&b+1<I&&(64512&(o=h.charCodeAt(b+1)))==56320&&(m=65536+(m-55296<<10)+(o-56320),b++),m<128?i[O++]=m:(m<2048?i[O++]=192|m>>>6:(m<65536?i[O++]=224|m>>>12:(i[O++]=240|m>>>18,i[O++]=128|m>>>12&63),i[O++]=128|m>>>6&63),i[O++]=128|63&m);return i}(r)},v.utf8decode=function(r){return c.nodebuffer?l.transformTo("nodebuffer",r).toString("utf-8"):function(h){var i,m,o,b,O=h.length,I=new Array(2*O);for(i=m=0;i<O;)if((o=h[i++])<128)I[m++]=o;else if(4<(b=w[o]))I[m++]=65533,i+=b-1;else{for(o&=b===2?31:b===3?15:7;1<b&&i<O;)o=o<<6|63&h[i++],b--;1<b?I[m++]=65533:o<65536?I[m++]=o:(o-=65536,I[m++]=55296|o>>10&1023,I[m++]=56320|1023&o)}return I.length!==m&&(I.subarray?I=I.subarray(0,m):I.length=m),l.applyFromCharCode(I)}(r=l.transformTo(c.uint8array?"uint8array":"array",r))},l.inherits(u,f),u.prototype.processChunk=function(r){var h=l.transformTo(c.uint8array?"uint8array":"array",r.data);if(this.leftOver&&this.leftOver.length){if(c.uint8array){var i=h;(h=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),h.set(i,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var m=function(b,O){var I;for((O=O||b.length)>b.length&&(O=b.length),I=O-1;0<=I&&(192&b[I])==128;)I--;return I<0||I===0?O:I+w[b[I]]>O?I:O}(h),o=h;m!==h.length&&(c.uint8array?(o=h.subarray(0,m),this.leftOver=h.subarray(m,h.length)):(o=h.slice(0,m),this.leftOver=h.slice(m,h.length))),this.push({data:v.utf8decode(o),meta:r.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:v.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},v.Utf8DecodeWorker=u,l.inherits(_,f),_.prototype.processChunk=function(r){this.push({data:v.utf8encode(r.data),meta:r.meta})},v.Utf8EncodeWorker=_},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(y,M,v){"use strict";var l=y("./support"),c=y("./base64"),a=y("./nodejsUtils"),f=y("./external");function w(i){return i}function s(i,m){for(var o=0;o<i.length;++o)m[o]=255&i.charCodeAt(o);return m}y("setimmediate"),v.newBlob=function(i,m){v.checkSupport("blob");try{return new Blob([i],{type:m})}catch(b){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(i),o.getBlob(m)}catch(O){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(i,m,o){var b=[],O=0,I=i.length;if(I<=o)return String.fromCharCode.apply(null,i);for(;O<I;)m==="array"||m==="nodebuffer"?b.push(String.fromCharCode.apply(null,i.slice(O,Math.min(O+o,I)))):b.push(String.fromCharCode.apply(null,i.subarray(O,Math.min(O+o,I)))),O+=o;return b.join("")},stringifyByChar:function(i){for(var m="",o=0;o<i.length;o++)m+=String.fromCharCode(i[o]);return m},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(i){return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch(i){return!1}}()}};function _(i){var m=65536,o=v.getTypeOf(i),b=!0;if(o==="uint8array"?b=u.applyCanBeUsed.uint8array:o==="nodebuffer"&&(b=u.applyCanBeUsed.nodebuffer),b)for(;1<m;)try{return u.stringifyByChunk(i,o,m)}catch(O){m=Math.floor(m/2)}return u.stringifyByChar(i)}function r(i,m){for(var o=0;o<i.length;o++)m[o]=i[o];return m}v.applyFromCharCode=_;var h={};h.string={string:w,array:function(i){return s(i,new Array(i.length))},arraybuffer:function(i){return h.string.uint8array(i).buffer},uint8array:function(i){return s(i,new Uint8Array(i.length))},nodebuffer:function(i){return s(i,a.allocBuffer(i.length))}},h.array={string:_,array:w,arraybuffer:function(i){return new Uint8Array(i).buffer},uint8array:function(i){return new Uint8Array(i)},nodebuffer:function(i){return a.newBufferFrom(i)}},h.arraybuffer={string:function(i){return _(new Uint8Array(i))},array:function(i){return r(new Uint8Array(i),new Array(i.byteLength))},arraybuffer:w,uint8array:function(i){return new Uint8Array(i)},nodebuffer:function(i){return a.newBufferFrom(new Uint8Array(i))}},h.uint8array={string:_,array:function(i){return r(i,new Array(i.length))},arraybuffer:function(i){return i.buffer},uint8array:w,nodebuffer:function(i){return a.newBufferFrom(i)}},h.nodebuffer={string:_,array:function(i){return r(i,new Array(i.length))},arraybuffer:function(i){return h.nodebuffer.uint8array(i).buffer},uint8array:function(i){return r(i,new Uint8Array(i.length))},nodebuffer:w},v.transformTo=function(i,m){if(m=m||"",!i)return m;v.checkSupport(i);var o=v.getTypeOf(m);return h[o][i](m)},v.resolve=function(i){for(var m=i.split("/"),o=[],b=0;b<m.length;b++){var O=m[b];O==="."||O===""&&b!==0&&b!==m.length-1||(O===".."?o.pop():o.push(O))}return o.join("/")},v.getTypeOf=function(i){return typeof i=="string"?"string":Object.prototype.toString.call(i)==="[object Array]"?"array":l.nodebuffer&&a.isBuffer(i)?"nodebuffer":l.uint8array&&i instanceof Uint8Array?"uint8array":l.arraybuffer&&i instanceof ArrayBuffer?"arraybuffer":void 0},v.checkSupport=function(i){if(!l[i.toLowerCase()])throw new Error(i+" is not supported by this platform")},v.MAX_VALUE_16BITS=65535,v.MAX_VALUE_32BITS=-1,v.pretty=function(i){var m,o,b="";for(o=0;o<(i||"").length;o++)b+="\\x"+((m=i.charCodeAt(o))<16?"0":"")+m.toString(16).toUpperCase();return b},v.delay=function(i,m,o){setImmediate(function(){i.apply(o||null,m||[])})},v.inherits=function(i,m){function o(){}o.prototype=m.prototype,i.prototype=new o},v.extend=function(){var i,m,o={};for(i=0;i<arguments.length;i++)for(m in arguments[i])Object.prototype.hasOwnProperty.call(arguments[i],m)&&o[m]===void 0&&(o[m]=arguments[i][m]);return o},v.prepareContent=function(i,m,o,b,O){return f.Promise.resolve(m).then(function(I){return l.blob&&(I instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(I))!==-1)&&typeof FileReader!="undefined"?new f.Promise(function(S,K){var U=new FileReader;U.onload=function(X){S(X.target.result)},U.onerror=function(X){K(X.target.error)},U.readAsArrayBuffer(I)}):I}).then(function(I){var S=v.getTypeOf(I);return S?(S==="arraybuffer"?I=v.transformTo("uint8array",I):S==="string"&&(O?I=c.decode(I):o&&b!==!0&&(I=function(K){return s(K,l.uint8array?new Uint8Array(K.length):new Array(K.length))}(I))),I):f.Promise.reject(new Error("Can't read the data of '"+i+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(y,M,v){"use strict";var l=y("./reader/readerFor"),c=y("./utils"),a=y("./signature"),f=y("./zipEntry"),w=y("./support");function s(u){this.files=[],this.loadOptions=u}s.prototype={checkSignature:function(u){if(!this.reader.readAndCheckSignature(u)){this.reader.index-=4;var _=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+c.pretty(_)+", expected "+c.pretty(u)+")")}},isSignature:function(u,_){var r=this.reader.index;this.reader.setIndex(u);var h=this.reader.readString(4)===_;return this.reader.setIndex(r),h},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var u=this.reader.readData(this.zipCommentLength),_=w.uint8array?"uint8array":"array",r=c.transformTo(_,u);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var u,_,r,h=this.zip64EndOfCentralSize-44;0<h;)u=this.reader.readInt(2),_=this.reader.readInt(4),r=this.reader.readData(_),this.zip64ExtensibleData[u]={id:u,length:_,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var u,_;for(u=0;u<this.files.length;u++)_=this.files[u],this.reader.setIndex(_.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),_.readLocalPart(this.reader),_.handleUTF8(),_.processAttributes()},readCentralDir:function(){var u;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(u=new f({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(u);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var u=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(u<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(u);var _=u;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===c.MAX_VALUE_16BITS||this.diskWithCentralDirStart===c.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===c.MAX_VALUE_16BITS||this.centralDirRecords===c.MAX_VALUE_16BITS||this.centralDirSize===c.MAX_VALUE_32BITS||this.centralDirOffset===c.MAX_VALUE_32BITS){if(this.zip64=!0,(u=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(u),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var h=_-r;if(0<h)this.isSignature(_,a.CENTRAL_FILE_HEADER)||(this.reader.zero=h);else if(h<0)throw new Error("Corrupted zip: missing "+Math.abs(h)+" bytes.")},prepareReader:function(u){this.reader=l(u)},load:function(u){this.prepareReader(u),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},M.exports=s},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(y,M,v){"use strict";var l=y("./reader/readerFor"),c=y("./utils"),a=y("./compressedObject"),f=y("./crc32"),w=y("./utf8"),s=y("./compressions"),u=y("./support");function _(r,h){this.options=r,this.loadOptions=h}_.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(r){var h,i;if(r.skip(22),this.fileNameLength=r.readInt(2),i=r.readInt(2),this.fileName=r.readData(this.fileNameLength),r.skip(i),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((h=function(m){for(var o in s)if(Object.prototype.hasOwnProperty.call(s,o)&&s[o].magic===m)return s[o];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+c.pretty(this.compressionMethod)+" unknown (inner file : "+c.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,h,r.readData(this.compressedSize))},readCentralPart:function(r){this.versionMadeBy=r.readInt(2),r.skip(2),this.bitFlag=r.readInt(2),this.compressionMethod=r.readString(2),this.date=r.readDate(),this.crc32=r.readInt(4),this.compressedSize=r.readInt(4),this.uncompressedSize=r.readInt(4);var h=r.readInt(2);if(this.extraFieldsLength=r.readInt(2),this.fileCommentLength=r.readInt(2),this.diskNumberStart=r.readInt(2),this.internalFileAttributes=r.readInt(2),this.externalFileAttributes=r.readInt(4),this.localHeaderOffset=r.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");r.skip(h),this.readExtraFields(r),this.parseZIP64ExtraField(r),this.fileComment=r.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var r=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),r==0&&(this.dosPermissions=63&this.externalFileAttributes),r==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var r=l(this.extraFields[1].value);this.uncompressedSize===c.MAX_VALUE_32BITS&&(this.uncompressedSize=r.readInt(8)),this.compressedSize===c.MAX_VALUE_32BITS&&(this.compressedSize=r.readInt(8)),this.localHeaderOffset===c.MAX_VALUE_32BITS&&(this.localHeaderOffset=r.readInt(8)),this.diskNumberStart===c.MAX_VALUE_32BITS&&(this.diskNumberStart=r.readInt(4))}},readExtraFields:function(r){var h,i,m,o=r.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});r.index+4<o;)h=r.readInt(2),i=r.readInt(2),m=r.readData(i),this.extraFields[h]={id:h,length:i,value:m};r.setIndex(o)},handleUTF8:function(){var r=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=w.utf8decode(this.fileName),this.fileCommentStr=w.utf8decode(this.fileComment);else{var h=this.findExtraFieldUnicodePath();if(h!==null)this.fileNameStr=h;else{var i=c.transformTo(r,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var m=this.findExtraFieldUnicodeComment();if(m!==null)this.fileCommentStr=m;else{var o=c.transformTo(r,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var r=this.extraFields[28789];if(r){var h=l(r.value);return h.readInt(1)!==1||f(this.fileName)!==h.readInt(4)?null:w.utf8decode(h.readData(r.length-5))}return null},findExtraFieldUnicodeComment:function(){var r=this.extraFields[25461];if(r){var h=l(r.value);return h.readInt(1)!==1||f(this.fileComment)!==h.readInt(4)?null:w.utf8decode(h.readData(r.length-5))}return null}},M.exports=_},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(y,M,v){"use strict";function l(h,i,m){this.name=h,this.dir=m.dir,this.date=m.date,this.comment=m.comment,this.unixPermissions=m.unixPermissions,this.dosPermissions=m.dosPermissions,this._data=i,this._dataBinary=m.binary,this.options={compression:m.compression,compressionOptions:m.compressionOptions}}var c=y("./stream/StreamHelper"),a=y("./stream/DataWorker"),f=y("./utf8"),w=y("./compressedObject"),s=y("./stream/GenericWorker");l.prototype={internalStream:function(h){var i=null,m="string";try{if(!h)throw new Error("No output type specified.");var o=(m=h.toLowerCase())==="string"||m==="text";m!=="binarystring"&&m!=="text"||(m="string"),i=this._decompressWorker();var b=!this._dataBinary;b&&!o&&(i=i.pipe(new f.Utf8EncodeWorker)),!b&&o&&(i=i.pipe(new f.Utf8DecodeWorker))}catch(O){(i=new s("error")).error(O)}return new c(i,m,"")},async:function(h,i){return this.internalStream(h).accumulate(i)},nodeStream:function(h,i){return this.internalStream(h||"nodebuffer").toNodejsStream(i)},_compressWorker:function(h,i){if(this._data instanceof w&&this._data.compression.magic===h.magic)return this._data.getCompressedWorker();var m=this._decompressWorker();return this._dataBinary||(m=m.pipe(new f.Utf8EncodeWorker)),w.createWorkerFrom(m,h,i)},_decompressWorker:function(){return this._data instanceof w?this._data.getContentWorker():this._data instanceof s?this._data:new a(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],_=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},r=0;r<u.length;r++)l.prototype[u[r]]=_;M.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(y,M,v){(function(l){"use strict";var c,a,f=l.MutationObserver||l.WebKitMutationObserver;if(f){var w=0,s=new f(h),u=l.document.createTextNode("");s.observe(u,{characterData:!0}),c=function(){u.data=w=++w%2}}else if(l.setImmediate||l.MessageChannel===void 0)c="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var i=l.document.createElement("script");i.onreadystatechange=function(){h(),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},l.document.documentElement.appendChild(i)}:function(){setTimeout(h,0)};else{var _=new l.MessageChannel;_.port1.onmessage=h,c=function(){_.port2.postMessage(0)}}var r=[];function h(){var i,m;a=!0;for(var o=r.length;o;){for(m=r,r=[],i=-1;++i<o;)m[i]();o=r.length}a=!1}M.exports=function(i){r.push(i)!==1||a||c()}}).call(this,typeof B.g!="undefined"?B.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(y,M,v){"use strict";var l=y("immediate");function c(){}var a={},f=["REJECTED"],w=["FULFILLED"],s=["PENDING"];function u(o){if(typeof o!="function")throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,o!==c&&i(this,o)}function _(o,b,O){this.promise=o,typeof b=="function"&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),typeof O=="function"&&(this.onRejected=O,this.callRejected=this.otherCallRejected)}function r(o,b,O){l(function(){var I;try{I=b(O)}catch(S){return a.reject(o,S)}I===o?a.reject(o,new TypeError("Cannot resolve promise with itself")):a.resolve(o,I)})}function h(o){var b=o&&o.then;if(o&&(typeof o=="object"||typeof o=="function")&&typeof b=="function")return function(){b.apply(o,arguments)}}function i(o,b){var O=!1;function I(U){O||(O=!0,a.reject(o,U))}function S(U){O||(O=!0,a.resolve(o,U))}var K=m(function(){b(S,I)});K.status==="error"&&I(K.value)}function m(o,b){var O={};try{O.value=o(b),O.status="success"}catch(I){O.status="error",O.value=I}return O}(M.exports=u).prototype.finally=function(o){if(typeof o!="function")return this;var b=this.constructor;return this.then(function(O){return b.resolve(o()).then(function(){return O})},function(O){return b.resolve(o()).then(function(){throw O})})},u.prototype.catch=function(o){return this.then(null,o)},u.prototype.then=function(o,b){if(typeof o!="function"&&this.state===w||typeof b!="function"&&this.state===f)return this;var O=new this.constructor(c);return this.state!==s?r(O,this.state===w?o:b,this.outcome):this.queue.push(new _(O,o,b)),O},_.prototype.callFulfilled=function(o){a.resolve(this.promise,o)},_.prototype.otherCallFulfilled=function(o){r(this.promise,this.onFulfilled,o)},_.prototype.callRejected=function(o){a.reject(this.promise,o)},_.prototype.otherCallRejected=function(o){r(this.promise,this.onRejected,o)},a.resolve=function(o,b){var O=m(h,b);if(O.status==="error")return a.reject(o,O.value);var I=O.value;if(I)i(o,I);else{o.state=w,o.outcome=b;for(var S=-1,K=o.queue.length;++S<K;)o.queue[S].callFulfilled(b)}return o},a.reject=function(o,b){o.state=f,o.outcome=b;for(var O=-1,I=o.queue.length;++O<I;)o.queue[O].callRejected(b);return o},u.resolve=function(o){return o instanceof this?o:a.resolve(new this(c),o)},u.reject=function(o){var b=new this(c);return a.reject(b,o)},u.all=function(o){var b=this;if(Object.prototype.toString.call(o)!=="[object Array]")return this.reject(new TypeError("must be an array"));var O=o.length,I=!1;if(!O)return this.resolve([]);for(var S=new Array(O),K=0,U=-1,X=new this(c);++U<O;)N(o[U],U);return X;function N(C,A){b.resolve(C).then(function(n){S[A]=n,++K!==O||I||(I=!0,a.resolve(X,S))},function(n){I||(I=!0,a.reject(X,n))})}},u.race=function(o){var b=this;if(Object.prototype.toString.call(o)!=="[object Array]")return this.reject(new TypeError("must be an array"));var O=o.length,I=!1;if(!O)return this.resolve([]);for(var S=-1,K=new this(c);++S<O;)U=o[S],b.resolve(U).then(function(X){I||(I=!0,a.resolve(K,X))},function(X){I||(I=!0,a.reject(K,X))});var U;return K}},{immediate:36}],38:[function(y,M,v){"use strict";var l={};(0,y("./lib/utils/common").assign)(l,y("./lib/deflate"),y("./lib/inflate"),y("./lib/zlib/constants")),M.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(y,M,v){"use strict";var l=y("./zlib/deflate"),c=y("./utils/common"),a=y("./utils/strings"),f=y("./zlib/messages"),w=y("./zlib/zstream"),s=Object.prototype.toString,u=0,_=-1,r=0,h=8;function i(o){if(!(this instanceof i))return new i(o);this.options=c.assign({level:_,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:r,to:""},o||{});var b=this.options;b.raw&&0<b.windowBits?b.windowBits=-b.windowBits:b.gzip&&0<b.windowBits&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new w,this.strm.avail_out=0;var O=l.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(O!==u)throw new Error(f[O]);if(b.header&&l.deflateSetHeader(this.strm,b.header),b.dictionary){var I;if(I=typeof b.dictionary=="string"?a.string2buf(b.dictionary):s.call(b.dictionary)==="[object ArrayBuffer]"?new Uint8Array(b.dictionary):b.dictionary,(O=l.deflateSetDictionary(this.strm,I))!==u)throw new Error(f[O]);this._dict_set=!0}}function m(o,b){var O=new i(b);if(O.push(o,!0),O.err)throw O.msg||f[O.err];return O.result}i.prototype.push=function(o,b){var O,I,S=this.strm,K=this.options.chunkSize;if(this.ended)return!1;I=b===~~b?b:b===!0?4:0,typeof o=="string"?S.input=a.string2buf(o):s.call(o)==="[object ArrayBuffer]"?S.input=new Uint8Array(o):S.input=o,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new c.Buf8(K),S.next_out=0,S.avail_out=K),(O=l.deflate(S,I))!==1&&O!==u)return this.onEnd(O),!(this.ended=!0);S.avail_out!==0&&(S.avail_in!==0||I!==4&&I!==2)||(this.options.to==="string"?this.onData(a.buf2binstring(c.shrinkBuf(S.output,S.next_out))):this.onData(c.shrinkBuf(S.output,S.next_out)))}while((0<S.avail_in||S.avail_out===0)&&O!==1);return I===4?(O=l.deflateEnd(this.strm),this.onEnd(O),this.ended=!0,O===u):I!==2||(this.onEnd(u),!(S.avail_out=0))},i.prototype.onData=function(o){this.chunks.push(o)},i.prototype.onEnd=function(o){o===u&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=c.flattenChunks(this.chunks)),this.chunks=[],this.err=o,this.msg=this.strm.msg},v.Deflate=i,v.deflate=m,v.deflateRaw=function(o,b){return(b=b||{}).raw=!0,m(o,b)},v.gzip=function(o,b){return(b=b||{}).gzip=!0,m(o,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(y,M,v){"use strict";var l=y("./zlib/inflate"),c=y("./utils/common"),a=y("./utils/strings"),f=y("./zlib/constants"),w=y("./zlib/messages"),s=y("./zlib/zstream"),u=y("./zlib/gzheader"),_=Object.prototype.toString;function r(i){if(!(this instanceof r))return new r(i);this.options=c.assign({chunkSize:16384,windowBits:0,to:""},i||{});var m=this.options;m.raw&&0<=m.windowBits&&m.windowBits<16&&(m.windowBits=-m.windowBits,m.windowBits===0&&(m.windowBits=-15)),!(0<=m.windowBits&&m.windowBits<16)||i&&i.windowBits||(m.windowBits+=32),15<m.windowBits&&m.windowBits<48&&!(15&m.windowBits)&&(m.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var o=l.inflateInit2(this.strm,m.windowBits);if(o!==f.Z_OK)throw new Error(w[o]);this.header=new u,l.inflateGetHeader(this.strm,this.header)}function h(i,m){var o=new r(m);if(o.push(i,!0),o.err)throw o.msg||w[o.err];return o.result}r.prototype.push=function(i,m){var o,b,O,I,S,K,U=this.strm,X=this.options.chunkSize,N=this.options.dictionary,C=!1;if(this.ended)return!1;b=m===~~m?m:m===!0?f.Z_FINISH:f.Z_NO_FLUSH,typeof i=="string"?U.input=a.binstring2buf(i):_.call(i)==="[object ArrayBuffer]"?U.input=new Uint8Array(i):U.input=i,U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0&&(U.output=new c.Buf8(X),U.next_out=0,U.avail_out=X),(o=l.inflate(U,f.Z_NO_FLUSH))===f.Z_NEED_DICT&&N&&(K=typeof N=="string"?a.string2buf(N):_.call(N)==="[object ArrayBuffer]"?new Uint8Array(N):N,o=l.inflateSetDictionary(this.strm,K)),o===f.Z_BUF_ERROR&&C===!0&&(o=f.Z_OK,C=!1),o!==f.Z_STREAM_END&&o!==f.Z_OK)return this.onEnd(o),!(this.ended=!0);U.next_out&&(U.avail_out!==0&&o!==f.Z_STREAM_END&&(U.avail_in!==0||b!==f.Z_FINISH&&b!==f.Z_SYNC_FLUSH)||(this.options.to==="string"?(O=a.utf8border(U.output,U.next_out),I=U.next_out-O,S=a.buf2string(U.output,O),U.next_out=I,U.avail_out=X-I,I&&c.arraySet(U.output,U.output,O,I,0),this.onData(S)):this.onData(c.shrinkBuf(U.output,U.next_out)))),U.avail_in===0&&U.avail_out===0&&(C=!0)}while((0<U.avail_in||U.avail_out===0)&&o!==f.Z_STREAM_END);return o===f.Z_STREAM_END&&(b=f.Z_FINISH),b===f.Z_FINISH?(o=l.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===f.Z_OK):b!==f.Z_SYNC_FLUSH||(this.onEnd(f.Z_OK),!(U.avail_out=0))},r.prototype.onData=function(i){this.chunks.push(i)},r.prototype.onEnd=function(i){i===f.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=c.flattenChunks(this.chunks)),this.chunks=[],this.err=i,this.msg=this.strm.msg},v.Inflate=r,v.inflate=h,v.inflateRaw=function(i,m){return(m=m||{}).raw=!0,h(i,m)},v.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(y,M,v){"use strict";var l=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";v.assign=function(f){for(var w=Array.prototype.slice.call(arguments,1);w.length;){var s=w.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var u in s)s.hasOwnProperty(u)&&(f[u]=s[u])}}return f},v.shrinkBuf=function(f,w){return f.length===w?f:f.subarray?f.subarray(0,w):(f.length=w,f)};var c={arraySet:function(f,w,s,u,_){if(w.subarray&&f.subarray)f.set(w.subarray(s,s+u),_);else for(var r=0;r<u;r++)f[_+r]=w[s+r]},flattenChunks:function(f){var w,s,u,_,r,h;for(w=u=0,s=f.length;w<s;w++)u+=f[w].length;for(h=new Uint8Array(u),w=_=0,s=f.length;w<s;w++)r=f[w],h.set(r,_),_+=r.length;return h}},a={arraySet:function(f,w,s,u,_){for(var r=0;r<u;r++)f[_+r]=w[s+r]},flattenChunks:function(f){return[].concat.apply([],f)}};v.setTyped=function(f){f?(v.Buf8=Uint8Array,v.Buf16=Uint16Array,v.Buf32=Int32Array,v.assign(v,c)):(v.Buf8=Array,v.Buf16=Array,v.Buf32=Array,v.assign(v,a))},v.setTyped(l)},{}],42:[function(y,M,v){"use strict";var l=y("./common"),c=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(u){c=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){a=!1}for(var f=new l.Buf8(256),w=0;w<256;w++)f[w]=252<=w?6:248<=w?5:240<=w?4:224<=w?3:192<=w?2:1;function s(u,_){if(_<65537&&(u.subarray&&a||!u.subarray&&c))return String.fromCharCode.apply(null,l.shrinkBuf(u,_));for(var r="",h=0;h<_;h++)r+=String.fromCharCode(u[h]);return r}f[254]=f[254]=1,v.string2buf=function(u){var _,r,h,i,m,o=u.length,b=0;for(i=0;i<o;i++)(64512&(r=u.charCodeAt(i)))==55296&&i+1<o&&(64512&(h=u.charCodeAt(i+1)))==56320&&(r=65536+(r-55296<<10)+(h-56320),i++),b+=r<128?1:r<2048?2:r<65536?3:4;for(_=new l.Buf8(b),i=m=0;m<b;i++)(64512&(r=u.charCodeAt(i)))==55296&&i+1<o&&(64512&(h=u.charCodeAt(i+1)))==56320&&(r=65536+(r-55296<<10)+(h-56320),i++),r<128?_[m++]=r:(r<2048?_[m++]=192|r>>>6:(r<65536?_[m++]=224|r>>>12:(_[m++]=240|r>>>18,_[m++]=128|r>>>12&63),_[m++]=128|r>>>6&63),_[m++]=128|63&r);return _},v.buf2binstring=function(u){return s(u,u.length)},v.binstring2buf=function(u){for(var _=new l.Buf8(u.length),r=0,h=_.length;r<h;r++)_[r]=u.charCodeAt(r);return _},v.buf2string=function(u,_){var r,h,i,m,o=_||u.length,b=new Array(2*o);for(r=h=0;r<o;)if((i=u[r++])<128)b[h++]=i;else if(4<(m=f[i]))b[h++]=65533,r+=m-1;else{for(i&=m===2?31:m===3?15:7;1<m&&r<o;)i=i<<6|63&u[r++],m--;1<m?b[h++]=65533:i<65536?b[h++]=i:(i-=65536,b[h++]=55296|i>>10&1023,b[h++]=56320|1023&i)}return s(b,h)},v.utf8border=function(u,_){var r;for((_=_||u.length)>u.length&&(_=u.length),r=_-1;0<=r&&(192&u[r])==128;)r--;return r<0||r===0?_:r+f[u[r]]>_?r:_}},{"./common":41}],43:[function(y,M,v){"use strict";M.exports=function(l,c,a,f){for(var w=65535&l|0,s=l>>>16&65535|0,u=0;a!==0;){for(a-=u=2e3<a?2e3:a;s=s+(w=w+c[f++]|0)|0,--u;);w%=65521,s%=65521}return w|s<<16|0}},{}],44:[function(y,M,v){"use strict";M.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(y,M,v){"use strict";var l=function(){for(var c,a=[],f=0;f<256;f++){c=f;for(var w=0;w<8;w++)c=1&c?3988292384^c>>>1:c>>>1;a[f]=c}return a}();M.exports=function(c,a,f,w){var s=l,u=w+f;c^=-1;for(var _=w;_<u;_++)c=c>>>8^s[255&(c^a[_])];return-1^c}},{}],46:[function(y,M,v){"use strict";var l,c=y("../utils/common"),a=y("./trees"),f=y("./adler32"),w=y("./crc32"),s=y("./messages"),u=0,_=4,r=0,h=-2,i=-1,m=4,o=2,b=8,O=9,I=286,S=30,K=19,U=2*I+1,X=15,N=3,C=258,A=C+N+1,n=42,E=113,t=1,P=2,J=3,W=4;function ut(e,H){return e.msg=s[H],H}function F(e){return(e<<1)-(4<e?9:0)}function at(e){for(var H=e.length;0<=--H;)e[H]=0}function Z(e){var H=e.state,$=H.pending;$>e.avail_out&&($=e.avail_out),$!==0&&(c.arraySet(e.output,H.pending_buf,H.pending_out,$,e.next_out),e.next_out+=$,H.pending_out+=$,e.total_out+=$,e.avail_out-=$,H.pending-=$,H.pending===0&&(H.pending_out=0))}function T(e,H){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,H),e.block_start=e.strstart,Z(e.strm)}function lt(e,H){e.pending_buf[e.pending++]=H}function et(e,H){e.pending_buf[e.pending++]=H>>>8&255,e.pending_buf[e.pending++]=255&H}function Y(e,H){var $,g,p=e.max_chain_length,j=e.strstart,G=e.prev_length,V=e.nice_match,R=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,Q=e.window,nt=e.w_mask,q=e.prev,ft=e.strstart+C,Zt=Q[j+G-1],ot=Q[j+G];e.prev_length>=e.good_match&&(p>>=2),V>e.lookahead&&(V=e.lookahead);do if(Q[($=H)+G]===ot&&Q[$+G-1]===Zt&&Q[$]===Q[j]&&Q[++$]===Q[j+1]){j+=2,$++;do;while(Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&Q[++j]===Q[++$]&&j<ft);if(g=C-(ft-j),j=ft-C,G<g){if(e.match_start=H,V<=(G=g))break;Zt=Q[j+G-1],ot=Q[j+G]}}while((H=q[H&nt])>R&&--p!=0);return G<=e.lookahead?G:e.lookahead}function kt(e){var H,$,g,p,j,G,V,R,Q,nt,q=e.w_size;do{if(p=e.window_size-e.lookahead-e.strstart,e.strstart>=q+(q-A)){for(c.arraySet(e.window,e.window,q,q,0),e.match_start-=q,e.strstart-=q,e.block_start-=q,H=$=e.hash_size;g=e.head[--H],e.head[H]=q<=g?g-q:0,--$;);for(H=$=q;g=e.prev[--H],e.prev[H]=q<=g?g-q:0,--$;);p+=q}if(e.strm.avail_in===0)break;if(G=e.strm,V=e.window,R=e.strstart+e.lookahead,Q=p,nt=void 0,nt=G.avail_in,Q<nt&&(nt=Q),$=nt===0?0:(G.avail_in-=nt,c.arraySet(V,G.input,G.next_in,nt,R),G.state.wrap===1?G.adler=f(G.adler,V,nt,R):G.state.wrap===2&&(G.adler=w(G.adler,V,nt,R)),G.next_in+=nt,G.total_in+=nt,nt),e.lookahead+=$,e.lookahead+e.insert>=N)for(j=e.strstart-e.insert,e.ins_h=e.window[j],e.ins_h=(e.ins_h<<e.hash_shift^e.window[j+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[j+N-1])&e.hash_mask,e.prev[j&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=j,j++,e.insert--,!(e.lookahead+e.insert<N)););}while(e.lookahead<A&&e.strm.avail_in!==0)}function Tt(e,H){for(var $,g;;){if(e.lookahead<A){if(kt(e),e.lookahead<A&&H===u)return t;if(e.lookahead===0)break}if($=0,e.lookahead>=N&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,$=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),$!==0&&e.strstart-$<=e.w_size-A&&(e.match_length=Y(e,$)),e.match_length>=N)if(g=a._tr_tally(e,e.strstart-e.match_start,e.match_length-N),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=N){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,$=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else g=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(g&&(T(e,!1),e.strm.avail_out===0))return t}return e.insert=e.strstart<N-1?e.strstart:N-1,H===_?(T(e,!0),e.strm.avail_out===0?J:W):e.last_lit&&(T(e,!1),e.strm.avail_out===0)?t:P}function dt(e,H){for(var $,g,p;;){if(e.lookahead<A){if(kt(e),e.lookahead<A&&H===u)return t;if(e.lookahead===0)break}if($=0,e.lookahead>=N&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,$=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=N-1,$!==0&&e.prev_length<e.max_lazy_match&&e.strstart-$<=e.w_size-A&&(e.match_length=Y(e,$),e.match_length<=5&&(e.strategy===1||e.match_length===N&&4096<e.strstart-e.match_start)&&(e.match_length=N-1)),e.prev_length>=N&&e.match_length<=e.prev_length){for(p=e.strstart+e.lookahead-N,g=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=p&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,$=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=N-1,e.strstart++,g&&(T(e,!1),e.strm.avail_out===0))return t}else if(e.match_available){if((g=a._tr_tally(e,0,e.window[e.strstart-1]))&&T(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return t}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(g=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<N-1?e.strstart:N-1,H===_?(T(e,!0),e.strm.avail_out===0?J:W):e.last_lit&&(T(e,!1),e.strm.avail_out===0)?t:P}function Ot(e,H,$,g,p){this.good_length=e,this.max_lazy=H,this.nice_length=$,this.max_chain=g,this.func=p}function Ft(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new c.Buf16(2*U),this.dyn_dtree=new c.Buf16(2*(2*S+1)),this.bl_tree=new c.Buf16(2*(2*K+1)),at(this.dyn_ltree),at(this.dyn_dtree),at(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new c.Buf16(X+1),this.heap=new c.Buf16(2*I+1),at(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new c.Buf16(2*I+1),at(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function z(e){var H;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=o,(H=e.state).pending=0,H.pending_out=0,H.wrap<0&&(H.wrap=-H.wrap),H.status=H.wrap?n:E,e.adler=H.wrap===2?0:1,H.last_flush=u,a._tr_init(H),r):ut(e,h)}function Qt(e){var H=z(e);return H===r&&function($){$.window_size=2*$.w_size,at($.head),$.max_lazy_match=l[$.level].max_lazy,$.good_match=l[$.level].good_length,$.nice_match=l[$.level].nice_length,$.max_chain_length=l[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=N-1,$.match_available=0,$.ins_h=0}(e.state),H}function Gt(e,H,$,g,p,j){if(!e)return h;var G=1;if(H===i&&(H=6),g<0?(G=0,g=-g):15<g&&(G=2,g-=16),p<1||O<p||$!==b||g<8||15<g||H<0||9<H||j<0||m<j)return ut(e,h);g===8&&(g=9);var V=new Ft;return(e.state=V).strm=e,V.wrap=G,V.gzhead=null,V.w_bits=g,V.w_size=1<<V.w_bits,V.w_mask=V.w_size-1,V.hash_bits=p+7,V.hash_size=1<<V.hash_bits,V.hash_mask=V.hash_size-1,V.hash_shift=~~((V.hash_bits+N-1)/N),V.window=new c.Buf8(2*V.w_size),V.head=new c.Buf16(V.hash_size),V.prev=new c.Buf16(V.w_size),V.lit_bufsize=1<<p+6,V.pending_buf_size=4*V.lit_bufsize,V.pending_buf=new c.Buf8(V.pending_buf_size),V.d_buf=1*V.lit_bufsize,V.l_buf=3*V.lit_bufsize,V.level=H,V.strategy=j,V.method=$,Qt(e)}l=[new Ot(0,0,0,0,function(e,H){var $=65535;for($>e.pending_buf_size-5&&($=e.pending_buf_size-5);;){if(e.lookahead<=1){if(kt(e),e.lookahead===0&&H===u)return t;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var g=e.block_start+$;if((e.strstart===0||e.strstart>=g)&&(e.lookahead=e.strstart-g,e.strstart=g,T(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-A&&(T(e,!1),e.strm.avail_out===0))return t}return e.insert=0,H===_?(T(e,!0),e.strm.avail_out===0?J:W):(e.strstart>e.block_start&&(T(e,!1),e.strm.avail_out),t)}),new Ot(4,4,8,4,Tt),new Ot(4,5,16,8,Tt),new Ot(4,6,32,32,Tt),new Ot(4,4,16,16,dt),new Ot(8,16,32,32,dt),new Ot(8,16,128,128,dt),new Ot(8,32,128,256,dt),new Ot(32,128,258,1024,dt),new Ot(32,258,258,4096,dt)],v.deflateInit=function(e,H){return Gt(e,H,b,15,8,0)},v.deflateInit2=Gt,v.deflateReset=Qt,v.deflateResetKeep=z,v.deflateSetHeader=function(e,H){return e&&e.state?e.state.wrap!==2?h:(e.state.gzhead=H,r):h},v.deflate=function(e,H){var $,g,p,j;if(!e||!e.state||5<H||H<0)return e?ut(e,h):h;if(g=e.state,!e.output||!e.input&&e.avail_in!==0||g.status===666&&H!==_)return ut(e,e.avail_out===0?-5:h);if(g.strm=e,$=g.last_flush,g.last_flush=H,g.status===n)if(g.wrap===2)e.adler=0,lt(g,31),lt(g,139),lt(g,8),g.gzhead?(lt(g,(g.gzhead.text?1:0)+(g.gzhead.hcrc?2:0)+(g.gzhead.extra?4:0)+(g.gzhead.name?8:0)+(g.gzhead.comment?16:0)),lt(g,255&g.gzhead.time),lt(g,g.gzhead.time>>8&255),lt(g,g.gzhead.time>>16&255),lt(g,g.gzhead.time>>24&255),lt(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),lt(g,255&g.gzhead.os),g.gzhead.extra&&g.gzhead.extra.length&&(lt(g,255&g.gzhead.extra.length),lt(g,g.gzhead.extra.length>>8&255)),g.gzhead.hcrc&&(e.adler=w(e.adler,g.pending_buf,g.pending,0)),g.gzindex=0,g.status=69):(lt(g,0),lt(g,0),lt(g,0),lt(g,0),lt(g,0),lt(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),lt(g,3),g.status=E);else{var G=b+(g.w_bits-8<<4)<<8;G|=(2<=g.strategy||g.level<2?0:g.level<6?1:g.level===6?2:3)<<6,g.strstart!==0&&(G|=32),G+=31-G%31,g.status=E,et(g,G),g.strstart!==0&&(et(g,e.adler>>>16),et(g,65535&e.adler)),e.adler=1}if(g.status===69)if(g.gzhead.extra){for(p=g.pending;g.gzindex<(65535&g.gzhead.extra.length)&&(g.pending!==g.pending_buf_size||(g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),Z(e),p=g.pending,g.pending!==g.pending_buf_size));)lt(g,255&g.gzhead.extra[g.gzindex]),g.gzindex++;g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),g.gzindex===g.gzhead.extra.length&&(g.gzindex=0,g.status=73)}else g.status=73;if(g.status===73)if(g.gzhead.name){p=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),Z(e),p=g.pending,g.pending===g.pending_buf_size)){j=1;break}j=g.gzindex<g.gzhead.name.length?255&g.gzhead.name.charCodeAt(g.gzindex++):0,lt(g,j)}while(j!==0);g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),j===0&&(g.gzindex=0,g.status=91)}else g.status=91;if(g.status===91)if(g.gzhead.comment){p=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),Z(e),p=g.pending,g.pending===g.pending_buf_size)){j=1;break}j=g.gzindex<g.gzhead.comment.length?255&g.gzhead.comment.charCodeAt(g.gzindex++):0,lt(g,j)}while(j!==0);g.gzhead.hcrc&&g.pending>p&&(e.adler=w(e.adler,g.pending_buf,g.pending-p,p)),j===0&&(g.status=103)}else g.status=103;if(g.status===103&&(g.gzhead.hcrc?(g.pending+2>g.pending_buf_size&&Z(e),g.pending+2<=g.pending_buf_size&&(lt(g,255&e.adler),lt(g,e.adler>>8&255),e.adler=0,g.status=E)):g.status=E),g.pending!==0){if(Z(e),e.avail_out===0)return g.last_flush=-1,r}else if(e.avail_in===0&&F(H)<=F($)&&H!==_)return ut(e,-5);if(g.status===666&&e.avail_in!==0)return ut(e,-5);if(e.avail_in!==0||g.lookahead!==0||H!==u&&g.status!==666){var V=g.strategy===2?function(R,Q){for(var nt;;){if(R.lookahead===0&&(kt(R),R.lookahead===0)){if(Q===u)return t;break}if(R.match_length=0,nt=a._tr_tally(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++,nt&&(T(R,!1),R.strm.avail_out===0))return t}return R.insert=0,Q===_?(T(R,!0),R.strm.avail_out===0?J:W):R.last_lit&&(T(R,!1),R.strm.avail_out===0)?t:P}(g,H):g.strategy===3?function(R,Q){for(var nt,q,ft,Zt,ot=R.window;;){if(R.lookahead<=C){if(kt(R),R.lookahead<=C&&Q===u)return t;if(R.lookahead===0)break}if(R.match_length=0,R.lookahead>=N&&0<R.strstart&&(q=ot[ft=R.strstart-1])===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]){Zt=R.strstart+C;do;while(q===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]&&q===ot[++ft]&&ft<Zt);R.match_length=C-(Zt-ft),R.match_length>R.lookahead&&(R.match_length=R.lookahead)}if(R.match_length>=N?(nt=a._tr_tally(R,1,R.match_length-N),R.lookahead-=R.match_length,R.strstart+=R.match_length,R.match_length=0):(nt=a._tr_tally(R,0,R.window[R.strstart]),R.lookahead--,R.strstart++),nt&&(T(R,!1),R.strm.avail_out===0))return t}return R.insert=0,Q===_?(T(R,!0),R.strm.avail_out===0?J:W):R.last_lit&&(T(R,!1),R.strm.avail_out===0)?t:P}(g,H):l[g.level].func(g,H);if(V!==J&&V!==W||(g.status=666),V===t||V===J)return e.avail_out===0&&(g.last_flush=-1),r;if(V===P&&(H===1?a._tr_align(g):H!==5&&(a._tr_stored_block(g,0,0,!1),H===3&&(at(g.head),g.lookahead===0&&(g.strstart=0,g.block_start=0,g.insert=0))),Z(e),e.avail_out===0))return g.last_flush=-1,r}return H!==_?r:g.wrap<=0?1:(g.wrap===2?(lt(g,255&e.adler),lt(g,e.adler>>8&255),lt(g,e.adler>>16&255),lt(g,e.adler>>24&255),lt(g,255&e.total_in),lt(g,e.total_in>>8&255),lt(g,e.total_in>>16&255),lt(g,e.total_in>>24&255)):(et(g,e.adler>>>16),et(g,65535&e.adler)),Z(e),0<g.wrap&&(g.wrap=-g.wrap),g.pending!==0?r:1)},v.deflateEnd=function(e){var H;return e&&e.state?(H=e.state.status)!==n&&H!==69&&H!==73&&H!==91&&H!==103&&H!==E&&H!==666?ut(e,h):(e.state=null,H===E?ut(e,-3):r):h},v.deflateSetDictionary=function(e,H){var $,g,p,j,G,V,R,Q,nt=H.length;if(!e||!e.state||(j=($=e.state).wrap)===2||j===1&&$.status!==n||$.lookahead)return h;for(j===1&&(e.adler=f(e.adler,H,nt,0)),$.wrap=0,nt>=$.w_size&&(j===0&&(at($.head),$.strstart=0,$.block_start=0,$.insert=0),Q=new c.Buf8($.w_size),c.arraySet(Q,H,nt-$.w_size,$.w_size,0),H=Q,nt=$.w_size),G=e.avail_in,V=e.next_in,R=e.input,e.avail_in=nt,e.next_in=0,e.input=H,kt($);$.lookahead>=N;){for(g=$.strstart,p=$.lookahead-(N-1);$.ins_h=($.ins_h<<$.hash_shift^$.window[g+N-1])&$.hash_mask,$.prev[g&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=g,g++,--p;);$.strstart=g,$.lookahead=N-1,kt($)}return $.strstart+=$.lookahead,$.block_start=$.strstart,$.insert=$.lookahead,$.lookahead=0,$.match_length=$.prev_length=N-1,$.match_available=0,e.next_in=V,e.input=R,e.avail_in=G,$.wrap=j,r},v.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(y,M,v){"use strict";M.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(y,M,v){"use strict";M.exports=function(l,c){var a,f,w,s,u,_,r,h,i,m,o,b,O,I,S,K,U,X,N,C,A,n,E,t,P;a=l.state,f=l.next_in,t=l.input,w=f+(l.avail_in-5),s=l.next_out,P=l.output,u=s-(c-l.avail_out),_=s+(l.avail_out-257),r=a.dmax,h=a.wsize,i=a.whave,m=a.wnext,o=a.window,b=a.hold,O=a.bits,I=a.lencode,S=a.distcode,K=(1<<a.lenbits)-1,U=(1<<a.distbits)-1;t:do{O<15&&(b+=t[f++]<<O,O+=8,b+=t[f++]<<O,O+=8),X=I[b&K];e:for(;;){if(b>>>=N=X>>>24,O-=N,(N=X>>>16&255)===0)P[s++]=65535&X;else{if(!(16&N)){if(!(64&N)){X=I[(65535&X)+(b&(1<<N)-1)];continue e}if(32&N){a.mode=12;break t}l.msg="invalid literal/length code",a.mode=30;break t}C=65535&X,(N&=15)&&(O<N&&(b+=t[f++]<<O,O+=8),C+=b&(1<<N)-1,b>>>=N,O-=N),O<15&&(b+=t[f++]<<O,O+=8,b+=t[f++]<<O,O+=8),X=S[b&U];n:for(;;){if(b>>>=N=X>>>24,O-=N,!(16&(N=X>>>16&255))){if(!(64&N)){X=S[(65535&X)+(b&(1<<N)-1)];continue n}l.msg="invalid distance code",a.mode=30;break t}if(A=65535&X,O<(N&=15)&&(b+=t[f++]<<O,(O+=8)<N&&(b+=t[f++]<<O,O+=8)),r<(A+=b&(1<<N)-1)){l.msg="invalid distance too far back",a.mode=30;break t}if(b>>>=N,O-=N,(N=s-u)<A){if(i<(N=A-N)&&a.sane){l.msg="invalid distance too far back",a.mode=30;break t}if(E=o,(n=0)===m){if(n+=h-N,N<C){for(C-=N;P[s++]=o[n++],--N;);n=s-A,E=P}}else if(m<N){if(n+=h+m-N,(N-=m)<C){for(C-=N;P[s++]=o[n++],--N;);if(n=0,m<C){for(C-=N=m;P[s++]=o[n++],--N;);n=s-A,E=P}}}else if(n+=m-N,N<C){for(C-=N;P[s++]=o[n++],--N;);n=s-A,E=P}for(;2<C;)P[s++]=E[n++],P[s++]=E[n++],P[s++]=E[n++],C-=3;C&&(P[s++]=E[n++],1<C&&(P[s++]=E[n++]))}else{for(n=s-A;P[s++]=P[n++],P[s++]=P[n++],P[s++]=P[n++],2<(C-=3););C&&(P[s++]=P[n++],1<C&&(P[s++]=P[n++]))}break}}break}}while(f<w&&s<_);f-=C=O>>3,b&=(1<<(O-=C<<3))-1,l.next_in=f,l.next_out=s,l.avail_in=f<w?w-f+5:5-(f-w),l.avail_out=s<_?_-s+257:257-(s-_),a.hold=b,a.bits=O}},{}],49:[function(y,M,v){"use strict";var l=y("../utils/common"),c=y("./adler32"),a=y("./crc32"),f=y("./inffast"),w=y("./inftrees"),s=1,u=2,_=0,r=-2,h=1,i=852,m=592;function o(n){return(n>>>24&255)+(n>>>8&65280)+((65280&n)<<8)+((255&n)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function O(n){var E;return n&&n.state?(E=n.state,n.total_in=n.total_out=E.total=0,n.msg="",E.wrap&&(n.adler=1&E.wrap),E.mode=h,E.last=0,E.havedict=0,E.dmax=32768,E.head=null,E.hold=0,E.bits=0,E.lencode=E.lendyn=new l.Buf32(i),E.distcode=E.distdyn=new l.Buf32(m),E.sane=1,E.back=-1,_):r}function I(n){var E;return n&&n.state?((E=n.state).wsize=0,E.whave=0,E.wnext=0,O(n)):r}function S(n,E){var t,P;return n&&n.state?(P=n.state,E<0?(t=0,E=-E):(t=1+(E>>4),E<48&&(E&=15)),E&&(E<8||15<E)?r:(P.window!==null&&P.wbits!==E&&(P.window=null),P.wrap=t,P.wbits=E,I(n))):r}function K(n,E){var t,P;return n?(P=new b,(n.state=P).window=null,(t=S(n,E))!==_&&(n.state=null),t):r}var U,X,N=!0;function C(n){if(N){var E;for(U=new l.Buf32(512),X=new l.Buf32(32),E=0;E<144;)n.lens[E++]=8;for(;E<256;)n.lens[E++]=9;for(;E<280;)n.lens[E++]=7;for(;E<288;)n.lens[E++]=8;for(w(s,n.lens,0,288,U,0,n.work,{bits:9}),E=0;E<32;)n.lens[E++]=5;w(u,n.lens,0,32,X,0,n.work,{bits:5}),N=!1}n.lencode=U,n.lenbits=9,n.distcode=X,n.distbits=5}function A(n,E,t,P){var J,W=n.state;return W.window===null&&(W.wsize=1<<W.wbits,W.wnext=0,W.whave=0,W.window=new l.Buf8(W.wsize)),P>=W.wsize?(l.arraySet(W.window,E,t-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(P<(J=W.wsize-W.wnext)&&(J=P),l.arraySet(W.window,E,t-P,J,W.wnext),(P-=J)?(l.arraySet(W.window,E,t-P,P,0),W.wnext=P,W.whave=W.wsize):(W.wnext+=J,W.wnext===W.wsize&&(W.wnext=0),W.whave<W.wsize&&(W.whave+=J))),0}v.inflateReset=I,v.inflateReset2=S,v.inflateResetKeep=O,v.inflateInit=function(n){return K(n,15)},v.inflateInit2=K,v.inflate=function(n,E){var t,P,J,W,ut,F,at,Z,T,lt,et,Y,kt,Tt,dt,Ot,Ft,z,Qt,Gt,e,H,$,g,p=0,j=new l.Buf8(4),G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!n||!n.state||!n.output||!n.input&&n.avail_in!==0)return r;(t=n.state).mode===12&&(t.mode=13),ut=n.next_out,J=n.output,at=n.avail_out,W=n.next_in,P=n.input,F=n.avail_in,Z=t.hold,T=t.bits,lt=F,et=at,H=_;t:for(;;)switch(t.mode){case h:if(t.wrap===0){t.mode=13;break}for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(2&t.wrap&&Z===35615){j[t.check=0]=255&Z,j[1]=Z>>>8&255,t.check=a(t.check,j,2,0),T=Z=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&Z)<<8)+(Z>>8))%31){n.msg="incorrect header check",t.mode=30;break}if((15&Z)!=8){n.msg="unknown compression method",t.mode=30;break}if(T-=4,e=8+(15&(Z>>>=4)),t.wbits===0)t.wbits=e;else if(e>t.wbits){n.msg="invalid window size",t.mode=30;break}t.dmax=1<<e,n.adler=t.check=1,t.mode=512&Z?10:12,T=Z=0;break;case 2:for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(t.flags=Z,(255&t.flags)!=8){n.msg="unknown compression method",t.mode=30;break}if(57344&t.flags){n.msg="unknown header flags set",t.mode=30;break}t.head&&(t.head.text=Z>>8&1),512&t.flags&&(j[0]=255&Z,j[1]=Z>>>8&255,t.check=a(t.check,j,2,0)),T=Z=0,t.mode=3;case 3:for(;T<32;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}t.head&&(t.head.time=Z),512&t.flags&&(j[0]=255&Z,j[1]=Z>>>8&255,j[2]=Z>>>16&255,j[3]=Z>>>24&255,t.check=a(t.check,j,4,0)),T=Z=0,t.mode=4;case 4:for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}t.head&&(t.head.xflags=255&Z,t.head.os=Z>>8),512&t.flags&&(j[0]=255&Z,j[1]=Z>>>8&255,t.check=a(t.check,j,2,0)),T=Z=0,t.mode=5;case 5:if(1024&t.flags){for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}t.length=Z,t.head&&(t.head.extra_len=Z),512&t.flags&&(j[0]=255&Z,j[1]=Z>>>8&255,t.check=a(t.check,j,2,0)),T=Z=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&(F<(Y=t.length)&&(Y=F),Y&&(t.head&&(e=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),l.arraySet(t.head.extra,P,W,Y,e)),512&t.flags&&(t.check=a(t.check,P,Y,W)),F-=Y,W+=Y,t.length-=Y),t.length))break t;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(F===0)break t;for(Y=0;e=P[W+Y++],t.head&&e&&t.length<65536&&(t.head.name+=String.fromCharCode(e)),e&&Y<F;);if(512&t.flags&&(t.check=a(t.check,P,Y,W)),F-=Y,W+=Y,e)break t}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(F===0)break t;for(Y=0;e=P[W+Y++],t.head&&e&&t.length<65536&&(t.head.comment+=String.fromCharCode(e)),e&&Y<F;);if(512&t.flags&&(t.check=a(t.check,P,Y,W)),F-=Y,W+=Y,e)break t}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;T<16;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(Z!==(65535&t.check)){n.msg="header crc mismatch",t.mode=30;break}T=Z=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=12;break;case 10:for(;T<32;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}n.adler=t.check=o(Z),T=Z=0,t.mode=11;case 11:if(t.havedict===0)return n.next_out=ut,n.avail_out=at,n.next_in=W,n.avail_in=F,t.hold=Z,t.bits=T,2;n.adler=t.check=1,t.mode=12;case 12:if(E===5||E===6)break t;case 13:if(t.last){Z>>>=7&T,T-=7&T,t.mode=27;break}for(;T<3;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}switch(t.last=1&Z,T-=1,3&(Z>>>=1)){case 0:t.mode=14;break;case 1:if(C(t),t.mode=20,E!==6)break;Z>>>=2,T-=2;break t;case 2:t.mode=17;break;case 3:n.msg="invalid block type",t.mode=30}Z>>>=2,T-=2;break;case 14:for(Z>>>=7&T,T-=7&T;T<32;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if((65535&Z)!=(Z>>>16^65535)){n.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&Z,T=Z=0,t.mode=15,E===6)break t;case 15:t.mode=16;case 16:if(Y=t.length){if(F<Y&&(Y=F),at<Y&&(Y=at),Y===0)break t;l.arraySet(J,P,W,Y,ut),F-=Y,W+=Y,at-=Y,ut+=Y,t.length-=Y;break}t.mode=12;break;case 17:for(;T<14;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(t.nlen=257+(31&Z),Z>>>=5,T-=5,t.ndist=1+(31&Z),Z>>>=5,T-=5,t.ncode=4+(15&Z),Z>>>=4,T-=4,286<t.nlen||30<t.ndist){n.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;T<3;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}t.lens[G[t.have++]]=7&Z,Z>>>=3,T-=3}for(;t.have<19;)t.lens[G[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,$={bits:t.lenbits},H=w(0,t.lens,0,19,t.lencode,0,t.work,$),t.lenbits=$.bits,H){n.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;Ot=(p=t.lencode[Z&(1<<t.lenbits)-1])>>>16&255,Ft=65535&p,!((dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(Ft<16)Z>>>=dt,T-=dt,t.lens[t.have++]=Ft;else{if(Ft===16){for(g=dt+2;T<g;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(Z>>>=dt,T-=dt,t.have===0){n.msg="invalid bit length repeat",t.mode=30;break}e=t.lens[t.have-1],Y=3+(3&Z),Z>>>=2,T-=2}else if(Ft===17){for(g=dt+3;T<g;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}T-=dt,e=0,Y=3+(7&(Z>>>=dt)),Z>>>=3,T-=3}else{for(g=dt+7;T<g;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}T-=dt,e=0,Y=11+(127&(Z>>>=dt)),Z>>>=7,T-=7}if(t.have+Y>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=30;break}for(;Y--;)t.lens[t.have++]=e}}if(t.mode===30)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,$={bits:t.lenbits},H=w(s,t.lens,0,t.nlen,t.lencode,0,t.work,$),t.lenbits=$.bits,H){n.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,$={bits:t.distbits},H=w(u,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,$),t.distbits=$.bits,H){n.msg="invalid distances set",t.mode=30;break}if(t.mode=20,E===6)break t;case 20:t.mode=21;case 21:if(6<=F&&258<=at){n.next_out=ut,n.avail_out=at,n.next_in=W,n.avail_in=F,t.hold=Z,t.bits=T,f(n,et),ut=n.next_out,J=n.output,at=n.avail_out,W=n.next_in,P=n.input,F=n.avail_in,Z=t.hold,T=t.bits,t.mode===12&&(t.back=-1);break}for(t.back=0;Ot=(p=t.lencode[Z&(1<<t.lenbits)-1])>>>16&255,Ft=65535&p,!((dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(Ot&&!(240&Ot)){for(z=dt,Qt=Ot,Gt=Ft;Ot=(p=t.lencode[Gt+((Z&(1<<z+Qt)-1)>>z)])>>>16&255,Ft=65535&p,!(z+(dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}Z>>>=z,T-=z,t.back+=z}if(Z>>>=dt,T-=dt,t.back+=dt,t.length=Ft,Ot===0){t.mode=26;break}if(32&Ot){t.back=-1,t.mode=12;break}if(64&Ot){n.msg="invalid literal/length code",t.mode=30;break}t.extra=15&Ot,t.mode=22;case 22:if(t.extra){for(g=t.extra;T<g;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}t.length+=Z&(1<<t.extra)-1,Z>>>=t.extra,T-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;Ot=(p=t.distcode[Z&(1<<t.distbits)-1])>>>16&255,Ft=65535&p,!((dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(!(240&Ot)){for(z=dt,Qt=Ot,Gt=Ft;Ot=(p=t.distcode[Gt+((Z&(1<<z+Qt)-1)>>z)])>>>16&255,Ft=65535&p,!(z+(dt=p>>>24)<=T);){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}Z>>>=z,T-=z,t.back+=z}if(Z>>>=dt,T-=dt,t.back+=dt,64&Ot){n.msg="invalid distance code",t.mode=30;break}t.offset=Ft,t.extra=15&Ot,t.mode=24;case 24:if(t.extra){for(g=t.extra;T<g;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}t.offset+=Z&(1<<t.extra)-1,Z>>>=t.extra,T-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(at===0)break t;if(Y=et-at,t.offset>Y){if((Y=t.offset-Y)>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=30;break}kt=Y>t.wnext?(Y-=t.wnext,t.wsize-Y):t.wnext-Y,Y>t.length&&(Y=t.length),Tt=t.window}else Tt=J,kt=ut-t.offset,Y=t.length;for(at<Y&&(Y=at),at-=Y,t.length-=Y;J[ut++]=Tt[kt++],--Y;);t.length===0&&(t.mode=21);break;case 26:if(at===0)break t;J[ut++]=t.length,at--,t.mode=21;break;case 27:if(t.wrap){for(;T<32;){if(F===0)break t;F--,Z|=P[W++]<<T,T+=8}if(et-=at,n.total_out+=et,t.total+=et,et&&(n.adler=t.check=t.flags?a(t.check,J,et,ut-et):c(t.check,J,et,ut-et)),et=at,(t.flags?Z:o(Z))!==t.check){n.msg="incorrect data check",t.mode=30;break}T=Z=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;T<32;){if(F===0)break t;F--,Z+=P[W++]<<T,T+=8}if(Z!==(4294967295&t.total)){n.msg="incorrect length check",t.mode=30;break}T=Z=0}t.mode=29;case 29:H=1;break t;case 30:H=-3;break t;case 31:return-4;case 32:default:return r}return n.next_out=ut,n.avail_out=at,n.next_in=W,n.avail_in=F,t.hold=Z,t.bits=T,(t.wsize||et!==n.avail_out&&t.mode<30&&(t.mode<27||E!==4))&&A(n,n.output,n.next_out,et-n.avail_out)?(t.mode=31,-4):(lt-=n.avail_in,et-=n.avail_out,n.total_in+=lt,n.total_out+=et,t.total+=et,t.wrap&&et&&(n.adler=t.check=t.flags?a(t.check,J,et,n.next_out-et):c(t.check,J,et,n.next_out-et)),n.data_type=t.bits+(t.last?64:0)+(t.mode===12?128:0)+(t.mode===20||t.mode===15?256:0),(lt==0&&et===0||E===4)&&H===_&&(H=-5),H)},v.inflateEnd=function(n){if(!n||!n.state)return r;var E=n.state;return E.window&&(E.window=null),n.state=null,_},v.inflateGetHeader=function(n,E){var t;return n&&n.state&&2&(t=n.state).wrap?((t.head=E).done=!1,_):r},v.inflateSetDictionary=function(n,E){var t,P=E.length;return n&&n.state?(t=n.state).wrap!==0&&t.mode!==11?r:t.mode===11&&c(1,E,P,0)!==t.check?-3:A(n,E,P,P)?(t.mode=31,-4):(t.havedict=1,_):r},v.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(y,M,v){"use strict";var l=y("../utils/common"),c=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],w=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];M.exports=function(s,u,_,r,h,i,m,o){var b,O,I,S,K,U,X,N,C,A=o.bits,n=0,E=0,t=0,P=0,J=0,W=0,ut=0,F=0,at=0,Z=0,T=null,lt=0,et=new l.Buf16(16),Y=new l.Buf16(16),kt=null,Tt=0;for(n=0;n<=15;n++)et[n]=0;for(E=0;E<r;E++)et[u[_+E]]++;for(J=A,P=15;1<=P&&et[P]===0;P--);if(P<J&&(J=P),P===0)return h[i++]=20971520,h[i++]=20971520,o.bits=1,0;for(t=1;t<P&&et[t]===0;t++);for(J<t&&(J=t),n=F=1;n<=15;n++)if(F<<=1,(F-=et[n])<0)return-1;if(0<F&&(s===0||P!==1))return-1;for(Y[1]=0,n=1;n<15;n++)Y[n+1]=Y[n]+et[n];for(E=0;E<r;E++)u[_+E]!==0&&(m[Y[u[_+E]]++]=E);if(U=s===0?(T=kt=m,19):s===1?(T=c,lt-=257,kt=a,Tt-=257,256):(T=f,kt=w,-1),n=t,K=i,ut=E=Z=0,I=-1,S=(at=1<<(W=J))-1,s===1&&852<at||s===2&&592<at)return 1;for(;;){for(X=n-ut,C=m[E]<U?(N=0,m[E]):m[E]>U?(N=kt[Tt+m[E]],T[lt+m[E]]):(N=96,0),b=1<<n-ut,t=O=1<<W;h[K+(Z>>ut)+(O-=b)]=X<<24|N<<16|C|0,O!==0;);for(b=1<<n-1;Z&b;)b>>=1;if(b!==0?(Z&=b-1,Z+=b):Z=0,E++,--et[n]==0){if(n===P)break;n=u[_+m[E]]}if(J<n&&(Z&S)!==I){for(ut===0&&(ut=J),K+=t,F=1<<(W=n-ut);W+ut<P&&!((F-=et[W+ut])<=0);)W++,F<<=1;if(at+=1<<W,s===1&&852<at||s===2&&592<at)return 1;h[I=Z&S]=J<<24|W<<16|K-i|0}}return Z!==0&&(h[K+Z]=n-ut<<24|64<<16|0),o.bits=J,0}},{"../utils/common":41}],51:[function(y,M,v){"use strict";M.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(y,M,v){"use strict";var l=y("../utils/common"),c=0,a=1;function f(p){for(var j=p.length;0<=--j;)p[j]=0}var w=0,s=29,u=256,_=u+1+s,r=30,h=19,i=2*_+1,m=15,o=16,b=7,O=256,I=16,S=17,K=18,U=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],X=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=new Array(2*(_+2));f(A);var n=new Array(2*r);f(n);var E=new Array(512);f(E);var t=new Array(256);f(t);var P=new Array(s);f(P);var J,W,ut,F=new Array(r);function at(p,j,G,V,R){this.static_tree=p,this.extra_bits=j,this.extra_base=G,this.elems=V,this.max_length=R,this.has_stree=p&&p.length}function Z(p,j){this.dyn_tree=p,this.max_code=0,this.stat_desc=j}function T(p){return p<256?E[p]:E[256+(p>>>7)]}function lt(p,j){p.pending_buf[p.pending++]=255&j,p.pending_buf[p.pending++]=j>>>8&255}function et(p,j,G){p.bi_valid>o-G?(p.bi_buf|=j<<p.bi_valid&65535,lt(p,p.bi_buf),p.bi_buf=j>>o-p.bi_valid,p.bi_valid+=G-o):(p.bi_buf|=j<<p.bi_valid&65535,p.bi_valid+=G)}function Y(p,j,G){et(p,G[2*j],G[2*j+1])}function kt(p,j){for(var G=0;G|=1&p,p>>>=1,G<<=1,0<--j;);return G>>>1}function Tt(p,j,G){var V,R,Q=new Array(m+1),nt=0;for(V=1;V<=m;V++)Q[V]=nt=nt+G[V-1]<<1;for(R=0;R<=j;R++){var q=p[2*R+1];q!==0&&(p[2*R]=kt(Q[q]++,q))}}function dt(p){var j;for(j=0;j<_;j++)p.dyn_ltree[2*j]=0;for(j=0;j<r;j++)p.dyn_dtree[2*j]=0;for(j=0;j<h;j++)p.bl_tree[2*j]=0;p.dyn_ltree[2*O]=1,p.opt_len=p.static_len=0,p.last_lit=p.matches=0}function Ot(p){8<p.bi_valid?lt(p,p.bi_buf):0<p.bi_valid&&(p.pending_buf[p.pending++]=p.bi_buf),p.bi_buf=0,p.bi_valid=0}function Ft(p,j,G,V){var R=2*j,Q=2*G;return p[R]<p[Q]||p[R]===p[Q]&&V[j]<=V[G]}function z(p,j,G){for(var V=p.heap[G],R=G<<1;R<=p.heap_len&&(R<p.heap_len&&Ft(j,p.heap[R+1],p.heap[R],p.depth)&&R++,!Ft(j,V,p.heap[R],p.depth));)p.heap[G]=p.heap[R],G=R,R<<=1;p.heap[G]=V}function Qt(p,j,G){var V,R,Q,nt,q=0;if(p.last_lit!==0)for(;V=p.pending_buf[p.d_buf+2*q]<<8|p.pending_buf[p.d_buf+2*q+1],R=p.pending_buf[p.l_buf+q],q++,V===0?Y(p,R,j):(Y(p,(Q=t[R])+u+1,j),(nt=U[Q])!==0&&et(p,R-=P[Q],nt),Y(p,Q=T(--V),G),(nt=X[Q])!==0&&et(p,V-=F[Q],nt)),q<p.last_lit;);Y(p,O,j)}function Gt(p,j){var G,V,R,Q=j.dyn_tree,nt=j.stat_desc.static_tree,q=j.stat_desc.has_stree,ft=j.stat_desc.elems,Zt=-1;for(p.heap_len=0,p.heap_max=i,G=0;G<ft;G++)Q[2*G]!==0?(p.heap[++p.heap_len]=Zt=G,p.depth[G]=0):Q[2*G+1]=0;for(;p.heap_len<2;)Q[2*(R=p.heap[++p.heap_len]=Zt<2?++Zt:0)]=1,p.depth[R]=0,p.opt_len--,q&&(p.static_len-=nt[2*R+1]);for(j.max_code=Zt,G=p.heap_len>>1;1<=G;G--)z(p,Q,G);for(R=ft;G=p.heap[1],p.heap[1]=p.heap[p.heap_len--],z(p,Q,1),V=p.heap[1],p.heap[--p.heap_max]=G,p.heap[--p.heap_max]=V,Q[2*R]=Q[2*G]+Q[2*V],p.depth[R]=(p.depth[G]>=p.depth[V]?p.depth[G]:p.depth[V])+1,Q[2*G+1]=Q[2*V+1]=R,p.heap[1]=R++,z(p,Q,1),2<=p.heap_len;);p.heap[--p.heap_max]=p.heap[1],function(ot,Pt){var St,bt,It,gt,Ut,qt,Jt=Pt.dyn_tree,oe=Pt.max_code,ae=Pt.stat_desc.static_tree,pe=Pt.stat_desc.has_stree,de=Pt.stat_desc.extra_bits,he=Pt.stat_desc.extra_base,re=Pt.stat_desc.max_length,ie=0;for(gt=0;gt<=m;gt++)ot.bl_count[gt]=0;for(Jt[2*ot.heap[ot.heap_max]+1]=0,St=ot.heap_max+1;St<i;St++)re<(gt=Jt[2*Jt[2*(bt=ot.heap[St])+1]+1]+1)&&(gt=re,ie++),Jt[2*bt+1]=gt,oe<bt||(ot.bl_count[gt]++,Ut=0,he<=bt&&(Ut=de[bt-he]),qt=Jt[2*bt],ot.opt_len+=qt*(gt+Ut),pe&&(ot.static_len+=qt*(ae[2*bt+1]+Ut)));if(ie!==0){do{for(gt=re-1;ot.bl_count[gt]===0;)gt--;ot.bl_count[gt]--,ot.bl_count[gt+1]+=2,ot.bl_count[re]--,ie-=2}while(0<ie);for(gt=re;gt!==0;gt--)for(bt=ot.bl_count[gt];bt!==0;)oe<(It=ot.heap[--St])||(Jt[2*It+1]!==gt&&(ot.opt_len+=(gt-Jt[2*It+1])*Jt[2*It],Jt[2*It+1]=gt),bt--)}}(p,j),Tt(Q,Zt,p.bl_count)}function e(p,j,G){var V,R,Q=-1,nt=j[1],q=0,ft=7,Zt=4;for(nt===0&&(ft=138,Zt=3),j[2*(G+1)+1]=65535,V=0;V<=G;V++)R=nt,nt=j[2*(V+1)+1],++q<ft&&R===nt||(q<Zt?p.bl_tree[2*R]+=q:R!==0?(R!==Q&&p.bl_tree[2*R]++,p.bl_tree[2*I]++):q<=10?p.bl_tree[2*S]++:p.bl_tree[2*K]++,Q=R,Zt=(q=0)===nt?(ft=138,3):R===nt?(ft=6,3):(ft=7,4))}function H(p,j,G){var V,R,Q=-1,nt=j[1],q=0,ft=7,Zt=4;for(nt===0&&(ft=138,Zt=3),V=0;V<=G;V++)if(R=nt,nt=j[2*(V+1)+1],!(++q<ft&&R===nt)){if(q<Zt)for(;Y(p,R,p.bl_tree),--q!=0;);else R!==0?(R!==Q&&(Y(p,R,p.bl_tree),q--),Y(p,I,p.bl_tree),et(p,q-3,2)):q<=10?(Y(p,S,p.bl_tree),et(p,q-3,3)):(Y(p,K,p.bl_tree),et(p,q-11,7));Q=R,Zt=(q=0)===nt?(ft=138,3):R===nt?(ft=6,3):(ft=7,4)}}f(F);var $=!1;function g(p,j,G,V){et(p,(w<<1)+(V?1:0),3),function(R,Q,nt,q){Ot(R),q&&(lt(R,nt),lt(R,~nt)),l.arraySet(R.pending_buf,R.window,Q,nt,R.pending),R.pending+=nt}(p,j,G,!0)}v._tr_init=function(p){$||(function(){var j,G,V,R,Q,nt=new Array(m+1);for(R=V=0;R<s-1;R++)for(P[R]=V,j=0;j<1<<U[R];j++)t[V++]=R;for(t[V-1]=R,R=Q=0;R<16;R++)for(F[R]=Q,j=0;j<1<<X[R];j++)E[Q++]=R;for(Q>>=7;R<r;R++)for(F[R]=Q<<7,j=0;j<1<<X[R]-7;j++)E[256+Q++]=R;for(G=0;G<=m;G++)nt[G]=0;for(j=0;j<=143;)A[2*j+1]=8,j++,nt[8]++;for(;j<=255;)A[2*j+1]=9,j++,nt[9]++;for(;j<=279;)A[2*j+1]=7,j++,nt[7]++;for(;j<=287;)A[2*j+1]=8,j++,nt[8]++;for(Tt(A,_+1,nt),j=0;j<r;j++)n[2*j+1]=5,n[2*j]=kt(j,5);J=new at(A,U,u+1,_,m),W=new at(n,X,0,r,m),ut=new at(new Array(0),N,0,h,b)}(),$=!0),p.l_desc=new Z(p.dyn_ltree,J),p.d_desc=new Z(p.dyn_dtree,W),p.bl_desc=new Z(p.bl_tree,ut),p.bi_buf=0,p.bi_valid=0,dt(p)},v._tr_stored_block=g,v._tr_flush_block=function(p,j,G,V){var R,Q,nt=0;0<p.level?(p.strm.data_type===2&&(p.strm.data_type=function(q){var ft,Zt=4093624447;for(ft=0;ft<=31;ft++,Zt>>>=1)if(1&Zt&&q.dyn_ltree[2*ft]!==0)return c;if(q.dyn_ltree[18]!==0||q.dyn_ltree[20]!==0||q.dyn_ltree[26]!==0)return a;for(ft=32;ft<u;ft++)if(q.dyn_ltree[2*ft]!==0)return a;return c}(p)),Gt(p,p.l_desc),Gt(p,p.d_desc),nt=function(q){var ft;for(e(q,q.dyn_ltree,q.l_desc.max_code),e(q,q.dyn_dtree,q.d_desc.max_code),Gt(q,q.bl_desc),ft=h-1;3<=ft&&q.bl_tree[2*C[ft]+1]===0;ft--);return q.opt_len+=3*(ft+1)+5+5+4,ft}(p),R=p.opt_len+3+7>>>3,(Q=p.static_len+3+7>>>3)<=R&&(R=Q)):R=Q=G+5,G+4<=R&&j!==-1?g(p,j,G,V):p.strategy===4||Q===R?(et(p,2+(V?1:0),3),Qt(p,A,n)):(et(p,4+(V?1:0),3),function(q,ft,Zt,ot){var Pt;for(et(q,ft-257,5),et(q,Zt-1,5),et(q,ot-4,4),Pt=0;Pt<ot;Pt++)et(q,q.bl_tree[2*C[Pt]+1],3);H(q,q.dyn_ltree,ft-1),H(q,q.dyn_dtree,Zt-1)}(p,p.l_desc.max_code+1,p.d_desc.max_code+1,nt+1),Qt(p,p.dyn_ltree,p.dyn_dtree)),dt(p),V&&Ot(p)},v._tr_tally=function(p,j,G){return p.pending_buf[p.d_buf+2*p.last_lit]=j>>>8&255,p.pending_buf[p.d_buf+2*p.last_lit+1]=255&j,p.pending_buf[p.l_buf+p.last_lit]=255&G,p.last_lit++,j===0?p.dyn_ltree[2*G]++:(p.matches++,j--,p.dyn_ltree[2*(t[G]+u+1)]++,p.dyn_dtree[2*T(j)]++),p.last_lit===p.lit_bufsize-1},v._tr_align=function(p){et(p,2,3),Y(p,O,A),function(j){j.bi_valid===16?(lt(j,j.bi_buf),j.bi_buf=0,j.bi_valid=0):8<=j.bi_valid&&(j.pending_buf[j.pending++]=255&j.bi_buf,j.bi_buf>>=8,j.bi_valid-=8)}(p)}},{"../utils/common":41}],53:[function(y,M,v){"use strict";M.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(y,M,v){(function(l){(function(c,a){"use strict";if(!c.setImmediate){var f,w,s,u,_=1,r={},h=!1,i=c.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(c);m=m&&m.setTimeout?m:c,f={}.toString.call(c.process)==="[object process]"?function(I){vt.nextTick(function(){b(I)})}:function(){if(c.postMessage&&!c.importScripts){var I=!0,S=c.onmessage;return c.onmessage=function(){I=!1},c.postMessage("","*"),c.onmessage=S,I}}()?(u="setImmediate$"+Math.random()+"$",c.addEventListener?c.addEventListener("message",O,!1):c.attachEvent("onmessage",O),function(I){c.postMessage(u+I,"*")}):c.MessageChannel?((s=new MessageChannel).port1.onmessage=function(I){b(I.data)},function(I){s.port2.postMessage(I)}):i&&"onreadystatechange"in i.createElement("script")?(w=i.documentElement,function(I){var S=i.createElement("script");S.onreadystatechange=function(){b(I),S.onreadystatechange=null,w.removeChild(S),S=null},w.appendChild(S)}):function(I){setTimeout(b,0,I)},m.setImmediate=function(I){typeof I!="function"&&(I=new Function(""+I));for(var S=new Array(arguments.length-1),K=0;K<S.length;K++)S[K]=arguments[K+1];var U={callback:I,args:S};return r[_]=U,f(_),_++},m.clearImmediate=o}function o(I){delete r[I]}function b(I){if(h)setTimeout(b,0,I);else{var S=r[I];if(S){h=!0;try{(function(K){var U=K.callback,X=K.args;switch(X.length){case 0:U();break;case 1:U(X[0]);break;case 2:U(X[0],X[1]);break;case 3:U(X[0],X[1],X[2]);break;default:U.apply(a,X)}})(S)}finally{o(I),h=!1}}}}function O(I){I.source===c&&typeof I.data=="string"&&I.data.indexOf(u)===0&&b(+I.data.slice(u.length))}})(typeof self=="undefined"?l===void 0?this:l:self)}).call(this,typeof B.g!="undefined"?B.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})}}]);