diff --git a/assets/index-sCRcDI-t.js b/assets/index-iaZO3KL6.js similarity index 99% rename from assets/index-sCRcDI-t.js rename to assets/index-iaZO3KL6.js index 46fe5a3..7d9d90b 100644 --- a/assets/index-sCRcDI-t.js +++ b/assets/index-iaZO3KL6.js @@ -916,5 +916,5 @@ ${t} border-top: 1px solid var(--n-tab-border-color); `)])])])]),D2=Object.assign(Object.assign({},Dt.props),{value:[String,Number],defaultValue:[String,Number],trigger:{type:String,default:"click"},type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},placement:{type:String,default:"top"},tabStyle:[String,Object],barWidth:Number,paneClass:String,paneStyle:[String,Object],paneWrapperClass:String,paneWrapperStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},animated:Boolean,onBeforeLeave:Function,onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]}),Sp=bt({name:"Tabs",props:D2,setup(e,{slots:t}){var n,r,o,i;const{mergedClsPrefixRef:s,inlineThemeDisabled:a}=_r(e),l=Dt("Tabs","-tabs",M2,O2,e,s),d=Oe(null),f=Oe(null),m=Oe(null),v=Oe(null),k=Oe(null),T=Oe(!0),x=Oe(!0),p=dd(e,["labelSize","size"]),g=dd(e,["activeName","value"]),w=Oe((r=(n=g.value)!==null&&n!==void 0?n:e.defaultValue)!==null&&r!==void 0?r:t.default?(i=(o=jr(t.default())[0])===null||o===void 0?void 0:o.props)===null||i===void 0?void 0:i.name:null),L=Pm(g,w),P={id:0},C=Ge(()=>{if(!(!e.justifyContent||e.type==="card"))return{display:"flex",justifyContent:e.justifyContent}});fn(L,()=>{P.id=0,H(),N()});function S(){var F;const{value:U}=L;return U===null?null:(F=d.value)===null||F===void 0?void 0:F.querySelector(`[data-name="${U}"]`)}function _(F){if(e.type==="card")return;const{value:U}=f;if(U&&F){const J=`${s.value}-tabs-bar--disabled`,{barWidth:X,placement:re}=e;if(F.dataset.disabled==="true"?U.classList.add(J):U.classList.remove(J),["top","bottom"].includes(re)){if(A(["top","maxHeight","height"]),typeof X=="number"&&F.offsetWidth>=X){const Q=Math.floor((F.offsetWidth-X)/2)+F.offsetLeft;U.style.left=`${Q}px`,U.style.maxWidth=`${X}px`}else U.style.left=`${F.offsetLeft}px`,U.style.maxWidth=`${F.offsetWidth}px`;U.style.width="8192px",U.offsetWidth}else{if(A(["left","maxWidth","width"]),typeof X=="number"&&F.offsetHeight>=X){const Q=Math.floor((F.offsetHeight-X)/2)+F.offsetTop;U.style.top=`${Q}px`,U.style.maxHeight=`${X}px`}else U.style.top=`${F.offsetTop}px`,U.style.maxHeight=`${F.offsetHeight}px`;U.style.height="8192px",U.offsetHeight}}}function A(F){const{value:U}=f;if(U)for(const J of F)U.style[J]=""}function H(){if(e.type==="card")return;const F=S();F&&_(F)}function N(F){var U;const J=(U=k.value)===null||U===void 0?void 0:U.$el;if(!J)return;const X=S();if(!X)return;const{scrollLeft:re,offsetWidth:Q}=J,{offsetLeft:Re,offsetWidth:we}=X;re>Re?J.scrollTo({top:0,left:Re,behavior:"smooth"}):Re+we>re+Q&&J.scrollTo({top:0,left:Re+we-Q,behavior:"smooth"})}const V=Oe(null);let G=0,te=null;function _e(F){const U=V.value;if(U){G=F.getBoundingClientRect().height;const J=`${G}px`,X=()=>{U.style.height=J,U.style.maxHeight=J};te?(X(),te(),te=null):te=X}}function ve(F){const U=V.value;if(U){const J=F.getBoundingClientRect().height,X=()=>{document.body.offsetHeight,U.style.maxHeight=`${J}px`,U.style.height=`${Math.max(G,J)}px`};te?(te(),te=null,X()):te=X}}function ce(){const F=V.value;if(F){F.style.maxHeight="",F.style.height="";const{paneWrapperStyle:U}=e;if(typeof U=="string")F.style.cssText=U;else if(U){const{maxHeight:J,height:X}=U;J!==void 0&&(F.style.maxHeight=J),X!==void 0&&(F.style.height=X)}}}const le={value:[]},me=Oe("next");function et(F){const U=L.value;let J="next";for(const X of le.value){if(X===U)break;if(X===F){J="prev";break}}me.value=J,Ee(F)}function Ee(F){const{onActiveNameChange:U,onUpdateValue:J,"onUpdate:value":X}=e;U&&$n(U,F),J&&$n(J,F),X&&$n(X,F),w.value=F}function ot(F){const{onClose:U}=e;U&&$n(U,F)}function Ie(){const{value:F}=f;if(!F)return;const U="transition-disabled";F.classList.add(U),H(),F.classList.remove(U)}let je=0;function Lt(F){var U;if(F.contentRect.width===0&&F.contentRect.height===0||je===F.contentRect.width)return;je=F.contentRect.width;const{type:J}=e;(J==="line"||J==="bar")&&Ie(),J!=="segment"&&pt((U=k.value)===null||U===void 0?void 0:U.$el)}const $t=va(Lt,64);fn([()=>e.justifyContent,()=>e.size],()=>{zr(()=>{const{type:F}=e;(F==="line"||F==="bar")&&Ie()})});const Ne=Oe(!1);function Me(F){var U;const{target:J,contentRect:{width:X}}=F,re=J.parentElement.offsetWidth;if(!Ne.value)reQ.$el.offsetWidth&&(Ne.value=!1)}pt((U=k.value)===null||U===void 0?void 0:U.$el)}const Xe=va(Me,64);function De(){const{onAdd:F}=e;F&&F(),zr(()=>{const U=S(),{value:J}=k;!U||!J||J.scrollTo({left:U.offsetLeft,top:0,behavior:"smooth"})})}function pt(F){if(!F)return;const{placement:U}=e;if(U==="top"||U==="bottom"){const{scrollLeft:J,scrollWidth:X,offsetWidth:re}=F;T.value=J<=0,x.value=J+re>=X}else{const{scrollTop:J,scrollHeight:X,offsetHeight:re}=F;T.value=J<=0,x.value=J+re>=X}}const Pt=va(F=>{pt(F.target)},64);Hn(Ql,{triggerRef:Kt(e,"trigger"),tabStyleRef:Kt(e,"tabStyle"),paneClassRef:Kt(e,"paneClass"),paneStyleRef:Kt(e,"paneStyle"),mergedClsPrefixRef:s,typeRef:Kt(e,"type"),closableRef:Kt(e,"closable"),valueRef:L,tabChangeIdRef:P,onBeforeLeaveRef:Kt(e,"onBeforeLeave"),activateTab:et,handleClose:ot,handleAdd:De}),Sm(()=>{H(),N()}),zs(()=>{const{value:F}=m;if(!F)return;const{value:U}=s,J=`${U}-tabs-nav-scroll-wrapper--shadow-start`,X=`${U}-tabs-nav-scroll-wrapper--shadow-end`;T.value?F.classList.remove(J):F.classList.add(J),x.value?F.classList.remove(X):F.classList.add(X)});const O=Oe(null);fn(L,()=>{if(e.type==="segment"){const F=O.value;F&&zr(()=>{F.classList.add("transition-disabled"),F.offsetWidth,F.classList.remove("transition-disabled")})}});const z={syncBarPosition:()=>{H()}},Y=Ge(()=>{const{value:F}=p,{type:U}=e,J={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[U],X=`${F}${J}`,{self:{barColor:re,closeIconColor:Q,closeIconColorHover:Re,closeIconColorPressed:we,tabColor:Ae,tabBorderColor:Fe,paneTextColor:Ke,tabFontWeight:it,tabBorderRadius:nt,tabFontWeightActive:st,colorSegment:St,fontWeightStrong:b,tabColorSegment:u,closeSize:c,closeIconSize:E,closeColorHover:B,closeColorPressed:h,closeBorderRadius:y,[Le("panePadding",F)]:R,[Le("tabPadding",X)]:$,[Le("tabPaddingVertical",X)]:D,[Le("tabGap",X)]:W,[Le("tabGap",`${X}Vertical`)]:oe,[Le("tabTextColor",U)]:ie,[Le("tabTextColorActive",U)]:Pe,[Le("tabTextColorHover",U)]:j,[Le("tabTextColorDisabled",U)]:de,[Le("tabFontSize",F)]:I},common:{cubicBezierEaseInOut:M}}=l.value;return{"--n-bezier":M,"--n-color-segment":St,"--n-bar-color":re,"--n-tab-font-size":I,"--n-tab-text-color":ie,"--n-tab-text-color-active":Pe,"--n-tab-text-color-disabled":de,"--n-tab-text-color-hover":j,"--n-pane-text-color":Ke,"--n-tab-border-color":Fe,"--n-tab-border-radius":nt,"--n-close-size":c,"--n-close-icon-size":E,"--n-close-color-hover":B,"--n-close-color-pressed":h,"--n-close-border-radius":y,"--n-close-icon-color":Q,"--n-close-icon-color-hover":Re,"--n-close-icon-color-pressed":we,"--n-tab-color":Ae,"--n-tab-font-weight":it,"--n-tab-font-weight-active":st,"--n-tab-padding":$,"--n-tab-padding-vertical":D,"--n-tab-gap":W,"--n-tab-gap-vertical":oe,"--n-pane-padding-left":Qo(R,"left"),"--n-pane-padding-right":Qo(R,"right"),"--n-pane-padding-top":Qo(R,"top"),"--n-pane-padding-bottom":Qo(R,"bottom"),"--n-font-weight-strong":b,"--n-tab-color-segment":u}}),ne=a?Yr("tabs",Ge(()=>`${p.value[0]}${e.type[0]}`),Y,e):void 0;return Object.assign({mergedClsPrefix:s,mergedValue:L,renderedNames:new Set,tabsRailElRef:O,tabsPaneWrapperRef:V,tabsElRef:d,barElRef:f,addTabInstRef:v,xScrollInstRef:k,scrollWrapperElRef:m,addTabFixed:Ne,tabWrapperStyle:C,handleNavResize:$t,mergedSize:p,handleScroll:Pt,handleTabsResize:Xe,cssVars:a?void 0:Y,themeClass:ne==null?void 0:ne.themeClass,animationDirection:me,renderNameListRef:le,onAnimationBeforeLeave:_e,onAnimationEnter:ve,onAnimationAfterEnter:ce,onRender:ne==null?void 0:ne.onRender},z)},render(){const{mergedClsPrefix:e,type:t,placement:n,addTabFixed:r,addable:o,mergedSize:i,renderNameListRef:s,onRender:a,paneWrapperClass:l,paneWrapperStyle:d,$slots:{default:f,prefix:m,suffix:v}}=this;a==null||a();const k=f?jr(f()).filter(C=>C.type.__TAB_PANE__===!0):[],T=f?jr(f()).filter(C=>C.type.__TAB__===!0):[],x=!T.length,p=t==="card",g=t==="segment",w=!p&&!g&&this.justifyContent;s.value=[];const L=()=>{const C=K("div",{style:this.tabWrapperStyle,class:[`${e}-tabs-wrapper`]},w?null:K("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}),x?k.map((S,_)=>(s.value.push(S.props.name),_a(K(al,Object.assign({},S.props,{internalCreatedByPane:!0,internalLeftPadded:_!==0&&(!w||w==="center"||w==="start"||w==="end")}),S.children?{default:S.children.tab}:void 0)))):T.map((S,_)=>(s.value.push(S.props.name),_a(_!==0&&!w?rf(S):S))),!r&&o&&p?nf(o,(x?k.length:T.length)!==0):null,w?null:K("div",{class:`${e}-tabs-scroll-padding`,style:{width:`${this.tabsPadding}px`}}));return K("div",{ref:"tabsElRef",class:`${e}-tabs-nav-scroll-content`},p&&o?K(Es,{onResize:this.handleTabsResize},{default:()=>C}):C,p?K("div",{class:`${e}-tabs-pad`}):null,p?null:K("div",{ref:"barElRef",class:`${e}-tabs-bar`}))},P=g?"top":n;return K("div",{class:[`${e}-tabs`,this.themeClass,`${e}-tabs--${t}-type`,`${e}-tabs--${i}-size`,w&&`${e}-tabs--flex`,`${e}-tabs--${P}`],style:this.cssVars},K("div",{class:[`${e}-tabs-nav--${t}-type`,`${e}-tabs-nav--${P}`,`${e}-tabs-nav`]},gn(m,C=>C&&K("div",{class:`${e}-tabs-nav__prefix`},C)),g?K("div",{class:`${e}-tabs-rail`,ref:"tabsRailElRef"},x?k.map((C,S)=>(s.value.push(C.props.name),K(al,Object.assign({},C.props,{internalCreatedByPane:!0,internalLeftPadded:S!==0}),C.children?{default:C.children.tab}:void 0))):T.map((C,S)=>(s.value.push(C.props.name),S===0?C:rf(C)))):K(Es,{onResize:this.handleNavResize},{default:()=>K("div",{class:`${e}-tabs-nav-scroll-wrapper`,ref:"scrollWrapperElRef"},["top","bottom"].includes(P)?K(gg,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:L}):K("div",{class:`${e}-tabs-nav-y-scroll`,onScroll:this.handleScroll},L()))}),r&&o&&p?nf(o,!0):null,gn(v,C=>C&&K("div",{class:`${e}-tabs-nav__suffix`},C))),x&&(this.animated&&(P==="top"||P==="bottom")?K("div",{ref:"tabsPaneWrapperRef",style:d,class:[`${e}-tabs-pane-wrapper`,l]},tf(k,this.mergedValue,this.renderedNames,this.onAnimationBeforeLeave,this.onAnimationEnter,this.onAnimationAfterEnter,this.animationDirection)):tf(k,this.mergedValue,this.renderedNames)))}});function tf(e,t,n,r,o,i,s){const a=[];return e.forEach(l=>{const{name:d,displayDirective:f,"display-directive":m}=l.props,v=T=>f===T||m===T,k=t===d;if(l.key!==void 0&&(l.key=d),k||v("show")||v("show:lazy")&&n.has(d)){n.has(d)||n.add(d);const T=!v("if");a.push(T?ys(l,[[Ga,k]]):l)}}),s?K(l0,{name:`${s}-transition`,onBeforeLeave:r,onEnter:o,onAfterEnter:i},{default:()=>a}):a}function nf(e,t){return K(al,{ref:"addTabInstRef",key:"__addable",name:"__addable",internalCreatedByPane:!0,internalAddable:!0,internalLeftPadded:t,disabled:typeof e=="object"&&e.disabled})}function rf(e){const t=Un(e);return t.props?t.props.internalLeftPadded=!0:t.props={internalLeftPadded:!0},t}function _a(e){return Array.isArray(e.dynamicProps)?e.dynamicProps.includes("internalLeftPadded")||e.dynamicProps.push("internalLeftPadded"):e.dynamicProps=["internalLeftPadded"],e}function z2(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var yr={};Object.defineProperty(yr,"__esModule",{value:!0});var ll;(function(e){e[e.Silent=0]="Silent",e[e.Debug=1]="Debug",e[e.Verbose=2]="Verbose"})(ll||(ll={}));let ec=ll.Silent;function mt(...e){ec>=1&&console.log(...e)}function Mr(...e){ec>=2&&console.log(...e)}function H2(e){ec=e}function hr(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=()=>{n(r.error)},r.readAsArrayBuffer(e)})}function j2(){return new Promise((e,t)=>{window.requestAnimationFrame(e)})}async function No(e,t,n,r,o){let i=new Date().getTime(),s=!1;e(t,n,0);let a=(async()=>{let l,d=i+r;do l=new Date().getTime(),e(t,n,(l-i)/r),await j2();while(!s&&l{let o=!1,i=setTimeout(()=>{o=!0,r(new kp(t))},t);e.then(s=>{o||n(s)}).catch(s=>{o||r(s)}).finally(()=>{o||clearTimeout(i)})})}const Ep=3978755898,Tp=1,Rp=0,Gr=28,Mn=12,N2=64*1024*1024;class us extends Error{constructor(t){super(t),this.name="ImageError"}}var mo;(function(e){e[e.Raw=51905]="Raw",e[e.Fill=51906]="Fill",e[e.Skip=51907]="Skip",e[e.Crc32=51908]="Crc32"})(mo||(mo={}));function $p(e){let t=new DataView(e);if(t.getUint32(0,!0)!==Ep)return null;let r=t.getUint16(4,!0),o=t.getUint16(6,!0);if(r!==Tp||ot.blocks).reduce((t,n)=>t+n,0)}function V2(e){return e.map(t=>t.data.byteLength).reduce((t,n)=>t+n,0)}function Ap(e){return Gr+Mn*e.length+V2(e)}function cl(e,t){let n=new ArrayBuffer(Ap(t)),r=new DataView(n),o=new Uint8Array(n);r.setUint32(0,Ep,!0),r.setUint16(4,Tp,!0),r.setUint16(6,Rp,!0),r.setUint16(8,Gr,!0),r.setUint16(10,Mn,!0),r.setUint32(12,e.blockSize,!0),r.setUint32(16,e.blocks,!0),r.setUint32(20,t.length,!0),r.setUint32(24,0,!0);let i=Gr;for(let s of t){r.setUint16(i,s.type,!0),r.setUint16(i+2,0,!0),r.setUint32(i+4,s.blocks,!0),r.setUint32(i+8,Mn+s.data.byteLength,!0),i+=Mn;let a=new Uint8Array(s.data);o.set(a,i),i+=s.data.byteLength}return n}function q2(e){let t={blockSize:4096,blocks:e.byteLength/4096,chunks:1,crc32:0},n=[];for(;e.byteLength>0;){let r=Math.min(e.byteLength,N2);n.push({type:mo.Raw,blocks:r/t.blockSize,data:e.slice(0,r)}),e=e.slice(r)}return cl(t,n)}async function*G2(e,t){if(mt(`Splitting ${e.size}-byte sparse image into ${t}-byte chunks`),e.size<=t){mt("Blob fits in 1 payload, not splitting"),yield{data:await hr(e),bytes:e.size};return}let n=await hr(e.slice(0,Gr)),r=$p(n);if(r===null)throw new us("Blob is not a sparse image");r.crc32=0,e=e.slice(Gr);let o=[],i=0;for(let s=0;s=l.dataBytes)Mr(" Space is available, adding chunk"),o.push(l),i+=l.blocks*r.blockSize;else{let f=of(o);o.push({type:mo.Skip,blocks:r.blocks-f,data:new ArrayBuffer(0),dataBytes:0}),Mr(`Partition is ${r.blocks} blocks, used ${f}, padded with ${r.blocks-f}, finishing split with ${of(o)} blocks`);let m=cl(r,o);mt(`Finished ${m.byteLength}-byte split with ${o.length} chunks`),yield{data:m,bytes:i},Mr(`Starting new split: skipping first ${f} blocks and adding chunk`),o=[{type:mo.Skip,blocks:f,data:new ArrayBuffer(0),dataBytes:0},l],i=0}}if(o.length>0&&(o.length>1||o[0].type!==mo.Skip)){let s=cl(r,o);mt(`Finishing final ${s.byteLength}-byte split with ${o.length} chunks`),yield{data:s,bytes:i}}}const Ci=15,dl=30,fl=19,K2=29,$s=256,tc=$s+1+K2,sf=2*tc+1,Wo=256,Z2=7,af=16,lf=17,cf=18,ya=8*2,As=-1,Y2=1,Xi=2,X2=0,io=0,df=1,J2=3,Jt=4,Sn=0,Pp=1,Ji=2,En=-2,Q2=-3,ro=-5;function Op(e){return e.map(([t,n])=>new Array(t).fill(n,0,t)).flat()}const ff=[0,1,2,3].concat(...Op([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function xt(){const e=this;function t(o){const i=e.dyn_tree,s=e.stat_desc.static_tree,a=e.stat_desc.extra_bits,l=e.stat_desc.extra_base,d=e.stat_desc.max_length;let f,m,v,k,T,x,p=0;for(k=0;k<=Ci;k++)o.bl_count[k]=0;for(i[o.heap[o.heap_max]*2+1]=0,f=o.heap_max+1;fd&&(k=d,p++),i[m*2+1]=k,!(m>e.max_code)&&(o.bl_count[k]++,T=0,m>=l&&(T=a[m-l]),x=i[m*2],o.opt_len+=x*(k+T),s&&(o.static_len+=x*(s[m*2+1]+T)));if(p!==0){do{for(k=d-1;o.bl_count[k]===0;)k--;o.bl_count[k]--,o.bl_count[k+1]+=2,o.bl_count[d]--,p-=2}while(p>0);for(k=d;k!==0;k--)for(m=o.bl_count[k];m!==0;)v=o.heap[--f],!(v>e.max_code)&&(i[v*2+1]!=k&&(o.opt_len+=(k-i[v*2+1])*i[v*2],i[v*2+1]=k),m--)}}function n(o,i){let s=0;do s|=o&1,o>>>=1,s<<=1;while(--i>0);return s>>>1}function r(o,i,s){const a=[];let l=0,d,f,m;for(d=1;d<=Ci;d++)a[d]=l=l+s[d-1]<<1;for(f=0;f<=i;f++)m=o[f*2+1],m!==0&&(o[f*2]=n(a[m]++,m))}e.build_tree=function(o){const i=e.dyn_tree,s=e.stat_desc.static_tree,a=e.stat_desc.elems;let l,d,f=-1,m;for(o.heap_len=0,o.heap_max=sf,l=0;l=1;l--)o.pqdownheap(i,l);m=a;do l=o.heap[1],o.heap[1]=o.heap[o.heap_len--],o.pqdownheap(i,1),d=o.heap[1],o.heap[--o.heap_max]=l,o.heap[--o.heap_max]=d,i[m*2]=i[l*2]+i[d*2],o.depth[m]=Math.max(o.depth[l],o.depth[d])+1,i[l*2+1]=i[d*2+1]=m,o.heap[1]=m++,o.pqdownheap(i,1);while(o.heap_len>=2);o.heap[--o.heap_max]=o.heap[1],t(o),r(i,e.max_code,o.bl_count)}}xt._length_code=[0,1,2,3,4,5,6,7].concat(...Op([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]]));xt.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0];xt.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576];xt.d_code=function(e){return e<256?ff[e]:ff[256+(e>>>7)]};xt.extra_lbits=[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];xt.extra_dbits=[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];xt.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];xt.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function Ft(e,t,n,r,o){const i=this;i.static_tree=e,i.extra_bits=t,i.extra_base=n,i.elems=r,i.max_length=o}Ft.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8];Ft.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5];Ft.static_l_desc=new Ft(Ft.static_ltree,xt.extra_lbits,$s+1,tc,Ci);Ft.static_d_desc=new Ft(Ft.static_dtree,xt.extra_dbits,0,dl,Ci);Ft.static_bl_desc=new Ft(null,xt.extra_blbits,0,fl,Z2);const ey=9,ty=8;function In(e,t,n,r,o){const i=this;i.good_length=e,i.max_lazy=t,i.nice_length=n,i.max_chain=r,i.func=o}const Ip=0,ps=1,Rr=2,wn=[new In(0,0,0,0,Ip),new In(4,4,8,4,ps),new In(4,5,16,8,ps),new In(4,6,32,32,ps),new In(4,4,16,16,Rr),new In(8,16,32,32,Rr),new In(8,16,128,128,Rr),new In(8,32,128,256,Rr),new In(32,128,258,1024,Rr),new In(32,258,258,4096,Rr)],Qi=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],hn=0,es=1,Vo=2,ts=3,ny=32,wa=42,ns=113,qo=666,Ca=8,ry=0,Sa=1,oy=2,wt=3,hs=258,on=hs+wt+1;function uf(e,t,n,r){const o=e[t*2],i=e[n*2];return o=3&&le[xt.bl_order[h]*2+1]===0;h--);return e.opt_len+=3*(h+1)+5+5+4,h}function Y(h){e.pending_buf[e.pending++]=h}function ne(h){Y(h&255),Y(h>>>8&255)}function F(h){Y(h>>8&255),Y(h&255&255)}function U(h,y){let R;const $=y;Xe>ya-$?(R=h,Me|=R<>>ya-Xe,Xe+=$-ya):(Me|=h<=8&&(Y(Me&255),Me>>>=8,Xe-=8)}function Re(){U(Sa<<1,3),J(Wo,Ft.static_ltree),Q(),1+Ne+10-Xe<9&&(U(Sa<<1,3),J(Wo,Ft.static_ltree),Q()),Ne=7}function we(h,y){let R,$,D;if(e.pending_buf[Lt+je*2]=h>>>8&255,e.pending_buf[Lt+je*2+1]=h&255,e.pending_buf[ot+je]=y&255,je++,h===0?ve[y*2]++:($t++,h--,ve[(xt._length_code[y]+$s+1)*2]++,ce[xt.d_code(h)*2]++),!(je&8191)&&V>2){for(R=je*8,$=C-g,D=0;D>>=3,$t8?ne(Me):Xe>0&&Y(Me&255),Me=0,Xe=0}function Ke(h,y,R){Fe(),Ne=8,R&&(ne(y),ne(~y)),e.pending_buf.set(l.subarray(h,h+y),e.pending),e.pending+=y}function it(h,y,R){U((ry<<1)+(R?1:0),3),Ke(h,y,!0)}function nt(h,y,R){let $,D,W=0;V>0?(me.build_tree(e),et.build_tree(e),W=z(),$=e.opt_len+3+7>>>3,D=e.static_len+3+7>>>3,D<=$&&($=D)):$=D=y+5,y+4<=$&&h!=-1?it(h,y,R):D==$?(U((Sa<<1)+(R?1:0),3),Ae(Ft.static_ltree,Ft.static_dtree)):(U((oy<<1)+(R?1:0),3),re(me.max_code+1,et.max_code+1,W+1),Ae(ve,ce)),pt(),R&&Fe()}function st(h){nt(g>=0?g:-1,C-g,h),g=C,t.flush_pending()}function St(){let h,y,R,$;do{if($=d-_-C,$===0&&C===0&&_===0)$=i;else if($==-1)$--;else if(C>=i+i-on){l.set(l.subarray(i,i+i),0),S-=i,C-=i,g-=i,h=k,R=h;do y=m[--R]&65535,m[R]=y>=i?y-i:0;while(--h!==0);h=i,R=h;do y=f[--R]&65535,f[R]=y>=i?y-i:0;while(--h!==0);$+=i}if(t.avail_in===0)return;h=t.read_buf(l,C+_,$),_+=h,_>=wt&&(v=l[C]&255,v=(v<r-5&&(y=r-5);;){if(_<=1){if(St(),_===0&&h==io)return hn;if(_===0)break}if(C+=_,_=0,R=g+y,(C===0||C>=R)&&(_=C-R,C=R,st(!1),t.avail_out===0)||C-g>=i-on&&(st(!1),t.avail_out===0))return hn}return st(h==Jt),t.avail_out===0?h==Jt?Vo:hn:h==Jt?ts:es}function u(h){let y=H,R=C,$,D,W=A;const oe=C>i-on?C-(i-on):0;let ie=_e;const Pe=a,j=C+hs;let de=l[R+W-1],I=l[R+W];A>=te&&(y>>=2),ie>_&&(ie=_);do if($=h,!(l[$+W]!=I||l[$+W-1]!=de||l[$]!=l[R]||l[++$]!=l[R+1])){R+=2,$++;do;while(l[++R]==l[++$]&&l[++R]==l[++$]&&l[++R]==l[++$]&&l[++R]==l[++$]&&l[++R]==l[++$]&&l[++R]==l[++$]&&l[++R]==l[++$]&&l[++R]==l[++$]&&RW){if(S=h,W=D,D>=ie)break;de=l[R+W-1],I=l[R+W]}}while((h=f[h&Pe]&65535)>oe&&--y!==0);return W<=_?W:_}function c(h){let y=0,R;for(;;){if(_=wt&&(v=(v<=wt)if(R=we(C-S,w-wt),_-=w,w<=N&&_>=wt){w--;do C++,v=(v<=wt&&(v=(v<4096)&&(w=wt-1)),A>=wt&&w<=A){$=C+_-wt,R=we(C-1-L,A-wt),_-=A-1,A-=2;do++C<=$&&(v=(v<ey||$!=Ca||R<9||R>15||y<0||y>9||W<0||W>Xi?En:(h.dstate=e,s=R,i=1<9||R<0||R>Xi?En:(wn[V].func!=wn[y].func&&h.total_in!==0&&($=h.deflate(df)),V!=y&&(V=y,N=wn[V].max_lazy,te=wn[V].good_length,_e=wn[V].nice_length,H=wn[V].max_chain),G=R,$)},e.deflateSetDictionary=function(h,y,R){let $=R,D,W=0;if(!y||n!=wa)return En;if($i-on&&($=i-on,W=R-$),l.set(y.subarray(W,W+$),0),C=$,g=$,v=l[0]&255,v=(v<Jt||y<0)return En;if(!h.next_out||!h.next_in&&h.avail_in!==0||n==qo&&y!=Jt)return h.msg=Qi[Ji-En],En;if(h.avail_out===0)return h.msg=Qi[Ji-ro],ro;if(t=h,W=o,o=y,n==wa&&($=Ca+(s-8<<4)<<8,D=(V-1&255)>>1,D>3&&(D=3),$|=D<<6,C!==0&&($|=ny),$+=31-$%31,n=ns,F($)),e.pending!==0){if(t.flush_pending(),t.avail_out===0)return o=-1,Sn}else if(t.avail_in===0&&y<=W&&y!=Jt)return t.msg=Qi[Ji-ro],ro;if(n==qo&&t.avail_in!==0)return h.msg=Qi[Ji-ro],ro;if(t.avail_in!==0||_!==0||y!=io&&n!=qo){switch(oe=-1,wn[V].func){case Ip:oe=b(y);break;case ps:oe=c(y);break;case Rr:oe=E(y);break}if((oe==Vo||oe==ts)&&(n=qo),oe==hn||oe==Vo)return t.avail_out===0&&(o=-1),Sn;if(oe==es){if(y==df)Re();else if(it(0,0,!1),y==J2)for(R=0;Rn&&(o=n),o===0?0:(r.avail_in-=o,e.set(r.next_in.subarray(r.next_in_index,r.next_in_index+o),t),r.next_in_index+=o,r.total_in+=o,o)},flush_pending:function(){const e=this;let t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,e.dstate.pending===0&&(e.dstate.pending_out=0))}};function sy(e){const t=this,n=new Bp,r=e&&e.chunkSize?Math.floor(e.chunkSize*1.05):64*1024,o=io,i=new Uint8Array(r);let s=e?e.level:As;typeof s>"u"&&(s=As),n.deflateInit(s),n.next_out=i,t.append=function(a,l){let d,f,m=0,v=0,k=0;const T=[];if(a.length){n.next_in_index=0,n.next_in=a,n.avail_in=a.length;do{if(n.next_out_index=0,n.avail_out=r,d=n.deflate(o),d!=Sn)throw new Error("deflating: "+n.msg);n.next_out_index&&(n.next_out_index==r?T.push(new Uint8Array(i)):T.push(i.slice(0,n.next_out_index))),k+=n.next_out_index,l&&n.next_in_index>0&&n.next_in_index!=m&&(l(n.next_in_index),m=n.next_in_index)}while(n.avail_in>0||n.avail_out===0);return T.length>1?(f=new Uint8Array(k),T.forEach(function(x){f.set(x,v),v+=x.length})):f=T[0]||new Uint8Array(0),f}},t.flush=function(){let a,l,d=0,f=0;const m=[];do{if(n.next_out_index=0,n.avail_out=r,a=n.deflate(Jt),a!=Pp&&a!=Sn)throw new Error("deflating: "+n.msg);r-n.avail_out>0&&m.push(i.slice(0,n.next_out_index)),f+=n.next_out_index}while(n.avail_in>0||n.avail_out===0);return n.deflateEnd(),l=new Uint8Array(f),m.forEach(function(v){l.set(v,d),d+=v.length}),l}}const ay=15,ft=0,Gn=1,ly=2,en=-2,_t=-3,pf=-4,Kn=-5,sn=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],Lp=1440,cy=0,dy=4,fy=9,uy=5,py=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],hy=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],by=[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],my=[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,112,112],gy=[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],vy=[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],ar=15;function ul(){const e=this;let t,n,r,o,i,s;function a(d,f,m,v,k,T,x,p,g,w,L){let P,C,S,_,A,H,N,V,G,te,_e,ve,ce,le,me;te=0,A=m;do r[d[f+te]]++,te++,A--;while(A!==0);if(r[0]==m)return x[0]=-1,p[0]=0,ft;for(V=p[0],H=1;H<=ar&&r[H]===0;H++);for(N=H,VA&&(V=A),p[0]=V,le=1<ve+V;){if(_++,ve+=V,me=S-ve,me=me>V?V:me,(C=1<<(H=N-ve))>P+1&&(C-=P+1,ce=N,HLp)return _t;i[_]=_e=w[0],w[0]+=me,_!==0?(s[_]=A,o[0]=H,o[1]=V,H=A>>>ve-V,o[2]=_e-i[_-1]-H,g.set(o,(i[_-1]+H)*3)):x[0]=_e}for(o[1]=N-ve,te>=m?o[0]=128+64:L[te]>>ve;H>>=1)A^=H;for(A^=H,G=(1<257?(w==_t?g.msg="oversubscribed distance tree":w==Kn?(g.msg="incomplete distance tree",w=_t):w!=pf&&(g.msg="empty distance tree with lengths",w=_t),w):ft)}}ul.inflate_trees_fixed=function(e,t,n,r){return e[0]=fy,t[0]=uy,n[0]=py,r[0]=hy,ft};const rs=0,hf=1,bf=2,mf=3,gf=4,vf=5,xf=6,ka=7,_f=8,os=9;function xy(){const e=this;let t,n=0,r,o=0,i=0,s=0,a=0,l=0,d=0,f=0,m,v=0,k,T=0;function x(p,g,w,L,P,C,S,_){let A,H,N,V,G,te,_e,ve,ce,le,me,et,Ee,ot,Ie,je;_e=_.next_in_index,ve=_.avail_in,G=S.bitb,te=S.bitk,ce=S.write,le=ce>=H[je+1],te-=H[je+1],S.window[ce++]=H[je+2],le--;continue}do{if(G>>=H[je+1],te-=H[je+1],V&16){for(V&=15,Ee=H[je+2]+(G&sn[V]),G>>=V,te-=V;te<15;)ve--,G|=(_.read_byte(_e++)&255)<>=H[je+1],te-=H[je+1],V&16){for(V&=15;te>=V,te-=V,le-=Ee,ce>=ot)Ie=ce-ot,ce-Ie>0&&2>ce-Ie?(S.window[ce++]=S.window[Ie++],S.window[ce++]=S.window[Ie++],Ee-=2):(S.window.set(S.window.subarray(Ie,Ie+2),ce),ce+=2,Ie+=2,Ee-=2);else{Ie=ce-ot;do Ie+=S.end;while(Ie<0);if(V=S.end-Ie,Ee>V){if(Ee-=V,ce-Ie>0&&V>ce-Ie)do S.window[ce++]=S.window[Ie++];while(--V!==0);else S.window.set(S.window.subarray(Ie,Ie+V),ce),ce+=V,Ie+=V,V=0;Ie=0}}if(ce-Ie>0&&Ee>ce-Ie)do S.window[ce++]=S.window[Ie++];while(--Ee!==0);else S.window.set(S.window.subarray(Ie,Ie+Ee),ce),ce+=Ee,Ie+=Ee,Ee=0;break}else if(!(V&64))A+=H[je+2],A+=G&sn[V],je=(N+A)*3,V=H[je];else return _.msg="invalid distance code",Ee=_.avail_in-ve,Ee=te>>3>3:Ee,ve+=Ee,_e-=Ee,te-=Ee<<3,S.bitb=G,S.bitk=te,_.avail_in=ve,_.total_in+=_e-_.next_in_index,_.next_in_index=_e,S.write=ce,_t;while(!0);break}if(V&64)return V&32?(Ee=_.avail_in-ve,Ee=te>>3>3:Ee,ve+=Ee,_e-=Ee,te-=Ee<<3,S.bitb=G,S.bitk=te,_.avail_in=ve,_.total_in+=_e-_.next_in_index,_.next_in_index=_e,S.write=ce,Gn):(_.msg="invalid literal/length code",Ee=_.avail_in-ve,Ee=te>>3>3:Ee,ve+=Ee,_e-=Ee,te-=Ee<<3,S.bitb=G,S.bitk=te,_.avail_in=ve,_.total_in+=_e-_.next_in_index,_.next_in_index=_e,S.write=ce,_t);if(A+=H[je+2],A+=G&sn[V],je=(N+A)*3,(V=H[je])===0){G>>=H[je+1],te-=H[je+1],S.window[ce++]=H[je+2],le--;break}}while(!0)}while(le>=258&&ve>=10);return Ee=_.avail_in-ve,Ee=te>>3>3:Ee,ve+=Ee,_e-=Ee,te-=Ee<<3,S.bitb=G,S.bitk=te,_.avail_in=ve,_.total_in+=_e-_.next_in_index,_.next_in_index=_e,S.write=ce,ft}e.init=function(p,g,w,L,P,C){t=rs,d=p,f=g,m=w,v=L,k=P,T=C,r=null},e.proc=function(p,g,w){let L,P,C,S=0,_=0,A=0,H,N,V,G;for(A=g.next_in_index,H=g.avail_in,S=p.bitb,_=p.bitk,N=p.write,V=N=258&&H>=10&&(p.bitb=S,p.bitk=_,g.avail_in=H,g.total_in+=A-g.next_in_index,g.next_in_index=A,p.write=N,w=x(d,f,m,v,k,T,p,g),A=g.next_in_index,H=g.avail_in,S=p.bitb,_=p.bitk,N=p.write,V=N>>=r[P+1],_-=r[P+1],C=r[P],C===0){s=r[P+2],t=xf;break}if(C&16){a=C&15,n=r[P+2],t=bf;break}if(!(C&64)){i=C,o=P/3+r[P+2];break}if(C&32){t=ka;break}return t=os,g.msg="invalid literal/length code",w=_t,p.bitb=S,p.bitk=_,g.avail_in=H,g.total_in+=A-g.next_in_index,g.next_in_index=A,p.write=N,p.inflate_flush(g,w);case bf:for(L=a;_>=L,_-=L,i=f,r=k,o=T,t=mf;case mf:for(L=i;_>=r[P+1],_-=r[P+1],C=r[P],C&16){a=C&15,l=r[P+2],t=gf;break}if(!(C&64)){i=C,o=P/3+r[P+2];break}return t=os,g.msg="invalid distance code",w=_t,p.bitb=S,p.bitk=_,g.avail_in=H,g.total_in+=A-g.next_in_index,g.next_in_index=A,p.write=N,p.inflate_flush(g,w);case gf:for(L=a;_>=L,_-=L,t=vf;case vf:for(G=N-l;G<0;)G+=p.end;for(;n!==0;){if(V===0&&(N==p.end&&p.read!==0&&(N=0,V=N7&&(_-=8,H++,A--),p.write=N,w=p.inflate_flush(g,w),N=p.write,V=Nx.avail_out&&(g=x.avail_out),g!==0&&p==Kn&&(p=ft),x.avail_out-=g,x.total_out+=g,x.next_out.set(n.window.subarray(L,L+g),w),w+=g,L+=g,L==n.end&&(L=0,n.write==n.end&&(n.write=0),g=n.write-L,g>x.avail_out&&(g=x.avail_out),g!==0&&p==Kn&&(p=ft),x.avail_out-=g,x.total_out+=g,x.next_out.set(n.window.subarray(L,L+g),w),w+=g,L+=g),x.next_out_index=w,n.read=L,p},n.proc=function(x,p){let g,w,L,P,C,S,_,A;for(P=x.next_in_index,C=x.avail_in,w=n.bitb,L=n.bitk,S=n.write,_=S>>1){case 0:w>>>=3,L-=3,g=L&7,w>>>=g,L-=g,r=Ea;break;case 1:H=[],N=[],V=[[]],G=[[]],ul.inflate_trees_fixed(H,N,V,G),f.init(H[0],N[0],V[0],0,G[0],0),w>>>=3,L-=3,r=is;break;case 2:w>>>=3,L-=3,r=Cf;break;case 3:return w>>>=3,L-=3,r=Er,x.msg="invalid block type",p=_t,n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p)}break;case Ea:for(;L<32;){if(C!==0)p=ft;else return n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);C--,w|=(x.read_byte(P++)&255)<>>16&65535)!=(w&65535))return r=Er,x.msg="invalid stored block lengths",p=_t,n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);o=w&65535,w=L=0,r=o!==0?wf:m!==0?ss:oo;break;case wf:if(C===0||_===0&&(S==n.end&&n.read!==0&&(S=0,_=SC&&(g=C),g>_&&(g=_),n.window.set(x.read_buf(P,g),S),P+=g,C-=g,S+=g,_-=g,(o-=g)!==0)break;r=m!==0?ss:oo;break;case Cf:for(;L<14;){if(C!==0)p=ft;else return n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);C--,w|=(x.read_byte(P++)&255)<29||(g>>5&31)>29)return r=Er,x.msg="too many length or distance symbols",p=_t,n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);if(g=258+(g&31)+(g>>5&31),!a||a.length>>=14,L-=14,s=0,r=Sf;case Sf:for(;s<4+(i>>>10);){for(;L<3;){if(C!==0)p=ft;else return n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);C--,w|=(x.read_byte(P++)&255)<>>=3,L-=3}for(;s<19;)a[yf[s++]]=0;if(l[0]=7,g=T.inflate_trees_bits(a,l,d,v,x),g!=ft)return p=g,p==_t&&(a=null,r=Er),n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);s=0,r=kf;case kf:for(;g=i,!(s>=258+(g&31)+(g>>5&31));){let le,me;for(g=l[0];L>>=g,L-=g,a[s++]=me;else{for(A=me==18?7:me-14,le=me==18?11:3;L>>=g,L-=g,le+=w&sn[A],w>>>=A,L-=A,A=s,g=i,A+le>258+(g&31)+(g>>5&31)||me==16&&A<1)return a=null,r=Er,x.msg="invalid bit length repeat",p=_t,n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);me=me==16?a[A-1]:0;do a[A++]=me;while(--le!==0);s=A}}if(d[0]=-1,te=[],_e=[],ve=[],ce=[],te[0]=9,_e[0]=6,g=i,g=T.inflate_trees_dynamic(257+(g&31),1+(g>>5&31),a,te,_e,ve,ce,v,x),g!=ft)return g==_t&&(a=null,r=Er),p=g,n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,n.inflate_flush(x,p);f.init(te[0],_e[0],v,ve[0],v,ce[0]),r=is;case is:if(n.bitb=w,n.bitk=L,x.avail_in=C,x.total_in+=P-x.next_in_index,x.next_in_index=P,n.write=S,(p=f.proc(n,x,p))!=Gn)return n.inflate_flush(x,p);if(p=ft,f.free(x),P=x.next_in_index,C=x.avail_in,w=n.bitb,L=n.bitk,S=n.write,_=S15?(e.inflateEnd(n),en):(e.wbits=r,n.istate.blocks=new _y(n,1<>4)+8>s.wbits){s.mode=lr,n.msg="invalid window size",s.marker=5;break}s.mode=Tf;case Tf:if(n.avail_in===0)return o;if(o=r,n.avail_in--,n.total_in++,i=n.read_byte(n.next_in_index++)&255,((s.method<<8)+i)%31!==0){s.mode=lr,n.msg="incorrect header check",s.marker=5;break}if(!(i&yy)){s.mode=Go;break}s.mode=Rf;case Rf:if(n.avail_in===0)return o;o=r,n.avail_in--,n.total_in++,s.need=(n.read_byte(n.next_in_index++)&255)<<24&4278190080,s.mode=$f;case $f:if(n.avail_in===0)return o;o=r,n.avail_in--,n.total_in++,s.need+=(n.read_byte(n.next_in_index++)&255)<<16&16711680,s.mode=Af;case Af:if(n.avail_in===0)return o;o=r,n.avail_in--,n.total_in++,s.need+=(n.read_byte(n.next_in_index++)&255)<<8&65280,s.mode=Pf;case Pf:return n.avail_in===0?o:(o=r,n.avail_in--,n.total_in++,s.need+=n.read_byte(n.next_in_index++)&255,s.mode=Ta,ly);case Ta:return s.mode=lr,n.msg="need dictionary",s.marker=0,en;case Go:if(o=s.blocks.proc(n,o),o==_t){s.mode=lr,s.marker=0;break}if(o==ft&&(o=r),o!=Gn)return o;o=r,s.blocks.reset(n,s.was),s.mode=Of;case Of:return Gn;case lr:return _t;default:return en}},e.inflateSetDictionary=function(n,r,o){let i=0,s=o;if(!n||!n.istate||n.istate.mode!=Ta)return en;const a=n.istate;return s>=1<0&&n.next_in_index!=v&&(l(n.next_in_index),v=n.next_in_index)}while(n.avail_in>0||n.avail_out===0);return d.length>1?(m=new Uint8Array(T),d.forEach(function(x){m.set(x,k),k+=x.length})):m=d[0]||new Uint8Array(0),m}},t.flush=function(){n.inflateEnd()}}const Ty={chunkSize:512*1024,maxWorkers:typeof navigator<"u"&&navigator.hardwareConcurrency||2,useWebWorkers:!0,workerScripts:void 0},bn=Object.assign({},Ty);function Ry(){return bn}function nc(e){if(e.chunkSize!==void 0&&(bn.chunkSize=e.chunkSize),e.maxWorkers!==void 0&&(bn.maxWorkers=e.maxWorkers),e.useWebWorkers!==void 0&&(bn.useWebWorkers=e.useWebWorkers),e.Deflate!==void 0&&(bn.Deflate=e.Deflate),e.Inflate!==void 0&&(bn.Inflate=e.Inflate),e.workerScripts!==void 0){if(e.workerScripts.deflate){if(!Array.isArray(e.workerScripts.deflate))throw new Error("workerScripts.deflate must be an array");bn.workerScripts||(bn.workerScripts={}),bn.workerScripts.deflate=e.workerScripts.deflate}if(e.workerScripts.inflate){if(!Array.isArray(e.workerScripts.inflate))throw new Error("workerScripts.inflate must be an array");bn.workerScripts||(bn.workerScripts={}),bn.workerScripts.inflate=e.workerScripts.inflate}}}const Ko={application:{"andrew-inset":"ez",annodex:"anx","atom+xml":"atom","atomcat+xml":"atomcat","atomserv+xml":"atomsrv",bbolin:"lin",cap:["cap","pcap"],"cu-seeme":"cu","davmount+xml":"davmount",dsptype:"tsp",ecmascript:["es","ecma"],futuresplash:"spl",hta:"hta","java-archive":"jar","java-serialized-object":"ser","java-vm":"class",javascript:"js",m3g:"m3g","mac-binhex40":"hqx",mathematica:["nb","ma","mb"],msaccess:"mdb",msword:["doc","dot"],mxf:"mxf",oda:"oda",ogg:"ogx",pdf:"pdf","pgp-keys":"key","pgp-signature":["asc","sig"],"pics-rules":"prf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],rar:"rar","rdf+xml":"rdf","rss+xml":"rss",rtf:"rtf",smil:["smi","smil"],"xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd"],"xspf+xml":"xspf",zip:"zip","vnd.android.package-archive":"apk","vnd.cinderella":"cdy","vnd.google-earth.kml+xml":"kml","vnd.google-earth.kmz":"kmz","vnd.mozilla.xul+xml":"xul","vnd.ms-excel":["xls","xlb","xlt","xlm","xla","xlc","xlw"],"vnd.ms-pki.seccat":"cat","vnd.ms-pki.stl":"stl","vnd.ms-powerpoint":["ppt","pps","pot"],"vnd.oasis.opendocument.chart":"odc","vnd.oasis.opendocument.database":"odb","vnd.oasis.opendocument.formula":"odf","vnd.oasis.opendocument.graphics":"odg","vnd.oasis.opendocument.graphics-template":"otg","vnd.oasis.opendocument.image":"odi","vnd.oasis.opendocument.presentation":"odp","vnd.oasis.opendocument.presentation-template":"otp","vnd.oasis.opendocument.spreadsheet":"ods","vnd.oasis.opendocument.spreadsheet-template":"ots","vnd.oasis.opendocument.text":"odt","vnd.oasis.opendocument.text-master":"odm","vnd.oasis.opendocument.text-template":"ott","vnd.oasis.opendocument.text-web":"oth","vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","vnd.openxmlformats-officedocument.spreadsheetml.template":"xltx","vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","vnd.openxmlformats-officedocument.presentationml.slideshow":"ppsx","vnd.openxmlformats-officedocument.presentationml.template":"potx","vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","vnd.openxmlformats-officedocument.wordprocessingml.template":"dotx","vnd.smaf":"mmf","vnd.stardivision.calc":"sdc","vnd.stardivision.chart":"sds","vnd.stardivision.draw":"sda","vnd.stardivision.impress":"sdd","vnd.stardivision.math":["sdf","smf"],"vnd.stardivision.writer":["sdw","vor"],"vnd.stardivision.writer-global":"sgl","vnd.sun.xml.calc":"sxc","vnd.sun.xml.calc.template":"stc","vnd.sun.xml.draw":"sxd","vnd.sun.xml.draw.template":"std","vnd.sun.xml.impress":"sxi","vnd.sun.xml.impress.template":"sti","vnd.sun.xml.math":"sxm","vnd.sun.xml.writer":"sxw","vnd.sun.xml.writer.global":"sxg","vnd.sun.xml.writer.template":"stw","vnd.symbian.install":["sis","sisx"],"vnd.visio":["vsd","vst","vss","vsw"],"vnd.wap.wbxml":"wbxml","vnd.wap.wmlc":"wmlc","vnd.wap.wmlscriptc":"wmlsc","vnd.wordperfect":"wpd","vnd.wordperfect5.1":"wp5","x-123":"wk","x-7z-compressed":"7z","x-abiword":"abw","x-apple-diskimage":"dmg","x-bcpio":"bcpio","x-bittorrent":"torrent","x-cbr":["cbr","cba","cbt","cb7"],"x-cbz":"cbz","x-cdf":["cdf","cda"],"x-cdlink":"vcd","x-chess-pgn":"pgn","x-cpio":"cpio","x-csh":"csh","x-debian-package":["deb","udeb"],"x-director":["dcr","dir","dxr","cst","cct","cxt","w3d","fgd","swa"],"x-dms":"dms","x-doom":"wad","x-dvi":"dvi","x-httpd-eruby":"rhtml","x-font":"pcf.Z","x-freemind":"mm","x-gnumeric":"gnumeric","x-go-sgf":"sgf","x-graphing-calculator":"gcf","x-gtar":["gtar","taz"],"x-hdf":"hdf","x-httpd-php":["phtml","pht","php"],"x-httpd-php-source":"phps","x-httpd-php3":"php3","x-httpd-php3-preprocessed":"php3p","x-httpd-php4":"php4","x-httpd-php5":"php5","x-ica":"ica","x-info":"info","x-internet-signup":["ins","isp"],"x-iphone":"iii","x-iso9660-image":"iso","x-java-jnlp-file":"jnlp","x-jmol":"jmz","x-killustrator":"kil","x-koan":["skp","skd","skt","skm"],"x-kpresenter":["kpr","kpt"],"x-kword":["kwd","kwt"],"x-latex":"latex","x-lha":"lha","x-lyx":"lyx","x-lzh":"lzh","x-lzx":"lzx","x-maker":["frm","maker","frame","fm","fb","book","fbdoc"],"x-ms-wmd":"wmd","x-ms-wmz":"wmz","x-msdos-program":["com","exe","bat","dll"],"x-msi":"msi","x-netcdf":["nc","cdf"],"x-ns-proxy-autoconfig":["pac","dat"],"x-nwc":"nwc","x-object":"o","x-oz-application":"oza","x-pkcs7-certreqresp":"p7r","x-python-code":["pyc","pyo"],"x-qgis":["qgs","shp","shx"],"x-quicktimeplayer":"qtl","x-redhat-package-manager":"rpm","x-ruby":"rb","x-sh":"sh","x-shar":"shar","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","x-stuffit":"sit","x-sv4cpio":"sv4cpio","x-sv4crc":"sv4crc","x-tar":"tar","x-tcl":"tcl","x-tex-gf":"gf","x-tex-pk":"pk","x-texinfo":["texinfo","texi"],"x-trash":["~","%","bak","old","sik"],"x-troff":["t","tr","roff"],"x-troff-man":"man","x-troff-me":"me","x-troff-ms":"ms","x-ustar":"ustar","x-wais-source":"src","x-wingz":"wz","x-x509-ca-cert":["crt","der","cer"],"x-xcf":"xcf","x-xfig":"fig","x-xpinstall":"xpi",applixware:"aw","atomsvc+xml":"atomsvc","ccxml+xml":"ccxml","cdmi-capability":"cdmia","cdmi-container":"cdmic","cdmi-domain":"cdmid","cdmi-object":"cdmio","cdmi-queue":"cdmiq","docbook+xml":"dbk","dssc+der":"dssc","dssc+xml":"xdssc","emma+xml":"emma","epub+zip":"epub",exi:"exi","font-tdpfr":"pfr","gml+xml":"gml","gpx+xml":"gpx",gxf:"gxf",hyperstudio:"stk","inkml+xml":["ink","inkml"],ipfix:"ipfix",json:"json","jsonml+json":"jsonml","lost+xml":"lostxml","mads+xml":"mads",marc:"mrc","marcxml+xml":"mrcx","mathml+xml":"mathml",mbox:"mbox","mediaservercontrol+xml":"mscml","metalink+xml":"metalink","metalink4+xml":"meta4","mets+xml":"mets","mods+xml":"mods",mp21:["m21","mp21"],mp4:"mp4s","oebps-package+xml":"opf","omdoc+xml":"omdoc",onenote:["onetoc","onetoc2","onetmp","onepkg"],oxps:"oxps","patch-ops-error+xml":"xer","pgp-encrypted":"pgp",pkcs10:"p10","pkcs7-mime":["p7m","p7c"],"pkcs7-signature":"p7s",pkcs8:"p8","pkix-attr-cert":"ac","pkix-crl":"crl","pkix-pkipath":"pkipath",pkixcmp:"pki","pls+xml":"pls","prs.cww":"cww","pskc+xml":"pskcxml","reginfo+xml":"rif","relax-ng-compact-syntax":"rnc","resource-lists+xml":"rl","resource-lists-diff+xml":"rld","rls-services+xml":"rs","rpki-ghostbusters":"gbr","rpki-manifest":"mft","rpki-roa":"roa","rsd+xml":"rsd","sbml+xml":"sbml","scvp-cv-request":"scq","scvp-cv-response":"scs","scvp-vp-request":"spq","scvp-vp-response":"spp",sdp:"sdp","set-payment-initiation":"setpay","set-registration-initiation":"setreg","shf+xml":"shf","sparql-query":"rq","sparql-results+xml":"srx",srgs:"gram","srgs+xml":"grxml","sru+xml":"sru","ssdl+xml":"ssdl","ssml+xml":"ssml","tei+xml":["tei","teicorpus"],"thraud+xml":"tfi","timestamped-data":"tsd","vnd.3gpp.pic-bw-large":"plb","vnd.3gpp.pic-bw-small":"psb","vnd.3gpp.pic-bw-var":"pvb","vnd.3gpp2.tcap":"tcap","vnd.3m.post-it-notes":"pwn","vnd.accpac.simply.aso":"aso","vnd.accpac.simply.imp":"imp","vnd.acucobol":"acu","vnd.acucorp":["atc","acutc"],"vnd.adobe.air-application-installer-package+zip":"air","vnd.adobe.formscentral.fcdt":"fcdt","vnd.adobe.fxp":["fxp","fxpl"],"vnd.adobe.xdp+xml":"xdp","vnd.adobe.xfdf":"xfdf","vnd.ahead.space":"ahead","vnd.airzip.filesecure.azf":"azf","vnd.airzip.filesecure.azs":"azs","vnd.amazon.ebook":"azw","vnd.americandynamics.acc":"acc","vnd.amiga.ami":"ami","vnd.anser-web-certificate-issue-initiation":"cii","vnd.anser-web-funds-transfer-initiation":"fti","vnd.antix.game-component":"atx","vnd.apple.installer+xml":"mpkg","vnd.apple.mpegurl":"m3u8","vnd.aristanetworks.swi":"swi","vnd.astraea-software.iota":"iota","vnd.audiograph":"aep","vnd.blueice.multipass":"mpm","vnd.bmi":"bmi","vnd.businessobjects":"rep","vnd.chemdraw+xml":"cdxml","vnd.chipnuts.karaoke-mmd":"mmd","vnd.claymore":"cla","vnd.cloanto.rp9":"rp9","vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"vnd.cluetrust.cartomobile-config":"c11amc","vnd.cluetrust.cartomobile-config-pkg":"c11amz","vnd.commonspace":"csp","vnd.contact.cmsg":"cdbcmsg","vnd.cosmocaller":"cmc","vnd.crick.clicker":"clkx","vnd.crick.clicker.keyboard":"clkk","vnd.crick.clicker.palette":"clkp","vnd.crick.clicker.template":"clkt","vnd.crick.clicker.wordbank":"clkw","vnd.criticaltools.wbs+xml":"wbs","vnd.ctc-posml":"pml","vnd.cups-ppd":"ppd","vnd.curl.car":"car","vnd.curl.pcurl":"pcurl","vnd.dart":"dart","vnd.data-vision.rdz":"rdz","vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"vnd.dece.ttml+xml":["uvt","uvvt"],"vnd.dece.unspecified":["uvx","uvvx"],"vnd.dece.zip":["uvz","uvvz"],"vnd.denovo.fcselayout-link":"fe_launch","vnd.dna":"dna","vnd.dolby.mlp":"mlp","vnd.dpgraph":"dpg","vnd.dreamfactory":"dfac","vnd.ds-keypoint":"kpxx","vnd.dvb.ait":"ait","vnd.dvb.service":"svc","vnd.dynageo":"geo","vnd.ecowin.chart":"mag","vnd.enliven":"nml","vnd.epson.esf":"esf","vnd.epson.msf":"msf","vnd.epson.quickanime":"qam","vnd.epson.salt":"slt","vnd.epson.ssf":"ssf","vnd.eszigno3+xml":["es3","et3"],"vnd.ezpix-album":"ez2","vnd.ezpix-package":"ez3","vnd.fdf":"fdf","vnd.fdsn.mseed":"mseed","vnd.fdsn.seed":["seed","dataless"],"vnd.flographit":"gph","vnd.fluxtime.clip":"ftc","vnd.framemaker":["fm","frame","maker","book"],"vnd.frogans.fnc":"fnc","vnd.frogans.ltf":"ltf","vnd.fsc.weblaunch":"fsc","vnd.fujitsu.oasys":"oas","vnd.fujitsu.oasys2":"oa2","vnd.fujitsu.oasys3":"oa3","vnd.fujitsu.oasysgp":"fg5","vnd.fujitsu.oasysprs":"bh2","vnd.fujixerox.ddd":"ddd","vnd.fujixerox.docuworks":"xdw","vnd.fujixerox.docuworks.binder":"xbd","vnd.fuzzysheet":"fzs","vnd.genomatix.tuxedo":"txd","vnd.geogebra.file":"ggb","vnd.geogebra.tool":"ggt","vnd.geometry-explorer":["gex","gre"],"vnd.geonext":"gxt","vnd.geoplan":"g2w","vnd.geospace":"g3w","vnd.gmx":"gmx","vnd.grafeq":["gqf","gqs"],"vnd.groove-account":"gac","vnd.groove-help":"ghf","vnd.groove-identity-message":"gim","vnd.groove-injector":"grv","vnd.groove-tool-message":"gtm","vnd.groove-tool-template":"tpl","vnd.groove-vcard":"vcg","vnd.hal+xml":"hal","vnd.handheld-entertainment+xml":"zmm","vnd.hbci":"hbci","vnd.hhe.lesson-player":"les","vnd.hp-hpgl":"hpgl","vnd.hp-hpid":"hpid","vnd.hp-hps":"hps","vnd.hp-jlyt":"jlt","vnd.hp-pcl":"pcl","vnd.hp-pclxl":"pclxl","vnd.hydrostatix.sof-data":"sfd-hdstx","vnd.ibm.minipay":"mpy","vnd.ibm.modcap":["afp","listafp","list3820"],"vnd.ibm.rights-management":"irm","vnd.ibm.secure-container":"sc","vnd.iccprofile":["icc","icm"],"vnd.igloader":"igl","vnd.immervision-ivp":"ivp","vnd.immervision-ivu":"ivu","vnd.insors.igm":"igm","vnd.intercon.formnet":["xpw","xpx"],"vnd.intergeo":"i2g","vnd.intu.qbo":"qbo","vnd.intu.qfx":"qfx","vnd.ipunplugged.rcprofile":"rcprofile","vnd.irepository.package+xml":"irp","vnd.is-xpr":"xpr","vnd.isac.fcs":"fcs","vnd.jam":"jam","vnd.jcp.javame.midlet-rms":"rms","vnd.jisp":"jisp","vnd.joost.joda-archive":"joda","vnd.kahootz":["ktz","ktr"],"vnd.kde.karbon":"karbon","vnd.kde.kchart":"chrt","vnd.kde.kformula":"kfo","vnd.kde.kivio":"flw","vnd.kde.kontour":"kon","vnd.kde.kpresenter":["kpr","kpt"],"vnd.kde.kspread":"ksp","vnd.kde.kword":["kwd","kwt"],"vnd.kenameaapp":"htke","vnd.kidspiration":"kia","vnd.kinar":["kne","knp"],"vnd.koan":["skp","skd","skt","skm"],"vnd.kodak-descriptor":"sse","vnd.las.las+xml":"lasxml","vnd.llamagraphics.life-balance.desktop":"lbd","vnd.llamagraphics.life-balance.exchange+xml":"lbe","vnd.lotus-1-2-3":"123","vnd.lotus-approach":"apr","vnd.lotus-freelance":"pre","vnd.lotus-notes":"nsf","vnd.lotus-organizer":"org","vnd.lotus-screencam":"scm","vnd.lotus-wordpro":"lwp","vnd.macports.portpkg":"portpkg","vnd.mcd":"mcd","vnd.medcalcdata":"mc1","vnd.mediastation.cdkey":"cdkey","vnd.mfer":"mwf","vnd.mfmp":"mfm","vnd.micrografx.flo":"flo","vnd.micrografx.igx":"igx","vnd.mif":"mif","vnd.mobius.daf":"daf","vnd.mobius.dis":"dis","vnd.mobius.mbk":"mbk","vnd.mobius.mqy":"mqy","vnd.mobius.msl":"msl","vnd.mobius.plc":"plc","vnd.mobius.txf":"txf","vnd.mophun.application":"mpn","vnd.mophun.certificate":"mpc","vnd.ms-artgalry":"cil","vnd.ms-cab-compressed":"cab","vnd.ms-excel.addin.macroenabled.12":"xlam","vnd.ms-excel.sheet.binary.macroenabled.12":"xlsb","vnd.ms-excel.sheet.macroenabled.12":"xlsm","vnd.ms-excel.template.macroenabled.12":"xltm","vnd.ms-fontobject":"eot","vnd.ms-htmlhelp":"chm","vnd.ms-ims":"ims","vnd.ms-lrm":"lrm","vnd.ms-officetheme":"thmx","vnd.ms-powerpoint.addin.macroenabled.12":"ppam","vnd.ms-powerpoint.presentation.macroenabled.12":"pptm","vnd.ms-powerpoint.slide.macroenabled.12":"sldm","vnd.ms-powerpoint.slideshow.macroenabled.12":"ppsm","vnd.ms-powerpoint.template.macroenabled.12":"potm","vnd.ms-project":["mpp","mpt"],"vnd.ms-word.document.macroenabled.12":"docm","vnd.ms-word.template.macroenabled.12":"dotm","vnd.ms-works":["wps","wks","wcm","wdb"],"vnd.ms-wpl":"wpl","vnd.ms-xpsdocument":"xps","vnd.mseq":"mseq","vnd.musician":"mus","vnd.muvee.style":"msty","vnd.mynfc":"taglet","vnd.neurolanguage.nlu":"nlu","vnd.nitf":["ntf","nitf"],"vnd.noblenet-directory":"nnd","vnd.noblenet-sealer":"nns","vnd.noblenet-web":"nnw","vnd.nokia.n-gage.data":"ngdat","vnd.nokia.n-gage.symbian.install":"n-gage","vnd.nokia.radio-preset":"rpst","vnd.nokia.radio-presets":"rpss","vnd.novadigm.edm":"edm","vnd.novadigm.edx":"edx","vnd.novadigm.ext":"ext","vnd.oasis.opendocument.chart-template":"otc","vnd.oasis.opendocument.formula-template":"odft","vnd.oasis.opendocument.image-template":"oti","vnd.olpc-sugar":"xo","vnd.oma.dd2+xml":"dd2","vnd.openofficeorg.extension":"oxt","vnd.openxmlformats-officedocument.presentationml.slide":"sldx","vnd.osgeo.mapguide.package":"mgp","vnd.osgi.dp":"dp","vnd.osgi.subsystem":"esa","vnd.palm":["pdb","pqa","oprc"],"vnd.pawaafile":"paw","vnd.pg.format":"str","vnd.pg.osasli":"ei6","vnd.picsel":"efif","vnd.pmi.widget":"wg","vnd.pocketlearn":"plf","vnd.powerbuilder6":"pbd","vnd.previewsystems.box":"box","vnd.proteus.magazine":"mgz","vnd.publishare-delta-tree":"qps","vnd.pvi.ptid1":"ptid","vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"vnd.realvnc.bed":"bed","vnd.recordare.musicxml":"mxl","vnd.recordare.musicxml+xml":"musicxml","vnd.rig.cryptonote":"cryptonote","vnd.rn-realmedia":"rm","vnd.rn-realmedia-vbr":"rmvb","vnd.route66.link66+xml":"link66","vnd.sailingtracker.track":"st","vnd.seemail":"see","vnd.sema":"sema","vnd.semd":"semd","vnd.semf":"semf","vnd.shana.informed.formdata":"ifm","vnd.shana.informed.formtemplate":"itp","vnd.shana.informed.interchange":"iif","vnd.shana.informed.package":"ipk","vnd.simtech-mindmapper":["twd","twds"],"vnd.smart.teacher":"teacher","vnd.solent.sdkm+xml":["sdkm","sdkd"],"vnd.spotfire.dxp":"dxp","vnd.spotfire.sfs":"sfs","vnd.stepmania.package":"smzip","vnd.stepmania.stepchart":"sm","vnd.sus-calendar":["sus","susp"],"vnd.svd":"svd","vnd.syncml+xml":"xsm","vnd.syncml.dm+wbxml":"bdm","vnd.syncml.dm+xml":"xdm","vnd.tao.intent-module-archive":"tao","vnd.tcpdump.pcap":["pcap","cap","dmp"],"vnd.tmobile-livetv":"tmo","vnd.trid.tpt":"tpt","vnd.triscape.mxs":"mxs","vnd.trueapp":"tra","vnd.ufdl":["ufd","ufdl"],"vnd.uiq.theme":"utz","vnd.umajin":"umj","vnd.unity":"unityweb","vnd.uoml+xml":"uoml","vnd.vcx":"vcx","vnd.visionary":"vis","vnd.vsf":"vsf","vnd.webturbo":"wtb","vnd.wolfram.player":"nbp","vnd.wqd":"wqd","vnd.wt.stf":"stf","vnd.xara":"xar","vnd.xfdl":"xfdl","vnd.yamaha.hv-dic":"hvd","vnd.yamaha.hv-script":"hvs","vnd.yamaha.hv-voice":"hvp","vnd.yamaha.openscoreformat":"osf","vnd.yamaha.openscoreformat.osfpvg+xml":"osfpvg","vnd.yamaha.smaf-audio":"saf","vnd.yamaha.smaf-phrase":"spf","vnd.yellowriver-custom-menu":"cmp","vnd.zul":["zir","zirz"],"vnd.zzazz.deck+xml":"zaz","voicexml+xml":"vxml",widget:"wgt",winhlp:"hlp","wsdl+xml":"wsdl","wspolicy+xml":"wspolicy","x-ace-compressed":"ace","x-authorware-bin":["aab","x32","u32","vox"],"x-authorware-map":"aam","x-authorware-seg":"aas","x-blorb":["blb","blorb"],"x-bzip":"bz","x-bzip2":["bz2","boz"],"x-cfs-compressed":"cfs","x-chat":"chat","x-conference":"nsc","x-dgc-compressed":"dgc","x-dtbncx+xml":"ncx","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-eva":"eva","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-otf":"otf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-font-woff":"woff","x-freearc":"arc","x-gca-compressed":"gca","x-glulx":"ulx","x-gramps-xml":"gramps","x-install-instructions":"install","x-lzh-compressed":["lzh","lha"],"x-mie":"mie","x-mobipocket-ebook":["prc","mobi"],"x-ms-application":"application","x-ms-shortcut":"lnk","x-ms-xbap":"xbap","x-msbinder":"obd","x-mscardfile":"crd","x-msclip":"clp","x-msdownload":["exe","dll","com","bat","msi"],"x-msmediaview":["mvb","m13","m14"],"x-msmetafile":["wmf","wmz","emf","emz"],"x-msmoney":"mny","x-mspublisher":"pub","x-msschedule":"scd","x-msterminal":"trm","x-mswrite":"wri","x-nzb":"nzb","x-pkcs12":["p12","pfx"],"x-pkcs7-certificates":["p7b","spc"],"x-research-info-systems":"ris","x-silverlight-app":"xap","x-sql":"sql","x-stuffitx":"sitx","x-subrip":"srt","x-t3vm-image":"t3","x-tads":"gam","x-tex":"tex","x-tex-tfm":"tfm","x-tgif":"obj","x-xliff+xml":"xlf","x-xz":"xz","x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"xaml+xml":"xaml","xcap-diff+xml":"xdf","xenc+xml":"xenc","xml-dtd":"dtd","xop+xml":"xop","xproc+xml":"xpl","xslt+xml":"xslt","xv+xml":["mxml","xhvml","xvml","xvm"],yang:"yang","yin+xml":"yin",envoy:"evy",fractals:"fif","internet-property-stream":"acx",olescript:"axs","vnd.ms-outlook":"msg","vnd.ms-pkicertstore":"sst","x-compress":"z","x-compressed":"tgz","x-gzip":"gz","x-perfmon":["pma","pmc","pml","pmr","pmw"],"x-pkcs7-mime":["p7c","p7m"],"ynd.ms-pkipko":"pko"},audio:{amr:"amr","amr-wb":"awb",annodex:"axa",basic:["au","snd"],flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp2","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"prs.sid":"sid","x-aiff":["aif","aiff","aifc"],"x-gsm":"gsm","x-ms-wma":"wma","x-ms-wax":"wax","x-pn-realaudio":"ram","x-realaudio":"ra","x-sd2":"sd2","x-wav":"wav",adpcm:"adp",mp4:"mp4a",s3m:"s3m",silk:"sil","vnd.dece.audio":["uva","uvva"],"vnd.digital-winds":"eol","vnd.dra":"dra","vnd.dts":"dts","vnd.dts.hd":"dtshd","vnd.lucent.voice":"lvp","vnd.ms-playready.media.pya":"pya","vnd.nuera.ecelp4800":"ecelp4800","vnd.nuera.ecelp7470":"ecelp7470","vnd.nuera.ecelp9600":"ecelp9600","vnd.rip":"rip",webm:"weba","x-aac":"aac","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",mid:["mid","rmi"]},chemical:{"x-alchemy":"alc","x-cache":["cac","cache"],"x-cache-csf":"csf","x-cactvs-binary":["cbin","cascii","ctab"],"x-cdx":"cdx","x-chem3d":"c3d","x-cif":"cif","x-cmdf":"cmdf","x-cml":"cml","x-compass":"cpa","x-crossfire":"bsd","x-csml":["csml","csm"],"x-ctx":"ctx","x-cxf":["cxf","cef"],"x-embl-dl-nucleotide":["emb","embl"],"x-gamess-input":["inp","gam","gamin"],"x-gaussian-checkpoint":["fch","fchk"],"x-gaussian-cube":"cub","x-gaussian-input":["gau","gjc","gjf"],"x-gaussian-log":"gal","x-gcg8-sequence":"gcg","x-genbank":"gen","x-hin":"hin","x-isostar":["istr","ist"],"x-jcamp-dx":["jdx","dx"],"x-kinemage":"kin","x-macmolecule":"mcm","x-macromodel-input":["mmd","mmod"],"x-mdl-molfile":"mol","x-mdl-rdfile":"rd","x-mdl-rxnfile":"rxn","x-mdl-sdfile":["sd","sdf"],"x-mdl-tgf":"tgf","x-mmcif":"mcif","x-mol2":"mol2","x-molconn-Z":"b","x-mopac-graph":"gpt","x-mopac-input":["mop","mopcrt","mpc","zmt"],"x-mopac-out":"moo","x-ncbi-asn1":"asn","x-ncbi-asn1-ascii":["prt","ent"],"x-ncbi-asn1-binary":["val","aso"],"x-pdb":["pdb","ent"],"x-rosdal":"ros","x-swissprot":"sw","x-vamas-iso14976":"vms","x-vmd":"vmd","x-xtel":"xtel","x-xyz":"xyz"},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"vnd.djvu":["djvu","djv"],"vnd.wap.wbmp":"wbmp","x-canon-cr2":"cr2","x-canon-crw":"crw","x-cmu-raster":"ras","x-coreldraw":"cdr","x-coreldrawpattern":"pat","x-coreldrawtemplate":"cdt","x-corelphotopaint":"cpt","x-epson-erf":"erf","x-icon":"ico","x-jg":"art","x-jng":"jng","x-nikon-nef":"nef","x-olympus-orf":"orf","x-photoshop":"psd","x-portable-anymap":"pnm","x-portable-bitmap":"pbm","x-portable-graymap":"pgm","x-portable-pixmap":"ppm","x-rgb":"rgb","x-xbitmap":"xbm","x-xpixmap":"xpm","x-xwindowdump":"xwd",bmp:"bmp",cgm:"cgm",g3fax:"g3",ktx:"ktx","prs.btif":"btif",sgi:"sgi","vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"vnd.dwg":"dwg","vnd.dxf":"dxf","vnd.fastbidsheet":"fbs","vnd.fpx":"fpx","vnd.fst":"fst","vnd.fujixerox.edmics-mmr":"mmr","vnd.fujixerox.edmics-rlc":"rlc","vnd.ms-modi":"mdi","vnd.ms-photo":"wdp","vnd.net-fpx":"npx","vnd.xiff":"xif",webp:"webp","x-3ds":"3ds","x-cmx":"cmx","x-freehand":["fh","fhc","fh4","fh5","fh7"],"x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod",pipeg:"jfif"},message:{rfc822:["eml","mime","mht","mhtml","nws"]},model:{iges:["igs","iges"],mesh:["msh","mesh","silo"],vrml:["wrl","vrml"],"x3d+vrml":["x3dv","x3dvz"],"x3d+xml":["x3d","x3dz"],"x3d+binary":["x3db","x3dbz"],"vnd.collada+xml":"dae","vnd.dwf":"dwf","vnd.gdl":"gdl","vnd.gtw":"gtw","vnd.mts":"mts","vnd.vtu":"vtu"},text:{"cache-manifest":["manifest","appcache"],calendar:["ics","icz","ifb"],css:"css",csv:"csv",h323:"323",html:["html","htm","shtml","stm"],iuls:"uls",mathml:"mml",plain:["txt","text","brf","conf","def","list","log","in","bas"],richtext:"rtx",scriptlet:["sct","wsc"],texmacs:["tm","ts"],"tab-separated-values":"tsv","vnd.sun.j2me.app-descriptor":"jad","vnd.wap.wml":"wml","vnd.wap.wmlscript":"wmls","x-bibtex":"bib","x-boo":"boo","x-c++hdr":["h++","hpp","hxx","hh"],"x-c++src":["c++","cpp","cxx","cc"],"x-component":"htc","x-dsrc":"d","x-diff":["diff","patch"],"x-haskell":"hs","x-java":"java","x-literate-haskell":"lhs","x-moc":"moc","x-pascal":["p","pas"],"x-pcs-gcd":"gcd","x-perl":["pl","pm"],"x-python":"py","x-scala":"scala","x-setext":"etx","x-tcl":["tcl","tk"],"x-tex":["tex","ltx","sty","cls"],"x-vcalendar":"vcs","x-vcard":"vcf",n3:"n3","prs.lines.tag":"dsc",sgml:["sgml","sgm"],troff:["t","tr","roff","man","me","ms"],turtle:"ttl","uri-list":["uri","uris","urls"],vcard:"vcard","vnd.curl":"curl","vnd.curl.dcurl":"dcurl","vnd.curl.scurl":"scurl","vnd.curl.mcurl":"mcurl","vnd.dvb.subtitle":"sub","vnd.fly":"fly","vnd.fmi.flexstor":"flx","vnd.graphviz":"gv","vnd.in3d.3dml":"3dml","vnd.in3d.spot":"spot","x-asm":["s","asm"],"x-c":["c","cc","cxx","cpp","h","hh","dic"],"x-fortran":["f","for","f77","f90"],"x-opml":"opml","x-nfo":"nfo","x-sfv":"sfv","x-uuencode":"uu",webviewhtml:"htt"},video:{avif:".avif","3gpp":"3gp",annodex:"axv",dl:"dl",dv:["dif","dv"],fli:"fli",gl:"gl",mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.dece.hd":["uvh","uvvh"],"vnd.dece.mobile":["uvm","uvvm"],"vnd.dece.pd":["uvp","uvvp"],"vnd.dece.sd":["uvs","uvvs"],"vnd.dece.video":["uvv","uvvv"],"vnd.dvb.file":"dvb","vnd.fvt":"fvt","vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv"},"x-conference":{"x-cooltalk":"ice"},"x-world":{"x-vrml":["vrm","vrml","wrl","flr","wrz","xaf","xof"]}};(()=>{const e={};for(let t in Ko)if(Ko.hasOwnProperty(t)){for(let n in Ko[t])if(Ko[t].hasOwnProperty(n)){const r=Ko[t][n];if(typeof r=="string")e[r]=t+"/"+n;else for(let o=0;o{if(typeof URL.createObjectURL=="function"){const e=(()=>{const n=[];for(let b=0;b<256;b++){let u=b;for(let c=0;c<8;c++)1&u?u=u>>>1^3988292384:u>>>=1;n[b]=u}class r{constructor(u){this.crc=u||-1}append(u){let c=0|this.crc;for(let E=0,B=0|u.length;E>>8^n[255&(c^u[E])];this.crc=c}get(){return~this.crc}}const o={concat(b,u){if(b.length===0||u.length===0)return b.concat(u);const c=b[b.length-1],E=o.getPartial(c);return E===32?b.concat(u):o._shiftRight(u,E,0|c,b.slice(0,b.length-1))},bitLength(b){const u=b.length;if(u===0)return 0;const c=b[u-1];return 32*(u-1)+o.getPartial(c)},clamp(b,u){if(32*b.length0&&u&&(b[c-1]=o.partial(u,b[c-1]&2147483648>>u-1,1)),b},partial:(b,u,c)=>b===32?u:(c?0|u:u<<32-b)+1099511627776*b,getPartial:b=>Math.round(b/1099511627776)||32,_shiftRight(b,u,c,E){for(E===void 0&&(E=[]);u>=32;u-=32)E.push(c),c=0;if(u===0)return E.concat(b);for(let y=0;y>>u),c=b[y]<<32-u;const B=b.length?b[b.length-1]:0,h=o.getPartial(B);return E.push(o.partial(u+h&31,u+h>32?c:E.pop(),1)),E}},i={bytes:{fromBits(b){const u=o.bitLength(b)/8,c=new Uint8Array(u);let E;for(let B=0;B>>24,E<<=8;return c},toBits(b){const u=[];let c,E=0;for(c=0;c9007199254740991)throw new Error("Cannot hash more than 2^53 - 1 bits");const h=new Uint32Array(c);let y=0;for(let R=u.blockSize+E-(u.blockSize+E&u.blockSize-1);R<=B;R+=u.blockSize)u._block(h.subarray(16*y,16*(y+1))),y+=1;return c.splice(0,16*y),u},finalize:function(){const b=this;let u=b._buffer;const c=b._h;u=o.concat(u,[o.partial(1,1)]);for(let E=u.length+2;15&E;E++)u.push(0);for(u.push(Math.floor(b._length/4294967296)),u.push(0|b._length);u.length;)b._block(u.splice(0,16));return b.reset(),c},_init:[1732584193,4023233417,2562383102,271733878,3285377520],_key:[1518500249,1859775393,2400959708,3395469782],_f:function(b,u,c,E){return b<=19?u&c|~u&E:b<=39?u^c^E:b<=59?u&c|u&E|c&E:b<=79?u^c^E:void 0},_S:function(b,u){return u<>>32-b},_block:function(b){const u=this,c=u._h,E=Array(80);for(let D=0;D<16;D++)E[D]=b[D];let B=c[0],h=c[1],y=c[2],R=c[3],$=c[4];for(let D=0;D<=79;D++){D>=16&&(E[D]=u._S(1,E[D-3]^E[D-8]^E[D-14]^E[D-16]));const W=u._S(5,B)+u._f(D,h,y,R)+$+E[D]+u._key[Math.floor(D/20)]|0;$=R,R=y,y=u._S(30,h),h=B,B=W}c[0]=c[0]+B|0,c[1]=c[1]+h|0,c[2]=c[2]+y|0,c[3]=c[3]+R|0,c[4]=c[4]+$|0}};const a=class{constructor(b){const u=this;u._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],u._tables[0][0][0]||u._precompute();const c=u._tables[0][4],E=u._tables[1],B=b.length;let h,y,R,$=1;if(B!==4&&B!==6&&B!==8)throw new Error("invalid aes key size");for(u._key=[y=b.slice(0),R=[]],h=B;h<4*B+28;h++){let D=y[h-1];(h%B==0||B===8&&h%B==4)&&(D=c[D>>>24]<<24^c[D>>16&255]<<16^c[D>>8&255]<<8^c[255&D],h%B==0&&(D=D<<8^D>>>24^$<<24,$=$<<1^283*($>>7))),y[h]=y[h-B]^D}for(let D=0;h;D++,h--){const W=y[3&D?h:h-4];R[D]=h<=4||D<4?W:E[0][c[W>>>24]]^E[1][c[W>>16&255]]^E[2][c[W>>8&255]]^E[3][c[255&W]]}}encrypt(b){return this._crypt(b,0)}decrypt(b){return this._crypt(b,1)}_precompute(){const b=this._tables[0],u=this._tables[1],c=b[4],E=u[4],B=[],h=[];let y,R,$,D;for(let W=0;W<256;W++)h[(B[W]=W<<1^283*(W>>7))^W]=W;for(let W=y=0;!c[W];W^=R||1,y=h[y]||1){let oe=y^y<<1^y<<2^y<<3^y<<4;oe=oe>>8^255&oe^99,c[W]=oe,E[oe]=W,D=B[$=B[R=B[W]]];let ie=16843009*D^65537*$^257*R^16843008*W,Pe=257*B[oe]^16843008*oe;for(let j=0;j<4;j++)b[j][W]=Pe=Pe<<24^Pe>>>8,u[j][oe]=ie=ie<<24^ie>>>8}for(let W=0;W<5;W++)b[W]=b[W].slice(0),u[W]=u[W].slice(0)}_crypt(b,u){if(b.length!==4)throw new Error("invalid aes block size");const c=this._key[u],E=c.length/4-2,B=[0,0,0,0],h=this._tables[u],y=h[0],R=h[1],$=h[2],D=h[3],W=h[4];let oe,ie,Pe,j=b[0]^c[0],de=b[u?3:1]^c[1],I=b[2]^c[2],M=b[u?1:3]^c[3],Z=4;for(let ae=0;ae>>24]^R[de>>16&255]^$[I>>8&255]^D[255&M]^c[Z],ie=y[de>>>24]^R[I>>16&255]^$[M>>8&255]^D[255&j]^c[Z+1],Pe=y[I>>>24]^R[M>>16&255]^$[j>>8&255]^D[255&de]^c[Z+2],M=y[M>>>24]^R[j>>16&255]^$[de>>8&255]^D[255&I]^c[Z+3],Z+=4,j=oe,de=ie,I=Pe;for(let ae=0;ae<4;ae++)B[u?3&-ae:ae]=W[j>>>24]<<24^W[de>>16&255]<<16^W[I>>8&255]<<8^W[255&M]^c[Z++],oe=j,j=de,de=I,I=M,M=oe;return B}},l=class{constructor(b,u){this._prf=b,this._initIv=u,this._iv=u}reset(){this._iv=this._initIv}update(b){return this.calculate(this._prf,b,this._iv)}incWord(b){if((b>>24&255)==255){let u=b>>16&255,c=b>>8&255,E=255&b;u===255?(u=0,c===255?(c=0,E===255?E=0:++E):++c):++u,b=0,b+=u<<16,b+=c<<8,b+=E}else b+=1<<24;return b}incCounter(b){(b[0]=this.incWord(b[0]))===0&&(b[1]=this.incWord(b[1]))}calculate(b,u,c){let E;if(!(E=u.length))return[];const B=o.bitLength(u);for(let h=0;hB&&(b=c.hash(b));for(let h=0;h$.length){const W=$;($=new Uint8Array(D)).set(W,0)}return $}(c,y-y%16)),R=0;R<=y-16;R+=16){const $=w.toBits(V(u,R,R+16));h&&b.hmac.update($);const D=b.aesCtrGladman.update($);h||b.hmac.update(D),c.set(w.fromBits(D),R+E)}return b.pendingInput=V(u,R),c}async function H(b,u,c){const E=new TextEncoder().encode(u),B=await g.importKey("raw",E,m,!1,k),h=await g.deriveBits(Object.assign({salt:c},v),B,8*(2*x[b.strength]+2)),y=new Uint8Array(h);b.keys={key:w.toBits(V(y,0,x[b.strength])),authentication:w.toBits(V(y,x[b.strength],2*x[b.strength])),passwordVerification:V(y,2*x[b.strength])}}function N(b,u){let c=b;return b.length+u.length&&(c=new Uint8Array(b.length+u.length),c.set(b,0),c.set(u,b.length)),c}function V(b,u,c){return b.subarray(u,c)}class G{constructor(u,c){Object.assign(this,{password:u,passwordVerification:c}),ce(this,u)}async append(u){const c=this;if(c.password){const E=_e(c,u.subarray(0,12));if(c.password=null,E[11]!=c.passwordVerification)throw new Error("Invalid pasword");u=u.subarray(12)}return _e(c,u)}async flush(){return{valid:!0,data:new Uint8Array(0)}}}class te{constructor(u,c){Object.assign(this,{password:u,passwordVerification:c}),ce(this,u)}async append(u){const c=this;let E,B;if(c.password){c.password=null;const h=crypto.getRandomValues(new Uint8Array(12));h[11]=c.passwordVerification,E=new Uint8Array(u.length+h.length),E.set(ve(c,h),0),B=12}else E=new Uint8Array(u.length),B=0;return E.set(ve(c,u),B),E}async flush(){return{data:new Uint8Array(0)}}}function _e(b,u){const c=new Uint8Array(u.length);for(let E=0;E>>24]),b.keys[2]=~b.crcKey2.get()}function me(b){const u=2|b.keys[2];return et(Math.imul(u,1^u)>>>8)}function et(b){return 255&b}function Ee(b){return 4294967295&b}class ot{constructor(u,{signature:c,password:E,signed:B,compressed:h,zipCrypto:y,passwordVerification:R,encryptionStrength:$},{chunkSize:D}){const W=!!E;Object.assign(this,{signature:c,encrypted:W,signed:B,compressed:h,inflate:h&&new u({chunkSize:D}),crc32:B&&new r,zipCrypto:y,decrypt:W&&y?new G(E,R):new S(E,B,$)})}async append(u){const c=this;return c.encrypted&&u.length&&(u=await c.decrypt.append(u)),c.compressed&&u.length&&(u=await c.inflate.append(u)),(!c.encrypted||c.zipCrypto)&&c.signed&&u.length&&c.crc32.append(u),u}async flush(){const u=this;let c,E=new Uint8Array(0);if(u.encrypted){const B=await u.decrypt.flush();if(!B.valid)throw new Error("Invalid signature");E=B.data}if((!u.encrypted||u.zipCrypto)&&u.signed){const B=new DataView(new Uint8Array(4).buffer);if(c=u.crc32.get(),B.setUint32(0,c),u.cipher!=B.getUint32(0,!1))throw new Error("Invalid signature")}return u.compressed&&(E=await u.inflate.append(E)||new Uint8Array(0),await u.inflate.flush()),{data:E,signature:c}}}class Ie{constructor(u,{encrypted:c,signed:E,compressed:B,level:h,zipCrypto:y,password:R,passwordVerification:$,encryptionStrength:D},{chunkSize:W}){Object.assign(this,{encrypted:c,signed:E,compressed:B,deflate:B&&new u({level:h||5,chunkSize:W}),crc32:E&&new r,zipCrypto:y,encrypt:c&&y?new te(R,$):new _(R,D)})}async append(u){const c=this;let E=u;return c.compressed&&u.length&&(E=await c.deflate.append(u)),c.encrypted&&E.length&&(E=await c.encrypt.append(E)),(!c.encrypted||c.zipCrypto)&&c.signed&&u.length&&c.crc32.append(u),E}async flush(){const u=this;let c,E=new Uint8Array(0);if(u.compressed&&(E=await u.deflate.flush()||new Uint8Array(0)),u.encrypted){E=await u.encrypt.append(E);const B=await u.encrypt.flush();c=B.signature;const h=new Uint8Array(E.length+B.data.length);h.set(E,0),h.set(B.data,E.length),E=h}return u.encrypted&&!u.zipCrypto||!u.signed||(c=u.crc32.get()),{data:E,signature:c}}}const je={init(b){b.scripts&&b.scripts.length&&importScripts.apply(void 0,b.scripts);const u=b.options;let c;self.initCodec&&self.initCodec(),u.codecType.startsWith("deflate")?c=self.Deflate:u.codecType.startsWith("inflate")&&(c=self.Inflate),Lt=function(E,B,h){return B.codecType.startsWith("deflate")?new Ie(E,B,h):B.codecType.startsWith("inflate")?new ot(E,B,h):void 0}(c,u,b.config)},append:async b=>({data:await Lt.append(b.data)}),flush:()=>Lt.flush()};let Lt;function $t(b){return b.map(([u,c])=>new Array(u).fill(c,0,u)).flat()}addEventListener("message",async b=>{const u=b.data,c=u.type,E=je[c];if(E)try{u.data&&(u.data=new Uint8Array(u.data));const B=await E(u)||{};if(B.type=c,B.data)try{B.data=B.data.buffer,postMessage(B,[B.data])}catch{postMessage(B)}else postMessage(B)}catch(B){postMessage({type:c,error:{message:B.message,stack:B.stack}})}});const Ne=[0,1,2,3].concat(...$t([[2,4],[2,5],[4,6],[4,7],[8,8],[8,9],[16,10],[16,11],[32,12],[32,13],[64,14],[64,15],[2,0],[1,16],[1,17],[2,18],[2,19],[4,20],[4,21],[8,22],[8,23],[16,24],[16,25],[32,26],[32,27],[64,28],[64,29]]));function Me(){const b=this;function u(c,E){let B=0;do B|=1&c,c>>>=1,B<<=1;while(--E>0);return B>>>1}b.build_tree=function(c){const E=b.dyn_tree,B=b.stat_desc.static_tree,h=b.stat_desc.elems;let y,R,$,D=-1;for(c.heap_len=0,c.heap_max=573,y=0;y=1;y--)c.pqdownheap(E,y);$=h;do y=c.heap[1],c.heap[1]=c.heap[c.heap_len--],c.pqdownheap(E,1),R=c.heap[1],c.heap[--c.heap_max]=y,c.heap[--c.heap_max]=R,E[2*$]=E[2*y]+E[2*R],c.depth[$]=Math.max(c.depth[y],c.depth[R])+1,E[2*y+1]=E[2*R+1]=$,c.heap[1]=$++,c.pqdownheap(E,1);while(c.heap_len>=2);c.heap[--c.heap_max]=c.heap[1],function(W){const oe=b.dyn_tree,ie=b.stat_desc.static_tree,Pe=b.stat_desc.extra_bits,j=b.stat_desc.extra_base,de=b.stat_desc.max_length;let I,M,Z,ae,Se,ee,fe=0;for(ae=0;ae<=15;ae++)W.bl_count[ae]=0;for(oe[2*W.heap[W.heap_max]+1]=0,I=W.heap_max+1;I<573;I++)M=W.heap[I],ae=oe[2*oe[2*M+1]+1]+1,ae>de&&(ae=de,fe++),oe[2*M+1]=ae,M>b.max_code||(W.bl_count[ae]++,Se=0,M>=j&&(Se=Pe[M-j]),ee=oe[2*M],W.opt_len+=ee*(ae+Se),ie&&(W.static_len+=ee*(ie[2*M+1]+Se)));if(fe!==0){do{for(ae=de-1;W.bl_count[ae]===0;)ae--;W.bl_count[ae]--,W.bl_count[ae+1]+=2,W.bl_count[de]--,fe-=2}while(fe>0);for(ae=de;ae!==0;ae--)for(M=W.bl_count[ae];M!==0;)Z=W.heap[--I],Z>b.max_code||(oe[2*Z+1]!=ae&&(W.opt_len+=(ae-oe[2*Z+1])*oe[2*Z],oe[2*Z+1]=ae),M--)}}(c),function(W,oe,ie){const Pe=[];let j,de,I,M=0;for(j=1;j<=15;j++)Pe[j]=M=M+ie[j-1]<<1;for(de=0;de<=oe;de++)I=W[2*de+1],I!==0&&(W[2*de]=u(Pe[I]++,I))}(E,b.max_code,c.bl_count)}}function Xe(b,u,c,E,B){const h=this;h.static_tree=b,h.extra_bits=u,h.extra_base=c,h.elems=E,h.max_length=B}function De(b,u,c,E,B){const h=this;h.good_length=b,h.max_lazy=u,h.nice_length=c,h.max_chain=E,h.func=B}Me._length_code=[0,1,2,3,4,5,6,7].concat(...$t([[2,8],[2,9],[2,10],[2,11],[4,12],[4,13],[4,14],[4,15],[8,16],[8,17],[8,18],[8,19],[16,20],[16,21],[16,22],[16,23],[32,24],[32,25],[32,26],[31,27],[1,28]])),Me.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],Me.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],Me.d_code=function(b){return b<256?Ne[b]:Ne[256+(b>>>7)]},Me.extra_lbits=[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],Me.extra_dbits=[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],Me.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Me.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Xe.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],Xe.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],Xe.static_l_desc=new Xe(Xe.static_ltree,Me.extra_lbits,257,286,15),Xe.static_d_desc=new Xe(Xe.static_dtree,Me.extra_dbits,0,30,15),Xe.static_bl_desc=new Xe(null,Me.extra_blbits,0,19,7);const pt=[new De(0,0,0,0,0),new De(4,4,8,4,1),new De(4,5,16,8,1),new De(4,6,32,32,1),new De(4,4,16,16,2),new De(8,16,32,32,2),new De(8,16,128,128,2),new De(8,32,128,256,2),new De(32,128,258,1024,2),new De(32,258,258,4096,2)],Pt=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function O(b,u,c,E){const B=b[2*u],h=b[2*c];return B>>8&255)}function Vt(pe,ge){let ke;const $e=ge;Wt>16-$e?(ke=pe,un|=ke<>>16-Wt,Wt+=$e-16):(un|=pe<=8&&(Jr(255&un),un>>>=8,Wt-=8)}function Fo(pe,ge){let ke,$e,he;if(b.pending_buf[Io+2*at]=pe>>>8&255,b.pending_buf[Io+2*at+1]=255&pe,b.pending_buf[tr+at]=255&ge,at++,pe===0?tt[2*ge]++:(ea++,pe--,tt[2*(Me._length_code[ge]+256+1)]++,He[2*Me.d_code(pe)]++),(8191&at)==0&&ue>2){for(ke=8*at,$e=ee-M,he=0;he<30;he++)ke+=He[2*he]*(5+Me.extra_dbits[he]);if(ke>>>=3,ea8?Lo(un):Wt>0&&Jr(255&un),un=0,Wt=0}function uc(pe,ge,ke){Vt(0+(ke?1:0),3),function($e,he,Ve){fc(),Bo=8,Lo(he),Lo(~he),b.pending_buf.set($.subarray($e,$e+he),b.pending),b.pending+=he}(pe,ge)}function lh(pe,ge,ke){let $e,he,Ve=0;ue>0?(Qn.build_tree(b),er.build_tree(b),Ve=function(){let Je;for(ac(tt,Qn.max_code),ac(He,er.max_code),Ye.build_tree(b),Je=18;Je>=3&&Ze[2*Me.bl_order[Je]+1]===0;Je--);return b.opt_len+=3*(Je+1)+5+5+4,Je}(),$e=b.opt_len+3+7>>>3,he=b.static_len+3+7>>>3,he<=$e&&($e=he)):$e=he=ge+5,ge+4<=$e&&pe!=-1?uc(pe,ge,ke):he==$e?(Vt(2+(ke?1:0),3),dc(Xe.static_ltree,Xe.static_dtree)):(Vt(4+(ke?1:0),3),function(Je,Tt,ht){let kt;for(Vt(Je-257,5),Vt(Tt-1,5),Vt(ht-4,4),kt=0;kt=0?M:-1,ee-M,pe),M=ee,u.flush_pending()}function ta(){let pe,ge,ke,$e;do{if($e=D-q-ee,$e===0&&ee===0&&q===0)$e=h;else if($e==-1)$e--;else if(ee>=h+h-262){$.set($.subarray(h,h+h),0),fe-=h,ee-=h,M-=h,pe=Pe,ke=pe;do ge=65535&oe[--ke],oe[ke]=ge>=h?ge-h:0;while(--pe!=0);pe=h,ke=pe;do ge=65535&W[--ke],W[ke]=ge>=h?ge-h:0;while(--pe!=0);$e+=h}if(u.avail_in===0)return;pe=u.read_buf($,ee+q,$e),q+=pe,q>=3&&(ie=255&$[ee],ie=(ie<h-262?ee-(h-262):0;let Tt=rt;const ht=R,kt=ee+258;let qt=$[he+Ve-1],rr=$[he+Ve];Ce>=We&&($e>>=2),Tt>q&&(Tt=q);do if(ge=pe,$[ge+Ve]==rr&&$[ge+Ve-1]==qt&&$[ge]==$[he]&&$[++ge]==$[he+1]){he+=2,ge++;do;while($[++he]==$[++ge]&&$[++he]==$[++ge]&&$[++he]==$[++ge]&&$[++he]==$[++ge]&&$[++he]==$[++ge]&&$[++he]==$[++ge]&&$[++he]==$[++ge]&&$[++he]==$[++ge]&&heVe){if(fe=pe,Ve=ke,ke>=Tt)break;qt=$[he+Ve-1],rr=$[he+Ve]}}while((pe=65535&W[pe&ht])>Je&&--$e!=0);return Ve<=q?Ve:q}function ch(pe){return pe.total_in=pe.total_out=0,pe.msg=null,b.pending=0,b.pending_out=0,c=113,B=0,Qn.dyn_tree=tt,Qn.stat_desc=Xe.static_l_desc,er.dyn_tree=He,er.stat_desc=Xe.static_d_desc,Ye.dyn_tree=Ze,Ye.stat_desc=Xe.static_bl_desc,un=0,Wt=0,Bo=8,sc(),function(){D=2*h,oe[Pe-1]=0;for(let ge=0;ge9||$e!=8||ke<9||ke>15||ge<0||ge>9||Ve<0||Ve>2?-2:(pe.dstate=b,y=ke,h=1<9||ke<0||ke>2?-2:(pt[ue].func!=pt[ge].func&&pe.total_in!==0&&($e=pe.deflate(1)),ue!=ge&&(ue=ge,Be=pt[ue].max_lazy,We=pt[ue].good_length,rt=pt[ue].nice_length,qe=pt[ue].max_chain),xe=ke,$e)},b.deflateSetDictionary=function(pe,ge,ke){let $e,he=ke,Ve=0;if(!ge||c!=42)return-2;if(he<3)return 0;for(he>h-262&&(he=h-262,Ve=ke-he),$.set(ge.subarray(Ve,Ve+he),0),ee=he,M=he,ie=255&$[0],ie=(ie<4||ge<0)return-2;if(!pe.next_out||!pe.next_in&&pe.avail_in!==0||c==666&&ge!=4)return pe.msg=Pt[4],-2;if(pe.avail_out===0)return pe.msg=Pt[7],-5;var Tt;if(u=pe,Ve=B,B=ge,c==42&&($e=8+(y-8<<4)<<8,he=(ue-1&255)>>1,he>3&&(he=3),$e|=he<<6,ee!==0&&($e|=32),$e+=31-$e%31,c=113,Jr((Tt=$e)>>8&255),Jr(255&Tt)),b.pending!==0){if(u.flush_pending(),u.avail_out===0)return B=-1,0}else if(u.avail_in===0&&ge<=Ve&&ge!=4)return u.msg=Pt[7],-5;if(c==666&&u.avail_in!==0)return pe.msg=Pt[7],-5;if(u.avail_in!==0||q!==0||ge!=0&&c!=666){switch(Je=-1,pt[ue].func){case 0:Je=function(ht){let kt,qt=65535;for(qt>E-5&&(qt=E-5);;){if(q<=1){if(ta(),q===0&&ht==0)return 0;if(q===0)break}if(ee+=q,q=0,kt=M+qt,(ee===0||ee>=kt)&&(q=ee-kt,ee=kt,nr(!1),u.avail_out===0)||ee-M>=h-262&&(nr(!1),u.avail_out===0))return 0}return nr(ht==4),u.avail_out===0?ht==4?2:0:ht==4?3:1}(ge);break;case 1:Je=function(ht){let kt,qt=0;for(;;){if(q<262){if(ta(),q<262&&ht==0)return 0;if(q===0)break}if(q>=3&&(ie=(ie<=3)if(kt=Fo(ee-fe,Z-3),q-=Z,Z<=Be&&q>=3){Z--;do ee++,ie=(ie<=3&&(ie=(ie<4096)&&(Z=2)),Ce>=3&&Z<=Ce){qt=ee+q-3,kt=Fo(ee-1-ae,Ce-3),q-=Ce-1,Ce-=2;do++ee<=qt&&(ie=(ie<0&&u.next_in_index!=D&&(y(u.next_in_index),D=u.next_in_index)}while(u.avail_in>0||u.avail_out===0);return ie.length>1?($=new Uint8Array(oe),ie.forEach(function(Pe){$.set(Pe,W),W+=Pe.length})):$=ie[0]||new Uint8Array(0),$}},this.flush=function(){let h,y,R=0,$=0;const D=[];do{if(u.next_out_index=0,u.avail_out=c,h=u.deflate(4),h!=1&&h!=0)throw new Error("deflating: "+u.msg);c-u.avail_out>0&&D.push(E.slice(0,u.next_out_index)),$+=u.next_out_index}while(u.avail_in>0||u.avail_out===0);return u.deflateEnd(),y=new Uint8Array($),D.forEach(function(W){y.set(W,R),R+=W.length}),y}}Y.prototype={deflateInit:function(b,u){const c=this;return c.dstate=new z,u||(u=15),c.dstate.deflateInit(c,b,u)},deflate:function(b){const u=this;return u.dstate?u.dstate.deflate(u,b):-2},deflateEnd:function(){const b=this;if(!b.dstate)return-2;const u=b.dstate.deflateEnd();return b.dstate=null,u},deflateParams:function(b,u){const c=this;return c.dstate?c.dstate.deflateParams(c,b,u):-2},deflateSetDictionary:function(b,u){const c=this;return c.dstate?c.dstate.deflateSetDictionary(c,b,u):-2},read_buf:function(b,u,c){const E=this;let B=E.avail_in;return B>c&&(B=c),B===0?0:(E.avail_in-=B,b.set(E.next_in.subarray(E.next_in_index,E.next_in_index+B),u),E.next_in_index+=B,E.total_in+=B,B)},flush_pending:function(){const b=this;let u=b.dstate.pending;u>b.avail_out&&(u=b.avail_out),u!==0&&(b.next_out.set(b.dstate.pending_buf.subarray(b.dstate.pending_out,b.dstate.pending_out+u),b.next_out_index),b.next_out_index+=u,b.dstate.pending_out+=u,b.total_out+=u,b.avail_out-=u,b.dstate.pending-=u,b.dstate.pending===0&&(b.dstate.pending_out=0))}};const F=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],U=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],J=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],X=[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],re=[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,112,112],Q=[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],Re=[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];function we(){let b,u,c,E,B,h;function y($,D,W,oe,ie,Pe,j,de,I,M,Z){let ae,Se,ee,fe,q,Ce,qe,Be,ue,xe,We,rt,tt,He,Ze;xe=0,q=W;do c[$[D+xe]]++,xe++,q--;while(q!==0);if(c[0]==W)return j[0]=-1,de[0]=0,0;for(Be=de[0],Ce=1;Ce<=15&&c[Ce]===0;Ce++);for(qe=Ce,Beq&&(Be=q),de[0]=Be,He=1<rt+Be;){if(fe++,rt+=Be,Ze=ee-rt,Ze=Ze>Be?Be:Ze,(Se=1<<(Ce=qe-rt))>ae+1&&(Se-=ae+1,tt=qe,Ce1440)return-3;B[fe]=We=M[0],M[0]+=Ze,fe!==0?(h[fe]=q,E[0]=Ce,E[1]=Be,Ce=q>>>rt-Be,E[2]=We-B[fe-1]-Ce,I.set(E,3*(B[fe-1]+Ce))):j[0]=We}for(E[1]=qe-rt,xe>=W?E[0]=192:Z[xe]>>rt;Ce>>=1)q^=Ce;for(q^=Ce,ue=(1<257?(M==-3?I.msg="oversubscribed distance tree":M==-5?(I.msg="incomplete distance tree",M=-3):M!=-4&&(I.msg="empty distance tree with lengths",M=-3),M):0)}}function Ae(){const b=this;let u,c,E,B,h=0,y=0,R=0,$=0,D=0,W=0,oe=0,ie=0,Pe=0,j=0;function de(I,M,Z,ae,Se,ee,fe,q){let Ce,qe,Be,ue,xe,We,rt,tt,He,Ze,Qn,er,Ye,tr,ut,at;rt=q.next_in_index,tt=q.avail_in,xe=fe.bitb,We=fe.bitk,He=fe.write,Ze=He>=qe[at+1],We-=qe[at+1],(16&ue)!=0){for(ue&=15,Ye=qe[at+2]+(xe&F[ue]),xe>>=ue,We-=ue;We<15;)tt--,xe|=(255&q.read_byte(rt++))<>=qe[at+1],We-=qe[at+1],(16&ue)!=0){for(ue&=15;We>=ue,We-=ue,Ze-=Ye,He>=tr)ut=He-tr,He-ut>0&&2>He-ut?(fe.window[He++]=fe.window[ut++],fe.window[He++]=fe.window[ut++],Ye-=2):(fe.window.set(fe.window.subarray(ut,ut+2),He),He+=2,ut+=2,Ye-=2);else{ut=He-tr;do ut+=fe.end;while(ut<0);if(ue=fe.end-ut,Ye>ue){if(Ye-=ue,He-ut>0&&ue>He-ut)do fe.window[He++]=fe.window[ut++];while(--ue!=0);else fe.window.set(fe.window.subarray(ut,ut+ue),He),He+=ue,ut+=ue,ue=0;ut=0}}if(He-ut>0&&Ye>He-ut)do fe.window[He++]=fe.window[ut++];while(--Ye!=0);else fe.window.set(fe.window.subarray(ut,ut+Ye),He),He+=Ye,ut+=Ye,Ye=0;break}if(64&ue)return q.msg="invalid distance code",Ye=q.avail_in-tt,Ye=We>>3>3:Ye,tt+=Ye,rt-=Ye,We-=Ye<<3,fe.bitb=xe,fe.bitk=We,q.avail_in=tt,q.total_in+=rt-q.next_in_index,q.next_in_index=rt,fe.write=He,-3;Ce+=qe[at+2],Ce+=xe&F[ue],at=3*(Be+Ce),ue=qe[at]}break}if(64&ue)return 32&ue?(Ye=q.avail_in-tt,Ye=We>>3>3:Ye,tt+=Ye,rt-=Ye,We-=Ye<<3,fe.bitb=xe,fe.bitk=We,q.avail_in=tt,q.total_in+=rt-q.next_in_index,q.next_in_index=rt,fe.write=He,1):(q.msg="invalid literal/length code",Ye=q.avail_in-tt,Ye=We>>3>3:Ye,tt+=Ye,rt-=Ye,We-=Ye<<3,fe.bitb=xe,fe.bitk=We,q.avail_in=tt,q.total_in+=rt-q.next_in_index,q.next_in_index=rt,fe.write=He,-3);if(Ce+=qe[at+2],Ce+=xe&F[ue],at=3*(Be+Ce),(ue=qe[at])===0){xe>>=qe[at+1],We-=qe[at+1],fe.window[He++]=qe[at+2],Ze--;break}}else xe>>=qe[at+1],We-=qe[at+1],fe.window[He++]=qe[at+2],Ze--}while(Ze>=258&&tt>=10);return Ye=q.avail_in-tt,Ye=We>>3>3:Ye,tt+=Ye,rt-=Ye,We-=Ye<<3,fe.bitb=xe,fe.bitk=We,q.avail_in=tt,q.total_in+=rt-q.next_in_index,q.next_in_index=rt,fe.write=He,0}b.init=function(I,M,Z,ae,Se,ee){u=0,oe=I,ie=M,E=Z,Pe=ae,B=Se,j=ee,c=null},b.proc=function(I,M,Z){let ae,Se,ee,fe,q,Ce,qe,Be=0,ue=0,xe=0;for(xe=M.next_in_index,fe=M.avail_in,Be=I.bitb,ue=I.bitk,q=I.write,Ce=q=258&&fe>=10&&(I.bitb=Be,I.bitk=ue,M.avail_in=fe,M.total_in+=xe-M.next_in_index,M.next_in_index=xe,I.write=q,Z=de(oe,ie,E,Pe,B,j,I,M),xe=M.next_in_index,fe=M.avail_in,Be=I.bitb,ue=I.bitk,q=I.write,Ce=q>>=c[Se+1],ue-=c[Se+1],ee=c[Se],ee===0){$=c[Se+2],u=6;break}if(16&ee){D=15&ee,h=c[Se+2],u=2;break}if(!(64&ee)){R=ee,y=Se/3+c[Se+2];break}if(32&ee){u=7;break}return u=9,M.msg="invalid literal/length code",Z=-3,I.bitb=Be,I.bitk=ue,M.avail_in=fe,M.total_in+=xe-M.next_in_index,M.next_in_index=xe,I.write=q,I.inflate_flush(M,Z);case 2:for(ae=D;ue>=ae,ue-=ae,R=ie,c=B,y=j,u=3;case 3:for(ae=R;ue>=c[Se+1],ue-=c[Se+1],ee=c[Se],(16&ee)!=0){D=15&ee,W=c[Se+2],u=4;break}if(!(64&ee)){R=ee,y=Se/3+c[Se+2];break}return u=9,M.msg="invalid distance code",Z=-3,I.bitb=Be,I.bitk=ue,M.avail_in=fe,M.total_in+=xe-M.next_in_index,M.next_in_index=xe,I.write=q,I.inflate_flush(M,Z);case 4:for(ae=D;ue>=ae,ue-=ae,u=5;case 5:for(qe=q-W;qe<0;)qe+=I.end;for(;h!==0;){if(Ce===0&&(q==I.end&&I.read!==0&&(q=0,Ce=q7&&(ue-=8,fe++,xe--),I.write=q,Z=I.inflate_flush(M,Z),q=I.write,Ce=qj.avail_out&&(I=j.avail_out),I!==0&&de==-5&&(de=0),j.avail_out-=I,j.total_out+=I,j.next_out.set(c.window.subarray(Z,Z+I),M),M+=I,Z+=I,Z==c.end&&(Z=0,c.write==c.end&&(c.write=0),I=c.write-Z,I>j.avail_out&&(I=j.avail_out),I!==0&&de==-5&&(de=0),j.avail_out-=I,j.total_out+=I,j.next_out.set(c.window.subarray(Z,Z+I),M),M+=I,Z+=I),j.next_out_index=M,c.read=Z,de},c.proc=function(j,de){let I,M,Z,ae,Se,ee,fe,q;for(ae=j.next_in_index,Se=j.avail_in,M=c.bitb,Z=c.bitk,ee=c.write,fe=ee>>1){case 0:M>>>=3,Z-=3,I=7&Z,M>>>=I,Z-=I,B=1;break;case 1:Ce=[],qe=[],Be=[[]],ue=[[]],we.inflate_trees_fixed(Ce,qe,Be,ue),W.init(Ce[0],qe[0],Be[0],0,ue[0],0),M>>>=3,Z-=3,B=6;break;case 2:M>>>=3,Z-=3,B=3;break;case 3:return M>>>=3,Z-=3,B=9,j.msg="invalid block type",de=-3,c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de)}break;case 1:for(;Z<32;){if(Se===0)return c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);de=0,Se--,M|=(255&j.read_byte(ae++))<>>16&65535)!=(65535&M))return B=9,j.msg="invalid stored block lengths",de=-3,c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);h=65535&M,M=Z=0,B=h!==0?2:oe!==0?7:0;break;case 2:if(Se===0||fe===0&&(ee==c.end&&c.read!==0&&(ee=0,fe=eeSe&&(I=Se),I>fe&&(I=fe),c.window.set(j.read_buf(ae,I),ee),ae+=I,Se-=I,ee+=I,fe-=I,(h-=I)!=0)break;B=oe!==0?7:0;break;case 3:for(;Z<14;){if(Se===0)return c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);de=0,Se--,M|=(255&j.read_byte(ae++))<29||(I>>5&31)>29)return B=9,j.msg="too many length or distance symbols",de=-3,c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);if(I=258+(31&I)+(I>>5&31),!E||E.length>>=14,Z-=14,R=0,B=4;case 4:for(;R<4+(y>>>10);){for(;Z<3;){if(Se===0)return c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);de=0,Se--,M|=(255&j.read_byte(ae++))<>>=3,Z-=3}for(;R<19;)E[Fe[R++]]=0;if($[0]=7,I=Pe.inflate_trees_bits(E,$,D,ie,j),I!=0)return(de=I)==-3&&(E=null,B=9),c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);R=0,B=5;case 5:for(;I=y,!(R>=258+(31&I)+(I>>5&31));){let He,Ze;for(I=$[0];Z>>=I,Z-=I,E[R++]=Ze;else{for(q=Ze==18?7:Ze-14,He=Ze==18?11:3;Z>>=I,Z-=I,He+=M&F[q],M>>>=q,Z-=q,q=R,I=y,q+He>258+(31&I)+(I>>5&31)||Ze==16&&q<1)return E=null,B=9,j.msg="invalid bit length repeat",de=-3,c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);Ze=Ze==16?E[q-1]:0;do E[q++]=Ze;while(--He!=0);R=q}}if(D[0]=-1,xe=[],We=[],rt=[],tt=[],xe[0]=9,We[0]=6,I=y,I=Pe.inflate_trees_dynamic(257+(31&I),1+(I>>5&31),E,xe,We,rt,tt,ie,j),I!=0)return I==-3&&(E=null,B=9),de=I,c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,c.inflate_flush(j,de);W.init(xe[0],We[0],ie,rt[0],ie,tt[0]),B=6;case 6:if(c.bitb=M,c.bitk=Z,j.avail_in=Se,j.total_in+=ae-j.next_in_index,j.next_in_index=ae,c.write=ee,(de=W.proc(c,j,de))!=1)return c.inflate_flush(j,de);if(de=0,W.free(j),ae=j.next_in_index,Se=j.avail_in,M=c.bitb,Z=c.bitk,ee=c.write,fe=ee15?(b.inflateEnd(c),-2):(b.wbits=E,c.istate.blocks=new Ke(c,1<>4)>y.wbits){y.mode=13,c.msg="invalid window size",y.marker=5;break}y.mode=1;case 1:if(c.avail_in===0)return B;if(B=E,c.avail_in--,c.total_in++,h=255&c.read_byte(c.next_in_index++),((y.method<<8)+h)%31!=0){y.mode=13,c.msg="incorrect header check",y.marker=5;break}if(!(32&h)){y.mode=7;break}y.mode=2;case 2:if(c.avail_in===0)return B;B=E,c.avail_in--,c.total_in++,y.need=(255&c.read_byte(c.next_in_index++))<<24&4278190080,y.mode=3;case 3:if(c.avail_in===0)return B;B=E,c.avail_in--,c.total_in++,y.need+=(255&c.read_byte(c.next_in_index++))<<16&16711680,y.mode=4;case 4:if(c.avail_in===0)return B;B=E,c.avail_in--,c.total_in++,y.need+=(255&c.read_byte(c.next_in_index++))<<8&65280,y.mode=5;case 5:return c.avail_in===0?B:(B=E,c.avail_in--,c.total_in++,y.need+=255&c.read_byte(c.next_in_index++),y.mode=6,2);case 6:return y.mode=13,c.msg="need dictionary",y.marker=0,-2;case 7:if(B=y.blocks.proc(c,B),B==-3){y.mode=13,y.marker=0;break}if(B==0&&(B=E),B!=1)return B;B=E,y.blocks.reset(c,y.was),y.mode=12;case 12:return 1;case 13:return-3;default:return-2}},b.inflateSetDictionary=function(c,E,B){let h=0,y=B;if(!c||!c.istate||c.istate.mode!=6)return-2;const R=c.istate;return y>=1<0&&u.next_in_index!=W&&(y(u.next_in_index),W=u.next_in_index)}while(u.avail_in>0||u.avail_out===0);return R.length>1?(D=new Uint8Array(ie),R.forEach(function(Pe){D.set(Pe,oe),oe+=Pe.length})):D=R[0]||new Uint8Array(0),D}},this.flush=function(){u.inflateEnd()}}st.prototype={inflateInit:function(b){const u=this;return u.istate=new nt,b||(b=15),u.istate.inflateInit(u,b)},inflate:function(b){const u=this;return u.istate?u.istate.inflate(u,b):-2},inflateEnd:function(){const b=this;if(!b.istate)return-2;const u=b.istate.inflateEnd(b);return b.istate=null,u},inflateSync:function(){const b=this;return b.istate?b.istate.inflateSync(b):-2},inflateSetDictionary:function(b,u){const c=this;return c.istate?c.istate.inflateSetDictionary(c,b,u):-2},read_byte:function(b){return this.next_in[b]},read_buf:function(b,u){return this.next_in.subarray(b,b+u)}},self.initCodec=()=>{self.Deflate=ne,self.Inflate=St}}).toString(),t=URL.createObjectURL(new Blob(["("+e+")()"],{type:"text/javascript"}));nc({workerScripts:{inflate:[t],deflate:[t]}})}};const If="text/plain";class Mp{constructor(){this.size=0}init(){this.initialized=!0}}class Ay extends Mp{}class Dp extends Mp{writeUint8Array(t){this.size+=t.length}}class Py extends Dp{constructor(t){super(),this.encoding=t,this.blob=new Blob([],{type:If})}async writeUint8Array(t){super.writeUint8Array(t),this.blob=new Blob([this.blob,t.buffer],{type:If})}getData(){const t=new FileReader;return new Promise((n,r)=>{t.onload=o=>n(o.target.result),t.onerror=r,t.readAsText(this.blob,this.encoding)})}}class Bf extends Ay{constructor(t){super(),this.blob=t,this.size=t.size}async readUint8Array(t,n){const r=new FileReader;return new Promise((o,i)=>{r.onload=s=>o(new Uint8Array(s.target.result)),r.onerror=i,r.readAsArrayBuffer(this.blob.slice(t,t+n))})}}class pl extends Dp{constructor(t){super(),this.offset=0,this.contentType=t,this.blob=new Blob([],{type:t})}async writeUint8Array(t){super.writeUint8Array(t),this.blob=new Blob([this.blob,t.buffer],{type:this.contentType}),this.offset=this.blob.size}getData(){return this.blob}}const hl=4294967295,Lf=65535,Oy=8,Iy=0,By=99,Ly=67324752,Ff=33639248,Fy=101010256,Mf=101075792,My=117853008,Df=22,Ra=20,$a=56,Dy=1,zy=39169,Hy=28789,jy=25461,zf=1,Uy=6,Hf=8,jf=2048,Uf=16,Ny="/",Wy="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ".split("");var Vy=e=>{let t="";for(let n=0;n>>1^3988292384:t=t>>>1;zp[e]=t}class Si{constructor(t){this.crc=t||-1}append(t){let n=this.crc|0;for(let r=0,o=t.length|0;r>>8^zp[(n^t[r])&255];this.crc=n}get(){return~this.crc}}const tn={concat(e,t){if(e.length===0||t.length===0)return e.concat(t);const n=e[e.length-1],r=tn.getPartial(n);return r===32?e.concat(t):tn._shiftRight(t,r,n|0,e.slice(0,e.length-1))},bitLength(e){const t=e.length;if(t===0)return 0;const n=e[t-1];return(t-1)*32+tn.getPartial(n)},clamp(e,t){if(e.length*320&&t&&(e[n-1]=tn.partial(t,e[n-1]&2147483648>>t-1,1)),e},partial(e,t,n){return e===32?t:(n?t|0:t<<32-e)+e*1099511627776},getPartial(e){return Math.round(e/1099511627776)||32},_shiftRight(e,t,n,r){for(r===void 0&&(r=[]);t>=32;t-=32)r.push(n),n=0;if(t===0)return r.concat(e);for(let s=0;s>>t),n=e[s]<<32-t;const o=e.length?e[e.length-1]:0,i=tn.getPartial(o);return r.push(tn.partial(t+i&31,t+i>32?n:r.pop(),1)),r}},Hp={bytes:{fromBits(e){const n=tn.bitLength(e)/8,r=new Uint8Array(n);let o;for(let i=0;i>>24,o<<=8;return r},toBits(e){const t=[];let n,r=0;for(n=0;n9007199254740991)throw new Error("Cannot hash more than 2^53 - 1 bits");const i=new Uint32Array(n);let s=0;for(let a=t.blockSize+r-(t.blockSize+r&t.blockSize-1);a<=o;a+=t.blockSize)t._block(i.subarray(16*s,16*(s+1))),s+=1;return n.splice(0,16*s),t},finalize:function(){const e=this;let t=e._buffer;const n=e._h;t=tn.concat(t,[tn.partial(1,1)]);for(let r=t.length+2;r&15;r++)t.push(0);for(t.push(Math.floor(e._length/4294967296)),t.push(e._length|0);t.length;)e._block(t.splice(0,16));return e.reset(),n},_init:[1732584193,4023233417,2562383102,271733878,3285377520],_key:[1518500249,1859775393,2400959708,3395469782],_f:function(e,t,n,r){if(e<=19)return t&n|~t&r;if(e<=39)return t^n^r;if(e<=59)return t&n|t&r|n&r;if(e<=79)return t^n^r},_S:function(e,t){return t<>>32-e},_block:function(e){const t=this,n=t._h,r=Array(80);for(let d=0;d<16;d++)r[d]=e[d];let o=n[0],i=n[1],s=n[2],a=n[3],l=n[4];for(let d=0;d<=79;d++){d>=16&&(r[d]=t._S(1,r[d-3]^r[d-8]^r[d-14]^r[d-16]));const f=t._S(5,o)+t._f(d,i,s,a)+l+r[d]+t._key[Math.floor(d/20)]|0;l=a,a=s,s=t._S(30,i),i=o,o=f}n[0]=n[0]+o|0,n[1]=n[1]+i|0,n[2]=n[2]+s|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0}};const jp={};jp.aes=class{constructor(e){const t=this;t._tables=[[[],[],[],[],[]],[[],[],[],[],[]]],t._tables[0][0][0]||t._precompute();const n=t._tables[0][4],r=t._tables[1],o=e.length;let i,s,a,l=1;if(o!==4&&o!==6&&o!==8)throw new Error("invalid aes key size");for(t._key=[s=e.slice(0),a=[]],i=o;i<4*o+28;i++){let d=s[i-1];(i%o===0||o===8&&i%o===4)&&(d=n[d>>>24]<<24^n[d>>16&255]<<16^n[d>>8&255]<<8^n[d&255],i%o===0&&(d=d<<8^d>>>24^l<<24,l=l<<1^(l>>7)*283)),s[i]=s[i-o]^d}for(let d=0;i;d++,i--){const f=s[d&3?i:i-4];i<=4||d<4?a[d]=f:a[d]=r[0][n[f>>>24]]^r[1][n[f>>16&255]]^r[2][n[f>>8&255]]^r[3][n[f&255]]}}encrypt(e){return this._crypt(e,0)}decrypt(e){return this._crypt(e,1)}_precompute(){const e=this._tables[0],t=this._tables[1],n=e[4],r=t[4],o=[],i=[];let s,a,l,d;for(let f=0;f<256;f++)i[(o[f]=f<<1^(f>>7)*283)^f]=f;for(let f=s=0;!n[f];f^=a||1,s=i[s]||1){let m=s^s<<1^s<<2^s<<3^s<<4;m=m>>8^m&255^99,n[f]=m,r[m]=f,d=o[l=o[a=o[f]]];let v=d*16843009^l*65537^a*257^f*16843008,k=o[m]*257^m*16843008;for(let T=0;T<4;T++)e[T][f]=k=k<<24^k>>>8,t[T][m]=v=v<<24^v>>>8}for(let f=0;f<5;f++)e[f]=e[f].slice(0),t[f]=t[f].slice(0)}_crypt(e,t){if(e.length!==4)throw new Error("invalid aes block size");const n=this._key[t],r=n.length/4-2,o=[0,0,0,0],i=this._tables[t],s=i[0],a=i[1],l=i[2],d=i[3],f=i[4];let m=e[0]^n[0],v=e[t?3:1]^n[1],k=e[2]^n[2],T=e[t?1:3]^n[3],x=4,p,g,w;for(let L=0;L>>24]^a[v>>16&255]^l[k>>8&255]^d[T&255]^n[x],g=s[v>>>24]^a[k>>16&255]^l[T>>8&255]^d[m&255]^n[x+1],w=s[k>>>24]^a[T>>16&255]^l[m>>8&255]^d[v&255]^n[x+2],T=s[T>>>24]^a[m>>16&255]^l[v>>8&255]^d[k&255]^n[x+3],x+=4,m=p,v=g,k=w;for(let L=0;L<4;L++)o[t?3&-L:L]=f[m>>>24]<<24^f[v>>16&255]<<16^f[k>>8&255]<<8^f[T&255]^n[x++],p=m,m=v,v=k,k=T,T=p;return o}};const Up={};Up.ctrGladman=class{constructor(e,t){this._prf=e,this._initIv=t,this._iv=t}reset(){this._iv=this._initIv}update(e){return this.calculate(this._prf,e,this._iv)}incWord(e){if((e>>24&255)===255){let t=e>>16&255,n=e>>8&255,r=e&255;t===255?(t=0,n===255?(n=0,r===255?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}incCounter(e){(e[0]=this.incWord(e[0]))===0&&(e[1]=this.incWord(e[1]))}calculate(e,t,n){let r;if(!(r=t.length))return[];const o=tn.bitLength(t);for(let i=0;io&&(e=n.hash(e));for(let i=0;ie.length){const n=e;e=new Uint8Array(t),e.set(n,0)}return e}function ln(e,t,n){return e.subarray(t,n)}const go=12;class rw{constructor(t,n){const r=this;Object.assign(r,{password:t,passwordVerification:n}),Jp(r,t)}async append(t){const n=this;if(n.password){const r=Wf(n,t.subarray(0,go));if(n.password=null,r[go-1]!=n.passwordVerification)throw new Error(Wp);t=t.subarray(go)}return Wf(n,t)}async flush(){return{valid:!0,data:new Uint8Array(0)}}}class ow{constructor(t,n){const r=this;Object.assign(r,{password:t,passwordVerification:n}),Jp(r,t)}async append(t){const n=this;let r,o;if(n.password){n.password=null;const i=crypto.getRandomValues(new Uint8Array(go));i[go-1]=n.passwordVerification,r=new Uint8Array(t.length+i.length),r.set(Vf(n,i),0),o=go}else r=new Uint8Array(t.length),o=0;return r.set(Vf(n,t),o),r}async flush(){return{data:new Uint8Array(0)}}}function Wf(e,t){const n=new Uint8Array(t.length);for(let r=0;r>>24]),e.keys[2]=~e.crcKey2.get()}function Qp(e){const t=e.keys[2]|2;return eh(Math.imul(t,t^1)>>>8)}function eh(e){return e&255}function qf(e){return e&4294967295}const iw="deflate",th="inflate",Gf="Invalid signature";class sw{constructor(t,{signature:n,password:r,signed:o,compressed:i,zipCrypto:s,passwordVerification:a,encryptionStrength:l},{chunkSize:d}){const f=!!r;Object.assign(this,{signature:n,encrypted:f,signed:o,compressed:i,inflate:i&&new t({chunkSize:d}),crc32:o&&new Si,zipCrypto:s,decrypt:f&&s?new rw(r,a):new Jy(r,o,l)})}async append(t){const n=this;return n.encrypted&&t.length&&(t=await n.decrypt.append(t)),n.compressed&&t.length&&(t=await n.inflate.append(t)),(!n.encrypted||n.zipCrypto)&&n.signed&&t.length&&n.crc32.append(t),t}async flush(){const t=this;let n,r=new Uint8Array(0);if(t.encrypted){const o=await t.decrypt.flush();if(!o.valid)throw new Error(Gf);r=o.data}if((!t.encrypted||t.zipCrypto)&&t.signed){const o=new DataView(new Uint8Array(4).buffer);if(n=t.crc32.get(),o.setUint32(0,n),t.cipher!=o.getUint32(0,!1))throw new Error(Gf)}return t.compressed&&(r=await t.inflate.append(r)||new Uint8Array(0),await t.inflate.flush()),{data:r,signature:n}}}class aw{constructor(t,{encrypted:n,signed:r,compressed:o,level:i,zipCrypto:s,password:a,passwordVerification:l,encryptionStrength:d},{chunkSize:f}){Object.assign(this,{encrypted:n,signed:r,compressed:o,deflate:o&&new t({level:i||5,chunkSize:f}),crc32:r&&new Si,zipCrypto:s,encrypt:n&&s?new ow(a,l):new Qy(a,d)})}async append(t){const n=this;let r=t;return n.compressed&&t.length&&(r=await n.deflate.append(t)),n.encrypted&&r.length&&(r=await n.encrypt.append(r)),(!n.encrypted||n.zipCrypto)&&n.signed&&t.length&&n.crc32.append(t),r}async flush(){const t=this;let n,r=new Uint8Array(0);if(t.compressed&&(r=await t.deflate.flush()||new Uint8Array(0)),t.encrypted){r=await t.encrypt.append(r);const o=await t.encrypt.flush();n=o.signature;const i=new Uint8Array(r.length+o.data.length);i.set(r,0),i.set(o.data,r.length),r=i}return(!t.encrypted||t.zipCrypto)&&t.signed&&(n=t.crc32.get()),{data:r,signature:n}}}function lw(e,t,n){if(t.codecType.startsWith(iw))return new aw(e,t,n);if(t.codecType.startsWith(th))return new sw(e,t,n)}const Kf="init",Zf="append",Aa="flush",cw="message";var Pa=(e,t,n,r,o,i,s)=>(Object.assign(e,{busy:!0,codecConstructor:t,options:Object.assign({},n),scripts:s,webWorker:i,onTaskFinished(){e.busy=!1,o(e)&&e.worker&&e.worker.terminate()}}),i?fw(e,r):dw(e,r));function dw(e,t){const n=lw(e.codecConstructor,e.options,t);return{async append(r){try{return await n.append(r)}catch(o){throw e.onTaskFinished(),o}},async flush(){try{return await n.flush()}finally{e.onTaskFinished()}}}}function fw(e,t){let n;return e.interface||(e.worker=new Worker(new URL(e.scripts[0],typeof document>"u"?new(z2("url")).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("fastboot.cjs",document.baseURI).href)),e.worker.addEventListener(cw,i,!1),e.interface={append(s){return r({type:Zf,data:s})},flush(){return r({type:Aa})}}),e.interface;async function r(s){if(!n){const a=e.options,l=e.scripts.slice(1);await o({scripts:l,type:Kf,options:a,config:{chunkSize:t.chunkSize}})}return o(s)}function o(s){const a=e.worker,l=new Promise((d,f)=>n={resolve:d,reject:f});try{if(s.data)try{s.data=s.data.buffer,a.postMessage(s,[s.data])}catch{a.postMessage(s)}else a.postMessage(s)}catch(d){n.reject(d),n=null,e.onTaskFinished()}return l}function i(s){const a=s.data;if(n){const l=a.error,d=a.type;if(l){const f=new Error(l.message);f.stack=l.stack,n.reject(f),n=null,e.onTaskFinished()}else if(d==Kf||d==Aa||d==Zf){const f=a.data;d==Aa?(n.resolve({data:new Uint8Array(f),signature:a.signature}),n=null,e.onTaskFinished()):n.resolve(f&&new Uint8Array(f))}}}}let Yo=[],Oa=[];function uw(e,t,n){const o=!(!t.compressed&&!t.signed&&!t.encrypted)&&(t.useWebWorkers||t.useWebWorkers===void 0&&n.useWebWorkers),i=o&&n.workerScripts?n.workerScripts[t.codecType]:[];if(Yo.length!l.busy);return a?Pa(a,e,t,n,s,o,i):new Promise(l=>Oa.push({resolve:l,codecConstructor:e,options:t,webWorker:o,scripts:i}))}function s(a){const l=!Oa.length;if(l)Yo=Yo.filter(d=>d!=a);else{const[{resolve:d,codecConstructor:f,options:m,webWorker:v,scripts:k}]=Oa.splice(0,1);d(Pa(a,f,m,n,s,v,k))}return l}}const pw=64,hw="Abort error";async function bw(e,t,n,r,o,i,s){const a=Math.max(i.chunkSize,pw);return l();async function l(d=0,f=0){const m=s.signal;if(dthis[n]=t[n])}}const Ba="File format is not recognized",vw="End of central directory not found",xw="End of Zip64 central directory not found",_w="End of Zip64 central directory locator not found",yw="Central directory header not found",ww="Local file header not found",Cw="Zip64 extra field not found",Sw="File contains encrypted entry",kw="Encryption method not supported",Xf="Compression method not supported",Jf="utf-8",Qf=["uncompressedSize","compressedSize","offset"];class eu{constructor(t,n={}){Object.assign(this,{reader:t,options:n,config:Ry()})}async getEntries(t={}){const n=this,r=n.reader;if(r.initialized||await r.init(),r.size=r.size)throw new Error(Ba);let f=0,m=await Or(r,a,r.size-a),v=an(m);const k=o.offset-s;if(Ht(v,f)!=Ff&&a!=k){const x=a;a=k,d=a-x,m=await Or(r,a,r.size-a),v=an(m)}if(a<0||a>=r.size)throw new Error(Ba);const T=[];for(let x=0;xp.getData(_,A),T.push(S),f=C}return T}async close(){}}class Ew{constructor(t,n,r){Object.assign(this,{reader:t,config:n,options:r})}async getData(t,n={}){const r=this,{reader:o,offset:i,extraFieldAES:s,compressionMethod:a,config:l,bitFlag:d,signature:f,rawLastModDate:m,compressedSize:v}=r,k=r.localDirectory={};o.initialized||await o.init();const T=await Or(o,i,30),x=an(T);let p=lo(r,n,"password");if(p=p&&p.length&&p,s&&s.originalCompressionMethod!=By)throw new Error(Xf);if(a!=Iy&&a!=Oy)throw new Error(Xf);if(Ht(x,0)!=Ly)throw new Error(ww);nh(k,x,4);const g=i+30+k.filenameLength,w=g+k.extraFieldLength;k.rawExtraField=T.subarray(g,w),rh(r,k,x,4);const L=r.encrypted&&k.encrypted,P=L&&!s;if(L){if(!P&&s.strength===void 0)throw new Error(kw);if(!p)throw new Error(Sw)}const C=await uw(l.Inflate,{codecType:th,password:p,zipCrypto:P,encryptionStrength:s&&s.strength,signed:lo(r,n,"checkSignature"),passwordVerification:P&&(d.dataDescriptor?m>>>8&255:f>>>24&255),signature:f,compressed:a!=0,encrypted:L,useWebWorkers:lo(r,n,"useWebWorkers")},l);t.initialized||await t.init();const S=lo(r,n,"signal");return await bw(C,o,t,w,v,l,{onprogress:n.onprogress,signal:S}),t.getData()}}function nh(e,t,n){const r=e.rawBitFlag=Dn(t,n+2),o=(r&zf)==zf;Object.assign(e,{encrypted:o,version:Dn(t,n),bitFlag:{level:(r&Uy)>>1,dataDescriptor:(r&Hf)==Hf,languageEncodingFlag:(r&jf)==jf},rawLastModDate:Ht(t,n+6),lastModDate:Aw(e.rawLastModDate),filenameLength:Dn(t,n+22),extraFieldLength:Dn(t,n+24)})}function rh(e,t,n,r){const o=t.rawExtraField,i=t.extraField=new Map,s=an(new Uint8Array(o));let a=0;try{for(;at[o]==hl);for(let o=0;o{if(t[o]==hl)if(e&&e[o]!==void 0)t[o]=e[o];else throw new Error(Cw)})}function tu(e,t,n,r,o){const i=an(e.data);e.version=ci(i,0),e.signature=Ht(i,1);const s=new Si;s.append(o[n]);const a=an(new Uint8Array(4));a.setUint32(0,s.get(),!0),e[t]=new TextDecoder().decode(e.data.subarray(5)),e.valid=!o.bitFlag.languageEncodingFlag&&e.signature==Ht(a,0),e.valid&&(r[t]=e[t],r[t+"UTF8"]=!0)}function Rw(e,t,n){if(e){const r=an(e.data);e.vendorVersion=ci(r,0),e.vendorId=ci(r,2);const o=ci(r,4);e.strength=o,e.originalCompressionMethod=n,t.compressionMethod=e.compressionMethod=Dn(r,5)}else t.compressionMethod=n}async function $w(e,t,n,r,o){const i=new Uint8Array(4),s=an(i);Pw(s,0,t);const a=r+o;return await l(r)||await l(Math.min(a,n));async function l(d){const f=n-d,m=await Or(e,f,d);for(let v=m.length-r;v>=0;v--)if(m[v]==i[0]&&m[v+1]==i[1]&&m[v+2]==i[2]&&m[v+3]==i[3])return{offset:f+v,buffer:m.slice(v,v+r).buffer}}}function lo(e,t,n){return t[n]===void 0?e.options[n]:t[n]}function nu(e,t){return!t||t.trim().toLowerCase()=="cp437"?Vy(e):new TextDecoder(t).decode(e)}function Aw(e){const t=(e&4294901760)>>16,n=e&65535;try{return new Date(1980+((t&65024)>>9),((t&480)>>5)-1,t&31,(n&63488)>>11,(n&2016)>>5,(n&31)*2,0)}catch{}}function ci(e,t){return e.getUint8(t)}function Dn(e,t){return e.getUint16(t,!0)}function Ht(e,t){return e.getUint32(t,!0)}function bs(e,t){return Number(e.getBigUint64(t,!0))}function Pw(e,t,n){e.setUint32(t,n,!0)}function an(e){return new DataView(e.buffer)}function Or(e,t,n){return e.readUint8Array(t,n)}$y();nc({Deflate:sy,Inflate:Ey});const oh=["boot","dt","dtbo","init_boot","pvmfw","recovery","vbmeta_system","vbmeta_vendor","vbmeta","vendor_boot","vendor_kernel_boot"],ih=["odm","odm_dlkm","product","system_ext","system","vendor_dlkm","vendor"],Ow={load:"Loading",unpack:"Unpacking",flash:"Writing",wipe:"Wiping",reboot:"Restarting"},La=4e3,Iw=16e3,Bw=1e3;async function ms(e,t,n){try{return await e.getData(t,n)}catch(r){throw r instanceof ProgressEvent&&r.type==="error"&&r.target!==null?r.target.error:r}}async function sh(e,t,n,r){mt(`Unpacking ${r}`),n("unpack",r,0);let o=await ms(t,new pl("application/octet-stream"),{onprogress:(i,s)=>{n("unpack",r,i/s)}});mt(`Flashing ${r}`),n("flash",r,0),await e.flashBlob(r,o,i=>{n("flash",r,i)})}async function as(e,t,n,r){for(let o of r){let i=new RegExp(`${o}(?:-.+)?\\.img$`),s=t.find(a=>a.filename.match(i));s!==void 0&&await sh(e,s,n,o)}}async function Lw(e,t){for(let n of t.replace("\r","").split(` `)){let r=n.match(/^require\s+(.+?)=(.+)$/);if(!r)continue;let o=r[1];o==="board"&&(o="product");let i=r[2],s=i.split("|");if(o==="partition-exists"){let a=await e.getVariable(`has-slot:${i}`);if(a!=="yes"&&a!=="no")throw new Vn("FAIL",`Requirement ${o}=${i} failed, device lacks partition`);if(!oh.includes(i)&&!ih.includes(i))throw new Vn("FAIL",`Requirement ${o}=${i} failed, unrecognized partition`)}else{let a=await e.getVariable(o);if(s.includes(a))mt(`Requirement ${o}=${i} passed`);else{let l=`Requirement ${o}=${i} failed, value = ${a}`;throw mt(l),new Vn("FAIL",l)}}}}async function ru(e,t,n){try{await e.reboot(t,!1)}catch{}await e.waitForConnect(n)}async function Fw(e,t,n,r,o=(i,s,a)=>{}){o("load","package",0);let s=await new eu(new Bf(t)).getEntries();await e.getVariable("is-userspace")==="yes"&&await e.reboot("bootloader",!0,r),await as(e,s,o,["bootloader"]),await No(o,"reboot","device",La,ru(e,"bootloader",r)),await as(e,s,o,["radio"]),await No(o,"reboot","device",La,ru(e,"bootloader",r));let a=await e.getVariable("snapshot-update-status");a!==null&&a!=="none"&&await e.runCommand("snapshot-update:cancel"),mt("Loading nested images from zip"),o("unpack","images",0);let l=s.find(v=>v.filename.match(/image-.+\.zip$/)),d=await ms(l,new pl("application/zip"),{onprogress:(v,k)=>{o("unpack","images",v/k)}}),m=await new eu(new Bf(d)).getEntries();if(l=m.find(v=>v.filename==="android-info.txt"),l!==void 0){let v=await ms(l,new Py);await Lw(e,v)}if(await as(e,m,o,oh),l=m.find(v=>v.filename==="super_empty.img"),l!==void 0){await No(o,"reboot","device",Iw,e.reboot("fastboot",!0,r));let v=await e.getVariable("super-partition-name");v||(v="super");let k=n?"wipe":"flash";o(k,"super",0);let T=await ms(l,new pl("application/octet-stream"));await e.upload(v,await hr(T),x=>{o(k,"super",x)}),await e.runCommand(`update-super:${v}${n?":wipe":""}`)}await as(e,m,o,ih),await e.getVariable("is-userspace")==="yes"&&await No(o,"reboot","device",La,e.reboot("bootloader",!0,r)),l=s.find(v=>v.filename.endsWith("avb_pkmd.bin")),l!==void 0&&(await e.runCommand("erase:avb_custom_key"),await sh(e,l,o,"avb_custom_key")),n&&await No(o,"wipe","data",Bw,e.runCommand("erase:userdata"))}const Mw=255,Dw=66,zw=3,ou=16384,Hw=512*1024*1024,jw=1024*1024*1024,Uw=1e4;class so extends Error{constructor(t){super(t),this.name="UsbError"}}class Vn extends Error{constructor(t,n){super(`Bootloader replied with ${t}: ${n}`),this.status=t,this.bootloaderMessage=n,this.name="FastbootError"}}class Nw{constructor(){this.device=null,this.epIn=null,this.epOut=null,this._registeredUsbListeners=!1,this._connectResolve=null,this._connectReject=null,this._disconnectResolve=null}get isConnected(){return this.device!==null&&this.device.opened&&this.device.configurations[0].interfaces[0].claimed}async _validateAndConnectDevice(){if(this.device===null)throw new so("Attempted to connect to null device");let t=this.device.configurations[0].interfaces[0].alternates[0];if(t.endpoints.length!==2)throw new so("Interface has wrong number of endpoints");this.epIn=null,this.epOut=null;for(let n of t.endpoints){if(Mr("Checking endpoint:",n),n.type!=="bulk")throw new so("Interface endpoint is not bulk");if(n.direction==="in")if(this.epIn===null)this.epIn=n.endpointNumber;else throw new so("Interface has multiple IN endpoints");else if(n.direction==="out")if(this.epOut===null)this.epOut=n.endpointNumber;else throw new so("Interface has multiple OUT endpoints")}Mr("Endpoints: in =",this.epIn,", out =",this.epOut);try{await this.device.open();try{await this.device.reset()}catch{}await this.device.selectConfiguration(1),await this.device.claimInterface(0)}catch(n){throw this._connectReject!==null&&(this._connectReject(n),this._connectResolve=null,this._connectReject=null),n}this._connectResolve!==null&&(this._connectResolve(void 0),this._connectResolve=null,this._connectReject=null)}async waitForDisconnect(){if(this.device!==null)return await new Promise((t,n)=>{this._disconnectResolve=t})}async waitForConnect(t=()=>{}){return navigator.userAgent.includes("Android")&&(await this.waitForDisconnect(),t()),await new Promise((n,r)=>{this._connectResolve=n,this._connectReject=r})}async connect(){let t=await navigator.usb.getDevices();mt("Found paired USB devices:",t),t.length===1?this.device=t[0]:(mt("No or multiple paired devices are connected, requesting one"),this.device=await navigator.usb.requestDevice({filters:[{classCode:Mw,subclassCode:Dw,protocolCode:zw}]})),mt("Using USB device:",this.device),this._registeredUsbListeners||(navigator.usb.addEventListener("disconnect",n=>{n.device===this.device&&(mt("USB device disconnected"),this._disconnectResolve!==null&&(this._disconnectResolve(void 0),this._disconnectResolve=null))}),navigator.usb.addEventListener("connect",async n=>{mt("USB device connected"),this.device=n.device;let r=this._connectReject!==null;try{await this._validateAndConnectDevice()}catch(o){if(!r)throw o}}),this._registeredUsbListeners=!0),await this._validateAndConnectDevice()}async _readResponse(){let t={text:""},n;do{let r=await this.device.transferIn(this.epIn,64),o=new TextDecoder().decode(r.data);n=o.substring(0,4);let i=o.substring(4);if(mt(`Response: ${n} ${i}`),n==="OKAY")t.text+=i;else if(n==="INFO")t.text+=i+` -`;else if(n==="DATA")t.dataSize=i;else throw new Vn(n,i)}while(n==="INFO");return t}async runCommand(t){if(t.length>64)throw new RangeError;let n=new TextEncoder().encode(t);return await this.device.transferOut(this.epOut,n),mt("Command:",t),this._readResponse()}async getVariable(t){let n;try{n=(await U2(this.runCommand(`getvar:${t}`),Uw)).text}catch(r){if(r instanceof Vn&&r.status=="FAIL")n=null;else throw r}return n?n.trim():null}async _getDownloadSize(){try{let t=(await this.getVariable("max-download-size")).toLowerCase();if(t)return Math.min(parseInt(t,16),jw)}catch{}return Hw}async _sendRawPayload(t,n){let r=0,o=t.byteLength;for(;o>0;){let i=t.slice(r*ou,(r+1)*ou);r%1e3===0&&Mr(` Sending ${i.byteLength} bytes to endpoint, ${o} remaining, i=${r}`),r%10===0&&n((t.byteLength-o)/t.byteLength),await this.device.transferOut(this.epOut,i),o-=i.byteLength,r+=1}n(1)}async upload(t,n,r=o=>{}){mt(`Uploading single sparse to ${t}: ${n.byteLength} bytes`);let o=n.byteLength.toString(16).padStart(8,"0");if(o.length!==8)throw new Vn("FAIL",`Transfer size overflow: ${o} is more than 8 digits`);let i=await this.runCommand(`download:${o}`);if(i.dataSize===void 0)throw new Vn("FAIL",`Unexpected response to download command: ${i.text}`);if(parseInt(i.dataSize,16)!==n.byteLength)throw new Vn("FAIL",`Bootloader wants ${n.byteLength} bytes, requested to send ${n.byteLength} bytes`);mt(`Sending payload: ${n.byteLength} bytes`),await this._sendRawPayload(n,r),mt("Payload sent, waiting for response..."),await this._readResponse()}async reboot(t="",n=!1,r=()=>{}){t.length>0?await this.runCommand(`reboot-${t}`):await this.runCommand("reboot"),n&&await this.waitForConnect(r)}async flashBlob(t,n,r=o=>{}){await this.getVariable(`has-slot:${t}`)==="yes"&&(t+="_"+await this.getVariable("current-slot"));let o=await this._getDownloadSize(),i=await hr(n.slice(0,Gr)),s=n.size,a=!1;try{let f=$p(i);f!==null&&(s=f.blocks*f.blockSize,a=!0)}catch{}if(await this.getVariable(`is-logical:${t}`)==="yes"&&(await this.runCommand(`resize-logical-partition:${t}:0`),await this.runCommand(`resize-logical-partition:${t}:${s}`)),n.size>o&&!a){mt(`${t} image is raw, converting to sparse`);let f=await hr(n),m=q2(f);n=new Blob([m])}mt(`Flashing ${n.size} bytes to ${t}, ${o} bytes per split`);let l=0,d=0;for await(let f of G2(n,o))await this.upload(t,f.data,m=>{r((d+m*f.bytes)/s)}),mt("Flashing payload..."),await this.runCommand(`flash:${t}`),l+=1,d+=f.bytes;mt(`Flashed ${t} with ${l} split(s)`)}async bootBlob(t,n=r=>{}){mt(`Booting ${t.size} bytes image`);let r=await hr(t);await this.upload("boot.img",r,n),mt("Booting payload..."),await this.runCommand("boot"),mt(`Booted ${t.size} bytes image`)}async flashFactoryZip(t,n,r,o=i=>{}){return await Fw(this,t,n,r,o)}}var Ww=yr.FastbootDevice=Nw;yr.FastbootError=Vn;yr.TimeoutError=kp;yr.USER_ACTION_MAP=Ow;yr.UsbError=so;yr.configureZip=nc;yr.setDebugLevel=H2;const Jn=e=>(db("data-v-7baa6c1a"),e=e(),fb(),e),Vw=Jn(()=>Et("div",{class:"text-xl"}," 未连接设备 ",-1)),qw=Jn(()=>Et("div",{class:"text-md opacity-80 mb-4"}," 使用线缆将Fastboot模式下的设备连接到该设备, 点击连接. ",-1)),Gw={key:0,class:"mb-4"},Kw=Jn(()=>Et("div",{class:"text-lg"},"找不到想要连接的设备?",-1)),Zw=Jn(()=>Et("div",{class:"opacity-80"},[Zt("确保线缆连接稳固."),Et("br"),Zt(" Windows下需要安装驱动才能连接, 请确保安装了兼容的驱动.")],-1)),Yw=[Kw,Zw],Xw=Jn(()=>Et("div",{class:"text-xl"}," 不受支持的浏览器 ",-1)),Jw=Jn(()=>Et("div",{class:"text-md opacity-80 mb-4"},[Zt(" 请尝试使用最新版的Chrome或者Edge."),Et("br"),Zt(" iOS设备不支持通过浏览器访问USB."),Et("br"),Zt(" 不支持Firefox. ")],-1)),Qw={class:"text-xl"},e3={class:"text-sm opacity-80"},t3={class:"text-md opacity-80 mb-4"},n3=Jn(()=>Et("div",{class:"text-xl"}," 未知设备 ",-1)),r3=Jn(()=>Et("div",{class:"text-md opacity-80 mb-4"}," 读取设备信息时出现问题, 部分指令可能不可用 ",-1)),o3=Jn(()=>Et("thead",null,[Et("tr",null,[Et("th",null,"键"),Et("th",null,"值")])],-1)),i3=bt({__name:"index",setup(e){var v;let t=new Ww;const n=Oe(t.isConnected),r=Ei({}),o=g2(),i="usb"in navigator,s=Oe(!1),a=Oe(!1);(v=navigator.usb)==null||v.addEventListener("disconnect",k=>{k.device===t.device&&(n.value=!1)});const l=Oe(!1);async function d(){var k;try{await t.connect()}catch(T){T instanceof Error&&T.message.includes("No device selected")?a.value=!0:o.error({title:"连接失败",type:"error",content:"请检查设备连接, 并重试."});return}s.value=!0;try{(k=await t.getVariable("all"))==null||k.split(` -`).map(T=>T.split(":")).forEach(T=>{r[T[0]]=T[1].trim()}),l.value=!1}catch{l.value=!0}s.value=!1,a.value=!1,n.value=t.isConnected}async function f(){var k;await((k=t.device)==null?void 0:k.close()),n.value=!1}async function m(k){await t.reboot(k),await f()}return(k,T)=>{const x=sl,p=Cp,g=S2,w=mp,L=L2,P=Sp;return kn(),Bl(P,{class:"animated-wrapper",animated:"",value:Bn(n)?"1":"0"},{default:Ot(()=>[dt(p,{name:"0"},{default:Ot(()=>[i?(kn(),cr(Ct,{key:0},[Vw,qw,Bn(a)?(kn(),cr("div",Gw,Yw)):e1("",!0),dt(x,{onClick:d,loading:Bn(s)},{default:Ot(()=>[Zt("连接设备")]),_:1},8,["loading"])],64)):(kn(),cr(Ct,{key:1},[Xw,Jw],64))]),_:1}),dt(p,{name:"1"},{default:Ot(()=>[Bn(l)?(kn(),cr(Ct,{key:1},[n3,r3],64)):(kn(),cr(Ct,{key:0},[Et("div",Qw,[Zt(Mo(Bn(r).product)+" ",1),Et("span",e3,"("+Mo(Bn(r).serialno)+")",1)]),Et("div",t3," Bootloader "+Mo(Bn(r).unlocked==="yes"?"已解锁":"已锁定"),1)],64)),dt(g,{vertical:""},{default:Ot(()=>[dt(w,{title:"设备操作"},{default:Ot(()=>[dt(g,null,{default:Ot(()=>[dt(x,{onClick:T[0]||(T[0]=C=>m())},{default:Ot(()=>[Zt("重启到系统")]),_:1}),dt(x,{onClick:T[1]||(T[1]=C=>m("recovery"))},{default:Ot(()=>[Zt("重启到 Recovery")]),_:1}),dt(x,{onClick:T[2]||(T[2]=C=>m("bootloader"))},{default:Ot(()=>[Zt("重启到 Bootloader")]),_:1}),dt(x,{onClick:f},{default:Ot(()=>[Zt("断开连接")]),_:1})]),_:1})]),_:1}),dt(w,{title:"设备信息"},{default:Ot(()=>[dt(L,{"single-line":!1},{default:Ot(()=>[o3,Et("tbody",null,[(kn(!0),cr(Ct,null,Rb(Object.keys(Bn(r)),C=>(kn(),cr("tr",{key:C},[Et("td",null,Mo(C),1),Et("td",null,Mo(Bn(r)[C]),1)]))),128))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["value"])}}}),ah=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},s3=ah(i3,[["__scopeId","data-v-7baa6c1a"]]),a3={};function l3(e,t){return" 暂未实现 "}const c3=ah(a3,[["render",l3]]),d3={class:"max-w-1280px mx-auto px-4"},f3=bt({__name:"App",setup(e){return(t,n)=>{const r=m2,o=Cp,i=Sp;return kn(),cr("div",d3,[dt(i,{animated:"",type:"line"},{default:Ot(()=>[dt(o,{name:"fastboot",tab:"Fastboot"},{default:Ot(()=>[dt(r,null,{default:Ot(()=>[dt(s3)]),_:1})]),_:1}),dt(o,{name:"adb",tab:"ADB"},{default:Ot(()=>[dt(c3)]),_:1})]),_:1})])}}});z1(f3).mount("#app")});export default u3(); +`;else if(n==="DATA")t.dataSize=i;else throw new Vn(n,i)}while(n==="INFO");return t}async runCommand(t){if(t.length>64)throw new RangeError;let n=new TextEncoder().encode(t);return await this.device.transferOut(this.epOut,n),mt("Command:",t),this._readResponse()}async getVariable(t){let n;try{n=(await U2(this.runCommand(`getvar:${t}`),Uw)).text}catch(r){if(r instanceof Vn&&r.status=="FAIL")n=null;else throw r}return n?n.trim():null}async _getDownloadSize(){try{let t=(await this.getVariable("max-download-size")).toLowerCase();if(t)return Math.min(parseInt(t,16),jw)}catch{}return Hw}async _sendRawPayload(t,n){let r=0,o=t.byteLength;for(;o>0;){let i=t.slice(r*ou,(r+1)*ou);r%1e3===0&&Mr(` Sending ${i.byteLength} bytes to endpoint, ${o} remaining, i=${r}`),r%10===0&&n((t.byteLength-o)/t.byteLength),await this.device.transferOut(this.epOut,i),o-=i.byteLength,r+=1}n(1)}async upload(t,n,r=o=>{}){mt(`Uploading single sparse to ${t}: ${n.byteLength} bytes`);let o=n.byteLength.toString(16).padStart(8,"0");if(o.length!==8)throw new Vn("FAIL",`Transfer size overflow: ${o} is more than 8 digits`);let i=await this.runCommand(`download:${o}`);if(i.dataSize===void 0)throw new Vn("FAIL",`Unexpected response to download command: ${i.text}`);if(parseInt(i.dataSize,16)!==n.byteLength)throw new Vn("FAIL",`Bootloader wants ${n.byteLength} bytes, requested to send ${n.byteLength} bytes`);mt(`Sending payload: ${n.byteLength} bytes`),await this._sendRawPayload(n,r),mt("Payload sent, waiting for response..."),await this._readResponse()}async reboot(t="",n=!1,r=()=>{}){t.length>0?await this.runCommand(`reboot-${t}`):await this.runCommand("reboot"),n&&await this.waitForConnect(r)}async flashBlob(t,n,r=o=>{}){await this.getVariable(`has-slot:${t}`)==="yes"&&(t+="_"+await this.getVariable("current-slot"));let o=await this._getDownloadSize(),i=await hr(n.slice(0,Gr)),s=n.size,a=!1;try{let f=$p(i);f!==null&&(s=f.blocks*f.blockSize,a=!0)}catch{}if(await this.getVariable(`is-logical:${t}`)==="yes"&&(await this.runCommand(`resize-logical-partition:${t}:0`),await this.runCommand(`resize-logical-partition:${t}:${s}`)),n.size>o&&!a){mt(`${t} image is raw, converting to sparse`);let f=await hr(n),m=q2(f);n=new Blob([m])}mt(`Flashing ${n.size} bytes to ${t}, ${o} bytes per split`);let l=0,d=0;for await(let f of G2(n,o))await this.upload(t,f.data,m=>{r((d+m*f.bytes)/s)}),mt("Flashing payload..."),await this.runCommand(`flash:${t}`),l+=1,d+=f.bytes;mt(`Flashed ${t} with ${l} split(s)`)}async bootBlob(t,n=r=>{}){mt(`Booting ${t.size} bytes image`);let r=await hr(t);await this.upload("boot.img",r,n),mt("Booting payload..."),await this.runCommand("boot"),mt(`Booted ${t.size} bytes image`)}async flashFactoryZip(t,n,r,o=i=>{}){return await Fw(this,t,n,r,o)}}var Ww=yr.FastbootDevice=Nw;yr.FastbootError=Vn;yr.TimeoutError=kp;yr.USER_ACTION_MAP=Ow;yr.UsbError=so;yr.configureZip=nc;yr.setDebugLevel=H2;const Jn=e=>(db("data-v-20f0cad7"),e=e(),fb(),e),Vw=Jn(()=>Et("div",{class:"text-xl"}," 未连接设备 ",-1)),qw=Jn(()=>Et("div",{class:"text-md opacity-80 mb-4"}," 使用线缆将Fastboot模式下的设备连接到该设备, 点击连接. ",-1)),Gw={key:0,class:"mb-4"},Kw=Jn(()=>Et("div",{class:"text-lg"},"找不到想要连接的设备?",-1)),Zw=Jn(()=>Et("div",{class:"opacity-80"},[Zt("确保线缆连接稳固."),Et("br"),Zt(" Windows下需要安装驱动才能连接, 请确保安装了兼容的驱动.")],-1)),Yw=[Kw,Zw],Xw=Jn(()=>Et("div",{class:"text-xl"}," 不受支持的浏览器 ",-1)),Jw=Jn(()=>Et("div",{class:"text-md opacity-80 mb-4"},[Zt(" 请尝试使用最新版的Chrome或者Edge."),Et("br"),Zt(" iOS设备不支持通过浏览器访问USB."),Et("br"),Zt(" 不支持Firefox. ")],-1)),Qw={class:"text-xl"},e3={class:"text-sm opacity-80"},t3={class:"text-md opacity-80 mb-4"},n3=Jn(()=>Et("div",{class:"text-xl"}," 未知设备 ",-1)),r3=Jn(()=>Et("div",{class:"text-md opacity-80 mb-4"}," 读取设备信息时出现问题, 部分指令可能不可用 ",-1)),o3=Jn(()=>Et("thead",null,[Et("tr",null,[Et("th",null,"键"),Et("th",null,"值")])],-1)),i3=bt({__name:"index",setup(e){var v;let t=new Ww;const n=Oe(t.isConnected),r=Ei({}),o=g2(),i="usb"in navigator,s=Oe(!1),a=Oe(!1);(v=navigator.usb)==null||v.addEventListener("disconnect",k=>{k.device===t.device&&(n.value=!1)});const l=Oe(!1);async function d(){var k;try{await t.connect()}catch(T){T instanceof Error&&T.message.includes("No device selected")?a.value=!0:o.error({title:"连接失败",type:"error",content:"请检查设备连接, 并重试."});return}s.value=!0;try{(k=await t.getVariable("all"))==null||k.split(` +`).map(T=>T.split(":")).forEach(T=>{r[T[0]]=T[1].trim()}),l.value=!1}catch{l.value=!0}s.value=!1,a.value=!1,n.value=t.isConnected}async function f(){var k;await((k=t.device)==null?void 0:k.close()),n.value=!1}async function m(k){await t.reboot(k),await f()}return(k,T)=>{const x=sl,p=Cp,g=S2,w=mp,L=L2,P=Sp;return kn(),Bl(P,{class:"animated-wrapper",animated:"",value:Bn(n)?"1":"0"},{default:Ot(()=>[dt(p,{name:"0"},{default:Ot(()=>[i?(kn(),cr(Ct,{key:0},[Vw,qw,Bn(a)?(kn(),cr("div",Gw,Yw)):e1("",!0),dt(x,{onClick:d,loading:Bn(s)},{default:Ot(()=>[Zt("连接设备")]),_:1},8,["loading"])],64)):(kn(),cr(Ct,{key:1},[Xw,Jw],64))]),_:1}),dt(p,{name:"1"},{default:Ot(()=>[Bn(l)?(kn(),cr(Ct,{key:1},[n3,r3],64)):(kn(),cr(Ct,{key:0},[Et("div",Qw,[Zt(Mo(Bn(r).product)+" ",1),Et("span",e3,"("+Mo(Bn(r).serialno)+")",1)]),Et("div",t3," Bootloader "+Mo(Bn(r).unlocked==="yes"?"已解锁":"已锁定"),1)],64)),dt(g,{vertical:""},{default:Ot(()=>[dt(w,{title:"设备操作"},{default:Ot(()=>[dt(g,null,{default:Ot(()=>[dt(x,{onClick:T[0]||(T[0]=C=>m())},{default:Ot(()=>[Zt("重启到系统")]),_:1}),dt(x,{onClick:T[1]||(T[1]=C=>m("recovery"))},{default:Ot(()=>[Zt("重启到 Recovery")]),_:1}),dt(x,{onClick:T[2]||(T[2]=C=>m("bootloader"))},{default:Ot(()=>[Zt("重启到 Bootloader")]),_:1}),dt(x,{onClick:f},{default:Ot(()=>[Zt("断开连接")]),_:1})]),_:1})]),_:1}),dt(w,{title:"设备信息"},{default:Ot(()=>[dt(L,{"single-line":!1},{default:Ot(()=>[o3,Et("tbody",null,[(kn(!0),cr(Ct,null,Rb(Object.keys(Bn(r)),C=>(kn(),cr("tr",{key:C},[Et("td",null,Mo(C),1),Et("td",null,Mo(Bn(r)[C]),1)]))),128))])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["value"])}}}),ah=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},s3=ah(i3,[["__scopeId","data-v-20f0cad7"]]),a3={};function l3(e,t){return" 暂未实现 "}const c3=ah(a3,[["render",l3]]),d3={class:"max-w-1280px mx-auto px-4"},f3=bt({__name:"App",setup(e){return(t,n)=>{const r=m2,o=Cp,i=Sp;return kn(),cr("div",d3,[dt(i,{animated:"",type:"line"},{default:Ot(()=>[dt(o,{name:"fastboot",tab:"Fastboot"},{default:Ot(()=>[dt(r,null,{default:Ot(()=>[dt(s3)]),_:1})]),_:1}),dt(o,{name:"adb",tab:"ADB"},{default:Ot(()=>[dt(c3)]),_:1})]),_:1})])}}});z1(f3).mount("#app")});export default u3(); diff --git a/assets/index-suJ-6-Xf.css b/assets/index-w6jxp4DH.css similarity index 97% rename from assets/index-suJ-6-Xf.css rename to assets/index-w6jxp4DH.css index 195436b..0e9d345 100644 --- a/assets/index-suJ-6-Xf.css +++ b/assets/index-w6jxp4DH.css @@ -1 +1 @@ -.animated-wrapper[data-v-7baa6c1a] .n-tabs-nav--top{display:none}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.mx-auto{margin-left:auto;margin-right:auto}.mb-4{margin-bottom:1rem}.max-w-1280px{max-width:1280px}.px-4{padding-left:1rem;padding-right:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-80{opacity:.8} +.animated-wrapper[data-v-20f0cad7] .n-tabs-nav--top{display:none}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.mx-auto{margin-left:auto;margin-right:auto}.mb-4{margin-bottom:1rem}.max-w-1280px{max-width:1280px}.px-4{padding-left:1rem;padding-right:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-80{opacity:.8} diff --git a/index.html b/index.html index 4255e19..4ec4786 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,14 @@ - - - - - - - Android Web Toolbox - - - - -
- - + + + + + + + Android Web Toolbox + + + + +
+ +