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