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

2 lines
51 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{1054:function(t,e,n){"use strict";var a={};(0,n(140).assign)(a,n(1055),n(1058),n(526)),t.exports=a},1055:function(t,e,n){"use strict";var a=n(1056),i=n(140),r=n(524),s=n(346),o=n(525),h=Object.prototype.toString,l=0,d=-1,f=0,u=8;function _(t){if(!(this instanceof _))return new _(t);this.options=i.assign({level:d,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var n=a.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==l)throw new Error(s[n]);if(e.header&&a.deflateSetHeader(this.strm,e.header),e.dictionary){var c;if(c="string"==typeof e.dictionary?r.string2buf(e.dictionary):"[object ArrayBuffer]"===h.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=a.deflateSetDictionary(this.strm,c))!==l)throw new Error(s[n]);this._dict_set=!0}}function c(t,e){var n=new _(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}_.prototype.push=function(t,e){var n,s,o=this.strm,d=this.options.chunkSize;if(this.ended)return!1;s=e===~~e?e:!0===e?4:0,"string"==typeof t?o.input=r.string2buf(t):"[object ArrayBuffer]"===h.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new i.Buf8(d),o.next_out=0,o.avail_out=d),1!==(n=a.deflate(o,s))&&n!==l)return this.onEnd(n),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(r.buf2binstring(i.shrinkBuf(o.output,o.next_out))):this.onData(i.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&1!==n);return 4===s?(n=a.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):2!==s||(this.onEnd(l),o.avail_out=0,!0)},_.prototype.onData=function(t){this.chunks.push(t)},_.prototype.onEnd=function(t){t===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=_,e.deflate=c,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,c(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,c(t,e)}},1056:function(t,e,n){"use strict";var a,i=n(140),r=n(1057),s=n(522),o=n(523),h=n(346),l=0,d=1,f=3,u=4,_=5,c=0,p=1,g=-2,w=-3,b=-5,m=-1,v=1,k=2,y=3,x=4,z=0,B=2,A=8,S=9,E=15,O=8,Z=286,C=30,N=19,R=2*Z+1,T=15,D=3,I=258,U=I+D+1,L=32,M=42,F=69,j=73,H=91,P=103,K=113,Y=666,X=1,G=2,W=3,q=4,J=3;function V(t,e){return t.msg=h[e],e}function Q(t){return(t<<1)-(t>4?9:0)}function $(t){for(var e=t.length;--e>=0;)t[e]=0}function tt(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(i.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function et(t,e){r._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,tt(t.strm)}function nt(t,e){t.pending_buf[t.pending++]=e}function at(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function it(t,e,n,a){var r=t.avail_in;return r>a&&(r=a),0===r?0:(t.avail_in-=r,i.arraySet(e,t.input,t.next_in,r,n),1===t.state.wrap?t.adler=s(t.adler,e,r,n):2===t.state.wrap&&(t.adler=o(t.adler,e,r,n)),t.next_in+=r,t.total_in+=r,r)}function rt(t,e){var n,a,i=t.max_chain_length,r=t.strstart,s=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-U?t.strstart-(t.w_size-U):0,l=t.window,d=t.w_mask,f=t.prev,u=t.strstart+I,_=l[r+s-1],c=l[r+s];t.prev_length>=t.good_match&&(i>>=2),o>t.lookahead&&(o=t.lookahead);do{if(l[(n=e)+s]===c&&l[n+s-1]===_&&l[n]===l[r]&&l[++n]===l[r+1]){r+=2,n++;do{}while(l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&l[++r]===l[++n]&&r<u);if(a=I-(u-r),r=u-I,a>s){if(t.match_start=e,s=a,a>=o)break;_=l[r+s-1],c=l[r+s]}}}while((e=f[e&d])>h&&0!=--i);return s<=t.lookahead?s:t.lookahead}function st(t){var e,n,a,r,s,o=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=o+(o-U)){i.arraySet(t.window,t.window,o,o,0),t.match_start-=o,t.strstart-=o,t.block_start-=o,e=n=t.hash_size;do{a=t.head[--e],t.head[e]=a>=o?a-o:0}while(--n);e=n=o;do{a=t.prev[--e],t.prev[e]=a>=o?a-o:0}while(--n);r+=o}if(0===t.strm.avail_in)break;if(n=it(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=n,t.lookahead+t.insert>=D)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+D-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,!(t.lookahead+t.insert<D)););}while(t.lookahead<U&&0!==t.strm.avail_in)}function ot(t,e){for(var n,a;;){if(t.lookahead<U){if(st(t),t.lookahead<U&&e===l)return X;if(0===t.lookahead)break}if(n=0,t.lookahead>=D&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-U&&(t.match_length=rt(t,n)),t.match_length>=D)if(a=r._tr_tally(t,t.strstart-t.match_start,t.match_length-D),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=D){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else a=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(a&&(et(t,!1),0===t.strm.avail_out))return X}return t.insert=t.strstart<D-1?t.strstart:D-1,e===u?(et(t,!0),0===t.strm.avail_out?W:q):t.last_lit&&(et(t,!1),0===t.strm.avail_out)?X:G}function ht(t,e){for(var n,a,i;;){if(t.lookahead<U){if(st(t),t.lookahead<U&&e===l)return X;if(0===t.lookahead)break}if(n=0,t.lookahead>=D&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=D-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-U&&(t.match_length=rt(t,n),t.match_length<=5&&(t.strategy===v||t.match_length===D&&t.strstart-t.match_start>4096)&&(t.match_length=D-1)),t.prev_length>=D&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-D,a=r._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-D),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+D-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=D-1,t.strstart++,a&&(et(t,!1),0===t.strm.avail_out))return X}else if(t.match_available){if((a=r._tr_tally(t,0,t.window[t.strstart-1]))&&et(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return X}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(a=r._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<D-1?t.strstart:D-1,e===u?(et(t,!0),0===t.strm.avail_out?W:q):t.last_lit&&(et(t,!1),0===t.strm.avail_out)?X:G}function lt(t,e,n,a,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=a,this.func=i}function dt(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=B,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?M:K,t.adler=2===e.wrap?0:1,e.last_flush=l,r._tr_init(e),c):V(t,g)}function ft(t){var e=dt(t);return e===c&&function(t){t.window_size=2*t.w_size,$(t.head),t.max_lazy_match=a[t.level].max_lazy,t.good_match=a[t.level].good_length,t.nice_match=a[t.level].nice_length,t.max_chain_length=a[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=D-1,t.match_available=0,t.ins_h=0}(t.state),e}function ut(t,e,n,a,r,s){if(!t)return g;var o=1;if(e===m&&(e=6),a<0?(o=0,a=-a):a>15&&(o=2,a-=16),r<1||r>S||n!==A||a<8||a>15||e<0||e>9||s<0||s>x)return V(t,g);8===a&&(a=9);var h=new function(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=A,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*R),this.dyn_dtree=new i.Buf16(2*(2*C+1)),this.bl_tree=new i.Buf16(2*(2*N+1)),$(this.dyn_ltree),$(this.dyn_dtree),$(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(T+1),this.heap=new i.Buf16(2*Z+1),$(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*Z+1),$(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0};return t.state=h,h.strm=t,h.wrap=o,h.gzhead=null,h.w_bits=a,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+D-1)/D),h.window=new i.Buf8(2*h.w_size),h.head=new i.Buf16(h.hash_size),h.prev=new i.Buf16(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new i.Buf8(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=s,h.method=n,ft(t)}a=[new lt(0,0,0,0,function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(st(t),0===t.lookahead&&e===l)return X;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var a=t.block_start+n;if((0===t.strstart||t.strstart>=a)&&(t.lookahead=t.strstart-a,t.strstart=a,et(t,!1),0===t.strm.avail_out))return X;if(t.strstart-t.block_start>=t.w_size-U&&(et(t,!1),0===t.strm.avail_out))return X}return t.insert=0,e===u?(et(t,!0),0===t.strm.avail_out?W:q):(t.strstart>t.block_start&&(et(t,!1),t.strm.avail_out),X)}),new lt(4,4,8,4,ot),new lt(4,5,16,8,ot),new lt(4,6,32,32,ot),new lt(4,4,16,16,ht),new lt(8,16,32,32,ht),new lt(8,16,128,128,ht),new lt(8,32,128,256,ht),new lt(32,128,258,1024,ht),new lt(32,258,258,4096,ht)],e.deflateInit=function(t,e){return ut(t,e,A,E,O,z)},e.deflateInit2=ut,e.deflateReset=ft,e.deflateResetKeep=dt,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?g:(t.state.gzhead=e,c):g},e.deflate=function(t,e){var n,i,s,h;if(!t||!t.state||e>_||e<0)return t?V(t,g):g;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||i.status===Y&&e!==u)return V(t,0===t.avail_out?b:g);if(i.strm=t,n=i.last_flush,i.last_flush=e,i.status===M)if(2===i.wrap)t.adler=0,nt(i,31),nt(i,139),nt(i,8),i.gzhead?(nt(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),nt(i,255&i.gzhead.time),nt(i,i.gzhead.time>>8&255),nt(i,i.gzhead.time>>16&255),nt(i,i.gzhead.time>>24&255),nt(i,9===i.level?2:i.strategy>=k||i.level<2?4:0),nt(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(nt(i,255&i.gzhead.extra.length),nt(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=o(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=F):(nt(i,0),nt(i,0),nt(i,0),nt(i,0),nt(i,0),nt(i,9===i.level?2:i.strategy>=k||i.level<2?4:0),nt(i,J),i.status=K);else{var w=A+(i.w_bits-8<<4)<<8;w|=(i.strategy>=k||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(w|=L),w+=31-w%31,i.status=K,at(i,w),0!==i.strstart&&(at(i,t.adler>>>16),at(i,65535&t.adler)),t.adler=1}if(i.status===F)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),tt(t),s=i.pending,i.pending!==i.pending_buf_size));)nt(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=j)}else i.status=j;if(i.status===j)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),tt(t),s=i.pending,i.pending===i.pending_buf_size)){h=1;break}h=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,nt(i,h)}while(0!==h);i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),0===h&&(i.gzindex=0,i.status=H)}else i.status=H;if(i.status===H)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),tt(t),s=i.pending,i.pending===i.pending_buf_size)){h=1;break}h=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,nt(i,h)}while(0!==h);i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),0===h&&(i.status=P)}else i.status=P;if(i.status===P&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&tt(t),i.pending+2<=i.pending_buf_size&&(nt(i,255&t.adler),nt(i,t.adler>>8&255),t.adler=0,i.status=K)):i.status=K),0!==i.pending){if(tt(t),0===t.avail_out)return i.last_flush=-1,c}else if(0===t.avail_in&&Q(e)<=Q(n)&&e!==u)return V(t,b);if(i.status===Y&&0!==t.avail_in)return V(t,b);if(0!==t.avail_in||0!==i.lookahead||e!==l&&i.status!==Y){var m=i.strategy===k?function(t,e){for(var n;;){if(0===t.lookahead&&(st(t),0===t.lookahead)){if(e===l)return X;break}if(t.match_length=0,n=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(et(t,!1),0===t.strm.avail_out))return X}return t.insert=0,e===u?(et(t,!0),0===t.strm.avail_out?W:q):t.last_lit&&(et(t,!1),0===t.strm.avail_out)?X:G}(i,e):i.strategy===y?function(t,e){for(var n,a,i,s,o=t.window;;){if(t.lookahead<=I){if(st(t),t.lookahead<=I&&e===l)return X;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=D&&t.strstart>0&&(a=o[i=t.strstart-1])===o[++i]&&a===o[++i]&&a===o[++i]){s=t.strstart+I;do{}while(a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&a===o[++i]&&i<s);t.match_length=I-(s-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=D?(n=r._tr_tally(t,1,t.match_length-D),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(et(t,!1),0===t.strm.avail_out))return X}return t.insert=0,e===u?(et(t,!0),0===t.strm.avail_out?W:q):t.last_lit&&(et(t,!1),0===t.strm.avail_out)?X:G}(i,e):a[i.level].func(i,e);if(m!==W&&m!==q||(i.status=Y),m===X||m===W)return 0===t.avail_out&&(i.last_flush=-1),c;if(m===G&&(e===d?r._tr_align(i):e!==_&&(r._tr_stored_block(i,0,0,!1),e===f&&($(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),tt(t),0===t.avail_out))return i.last_flush=-1,c}return e!==u?c:i.wrap<=0?p:(2===i.wrap?(nt(i,255&t.adler),nt(i,t.adler>>8&255),nt(i,t.adler>>16&255),nt(i,t.adler>>24&255),nt(i,255&t.total_in),nt(i,t.total_in>>8&255),nt(i,t.total_in>>16&255),nt(i,t.total_in>>24&255)):(at(i,t.adler>>>16),at(i,65535&t.adler)),tt(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?c:p)},e.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==M&&e!==F&&e!==j&&e!==H&&e!==P&&e!==K&&e!==Y?V(t,g):(t.state=null,e===K?V(t,w):c):g},e.deflateSetDictionary=function(t,e){var n,a,r,o,h,l,d,f,u=e.length;if(!t||!t.state)return g;if(2===(o=(n=t.state).wrap)||1===o&&n.status!==M||n.lookahead)return g;for(1===o&&(t.adler=s(t.adler,e,u,0)),n.wrap=0,u>=n.w_size&&(0===o&&($(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,e,u-n.w_size,n.w_size,0),e=f,u=n.w_size),h=t.avail_in,l=t.next_in,d=t.input,t.avail_in=u,t.next_in=0,t.input=e,st(n);n.lookahead>=D;){a=n.strstart,r=n.lookahead-(D-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[a+D-1])&n.hash_mask,n.prev[a&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=a,a++}while(--r);n.strstart=a,n.lookahead=D-1,st(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=D-1,n.match_available=0,t.next_in=l,t.input=d,t.avail_in=h,n.wrap=o,c},e.deflateInfo="pako deflate (from Nodeca project)"},1057:function(t,e,n){"use strict";var a=n(140),i=4,r=0,s=1,o=2;function h(t){for(var e=t.length;--e>=0;)t[e]=0}var l=0,d=1,f=2,u=29,_=256,c=_+1+u,p=30,g=19,w=2*c+1,b=15,m=16,v=7,k=256,y=16,x=17,z=18,B=[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],A=[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],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=new Array(2*(c+2));h(O);var Z=new Array(2*p);h(Z);var C=new Array(512);h(C);var N=new Array(256);h(N);var R=new Array(u);h(R);var T,D,I,U=new Array(p);function L(t,e,n,a,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=a,this.max_length=i,this.has_stree=t&&t.length}function M(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function F(t){return t<256?C[t]:C[256+(t>>>7)]}function j(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function H(t,e,n){t.bi_valid>m-n?(t.bi_buf|=e<<t.bi_valid&65535,j(t,t.bi_buf),t.bi_buf=e>>m-t.bi_valid,t.bi_valid+=n-m):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function P(t,e,n){H(t,n[2*e],n[2*e+1])}function K(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function Y(t,e,n){var a,i,r=new Array(b+1),s=0;for(a=1;a<=b;a++)r[a]=s=s+n[a-1]<<1;for(i=0;i<=e;i++){var o=t[2*i+1];0!==o&&(t[2*i]=K(r[o]++,o))}}function X(t){var e;for(e=0;e<c;e++)t.dyn_ltree[2*e]=0;for(e=0;e<p;e++)t.dyn_dtree[2*e]=0;for(e=0;e<g;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*k]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function G(t){t.bi_valid>8?j(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function W(t,e,n,a){var i=2*e,r=2*n;return t[i]<t[r]||t[i]===t[r]&&a[e]<=a[n]}function q(t,e,n){for(var a=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&W(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!W(e,a,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=a}function J(t,e,n){var a,i,r,s,o=0;if(0!==t.last_lit)do{a=t.pending_buf[t.d_buf+2*o]<<8|t.pending_buf[t.d_buf+2*o+1],i=t.pending_buf[t.l_buf+o],o++,0===a?P(t,i,e):(P(t,(r=N[i])+_+1,e),0!==(s=B[r])&&H(t,i-=R[r],s),P(t,r=F(--a),n),0!==(s=A[r])&&H(t,a-=U[r],s))}while(o<t.last_lit);P(t,k,e)}function V(t,e){var n,a,i,r=e.dyn_tree,s=e.stat_desc.static_tree,o=e.stat_desc.has_stree,h=e.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=w,n=0;n<h;n++)0!==r[2*n]?(t.heap[++t.heap_len]=l=n,t.depth[n]=0):r[2*n+1]=0;for(;t.heap_len<2;)r[2*(i=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[i]=0,t.opt_len--,o&&(t.static_len-=s[2*i+1]);for(e.max_code=l,n=t.heap_len>>1;n>=1;n--)q(t,r,n);i=h;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],q(t,r,1),a=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=a,r[2*i]=r[2*n]+r[2*a],t.depth[i]=(t.depth[n]>=t.depth[a]?t.depth[n]:t.depth[a])+1,r[2*n+1]=r[2*a+1]=i,t.heap[1]=i++,q(t,r,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,a,i,r,s,o,h=e.dyn_tree,l=e.max_code,d=e.stat_desc.static_tree,f=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,_=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(r=0;r<=b;r++)t.bl_count[r]=0;for(h[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<w;n++)(r=h[2*h[2*(a=t.heap[n])+1]+1]+1)>c&&(r=c,p++),h[2*a+1]=r,a>l||(t.bl_count[r]++,s=0,a>=_&&(s=u[a-_]),o=h[2*a],t.opt_len+=o*(r+s),f&&(t.static_len+=o*(d[2*a+1]+s)));if(0!==p){do{for(r=c-1;0===t.bl_count[r];)r--;t.bl_count[r]--,t.bl_count[r+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(r=c;0!==r;r--)for(a=t.bl_count[r];0!==a;)(i=t.heap[--n])>l||(h[2*i+1]!==r&&(t.opt_len+=(r-h[2*i+1])*h[2*i],h[2*i+1]=r),a--)}}(t,e),Y(r,l,t.bl_count)}function Q(t,e,n){var a,i,r=-1,s=e[1],o=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(n+1)+1]=65535,a=0;a<=n;a++)i=s,s=e[2*(a+1)+1],++o<h&&i===s||(o<l?t.bl_tree[2*i]+=o:0!==i?(i!==r&&t.bl_tree[2*i]++,t.bl_tree[2*y]++):o<=10?t.bl_tree[2*x]++:t.bl_tree[2*z]++,o=0,r=i,0===s?(h=138,l=3):i===s?(h=6,l=3):(h=7,l=4))}function $(t,e,n){var a,i,r=-1,s=e[1],o=0,h=7,l=4;for(0===s&&(h=138,l=3),a=0;a<=n;a++)if(i=s,s=e[2*(a+1)+1],!(++o<h&&i===s)){if(o<l)do{P(t,i,t.bl_tree)}while(0!=--o);else 0!==i?(i!==r&&(P(t,i,t.bl_tree),o--),P(t,y,t.bl_tree),H(t,o-3,2)):o<=10?(P(t,x,t.bl_tree),H(t,o-3,3)):(P(t,z,t.bl_tree),H(t,o-11,7));o=0,r=i,0===s?(h=138,l=3):i===s?(h=6,l=3):(h=7,l=4)}}h(U);var tt=!1;function et(t,e,n,i){H(t,(l<<1)+(i?1:0),3),function(t,e,n,i){G(t),i&&(j(t,n),j(t,~n)),a.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n,!0)}e._tr_init=function(t){tt||(function(){var t,e,n,a,i,r=new Array(b+1);for(n=0,a=0;a<u-1;a++)for(R[a]=n,t=0;t<1<<B[a];t++)N[n++]=a;for(N[n-1]=a,i=0,a=0;a<16;a++)for(U[a]=i,t=0;t<1<<A[a];t++)C[i++]=a;for(i>>=7;a<p;a++)for(U[a]=i<<7,t=0;t<1<<A[a]-7;t++)C[256+i++]=a;for(e=0;e<=b;e++)r[e]=0;for(t=0;t<=143;)O[2*t+1]=8,t++,r[8]++;for(;t<=255;)O[2*t+1]=9,t++,r[9]++;for(;t<=279;)O[2*t+1]=7,t++,r[7]++;for(;t<=287;)O[2*t+1]=8,t++,r[8]++;for(Y(O,c+1,r),t=0;t<p;t++)Z[2*t+1]=5,Z[2*t]=K(t,5);T=new L(O,B,_+1,c,b),D=new L(Z,A,0,p,b),I=new L(new Array(0),S,0,g,v)}(),tt=!0),t.l_desc=new M(t.dyn_ltree,T),t.d_desc=new M(t.dyn_dtree,D),t.bl_desc=new M(t.bl_tree,I),t.bi_buf=0,t.bi_valid=0,X(t)},e._tr_stored_block=et,e._tr_flush_block=function(t,e,n,a){var h,l,u=0;t.level>0?(t.strm.data_type===o&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return r;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return s;for(e=32;e<_;e++)if(0!==t.dyn_ltree[2*e])return s;return r}(t)),V(t,t.l_desc),V(t,t.d_desc),u=function(t){var e;for(Q(t,t.dyn_ltree,t.l_desc.max_code),Q(t,t.dyn_dtree,t.d_desc.max_code),V(t,t.bl_desc),e=g-1;e>=3&&0===t.bl_tree[2*E[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),h=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=h&&(h=l)):h=l=n+5,n+4<=h&&-1!==e?et(t,e,n,a):t.strategy===i||l===h?(H(t,(d<<1)+(a?1:0),3),J(t,O,Z)):(H(t,(f<<1)+(a?1:0),3),function(t,e,n,a){var i;for(H(t,e-257,5),H(t,n-1,5),H(t,a-4,4),i=0;i<a;i++)H(t,t.bl_tree[2*E[i]+1],3);$(t,t.dyn_ltree,e-1),$(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,u+1),J(t,t.dyn_ltree,t.dyn_dtree)),X(t),a&&G(t)},e._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(N[n]+_+1)]++,t.dyn_dtree[2*F(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){H(t,d<<1,3),P(t,k,O),function(t){16===t.bi_valid?(j(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},1058:function(t,e,n){"use strict";var a=n(1059),i=n(140),r=n(524),s=n(526),o=n(346),h=n(525),l=n(1062),d=Object.prototype.toString;function f(t){if(!(this instanceof f))return new f(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h,this.strm.avail_out=0;var n=a.inflateInit2(this.strm,e.windowBits);if(n!==s.Z_OK)throw new Error(o[n]);this.header=new l,a.inflateGetHeader(this.strm,this.header)}function u(t,e){var n=new f(e);if(n.push(t,!0),n.err)throw n.msg||o[n.err];return n.result}f.prototype.push=function(t,e){var n,o,h,l,f,u,_=this.strm,c=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;o=e===~~e?e:!0===e?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof t?_.input=r.binstring2buf(t):"[object ArrayBuffer]"===d.call(t)?_.input=new Uint8Array(t):_.input=t,_.next_in=0,_.avail_in=_.input.length;do{if(0===_.avail_out&&(_.output=new i.Buf8(c),_.next_out=0,_.avail_out=c),(n=a.inflate(_,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&p&&(u="string"==typeof p?r.string2buf(p):"[object ArrayBuffer]"===d.call(p)?new Uint8Array(p):p,n=a.inflateSetDictionary(this.strm,u)),n===s.Z_BUF_ERROR&&!0===g&&(n=s.Z_OK,g=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),this.ended=!0,!1;_.next_out&&(0!==_.avail_out&&n!==s.Z_STREAM_END&&(0!==_.avail_in||o!==s.Z_FINISH&&o!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(h=r.utf8border(_.output,_.next_out),l=_.next_out-h,f=r.buf2string(_.output,h),_.next_out=l,_.avail_out=c-l,l&&i.arraySet(_.output,_.output,h,l,0),this.onData(f)):this.onData(i.shrinkBuf(_.output,_.next_out)))),0===_.avail_in&&0===_.avail_out&&(g=!0)}while((_.avail_in>0||0===_.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(o=s.Z_FINISH),o===s.Z_FINISH?(n=a.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):o!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),_.avail_out=0,!0)},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=f,e.inflate=u,e.inflateRaw=function(t,e){return(e=e||{}).raw=!0,u(t,e)},e.ungzip=u},1059:function(t,e,n){"use strict";var a=n(140),i=n(522),r=n(523),s=n(1060),o=n(1061),h=0,l=1,d=2,f=4,u=5,_=6,c=0,p=1,g=2,w=-2,b=-3,m=-4,v=-5,k=8,y=1,x=2,z=3,B=4,A=5,S=6,E=7,O=8,Z=9,C=10,N=11,R=12,T=13,D=14,I=15,U=16,L=17,M=18,F=19,j=20,H=21,P=22,K=23,Y=24,X=25,G=26,W=27,q=28,J=29,V=30,Q=31,$=32,tt=852,et=592,nt=15;function at(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function it(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=y,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new a.Buf32(tt),e.distcode=e.distdyn=new a.Buf32(et),e.sane=1,e.back=-1,c):w}function rt(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,it(t)):w}function st(t,e){var n,a;return t&&t.state?(a=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?w:(null!==a.window&&a.wbits!==e&&(a.window=null),a.wrap=n,a.wbits=e,rt(t))):w}function ot(t,e){var n,i;return t?(i=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},t.state=i,i.window=null,(n=st(t,e))!==c&&(t.state=null),n):w}var ht,lt,dt=!0;function ft(t){if(dt){var e;for(ht=new a.Buf32(512),lt=new a.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(o(l,t.lens,0,288,ht,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;o(d,t.lens,0,32,lt,0,t.work,{bits:5}),dt=!1}t.lencode=ht,t.lenbits=9,t.distcode=lt,t.distbits=5}function ut(t,e,n,i){var r,s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new a.Buf8(s.wsize)),i>=s.wsize?(a.arraySet(s.window,e,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((r=s.wsize-s.wnext)>i&&(r=i),a.arraySet(s.window,e,n-i,r,s.wnext),(i-=r)?(a.arraySet(s.window,e,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=r))),0}e.inflateReset=rt,e.inflateReset2=st,e.inflateResetKeep=it,e.inflateInit=function(t){return ot(t,nt)},e.inflateInit2=ot,e.inflate=function(t,e){var n,tt,et,nt,it,rt,st,ot,ht,lt,dt,_t,ct,pt,gt,wt,bt,mt,vt,kt,yt,xt,zt,Bt,At=0,St=new a.Buf8(4),Et=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return w;(n=t.state).mode===R&&(n.mode=T),it=t.next_out,et=t.output,st=t.avail_out,nt=t.next_in,tt=t.input,rt=t.avail_in,ot=n.hold,ht=n.bits,lt=rt,dt=st,xt=c;t:for(;;)switch(n.mode){case y:if(0===n.wrap){n.mode=T;break}for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(2&n.wrap&&35615===ot){n.check=0,St[0]=255&ot,St[1]=ot>>>8&255,n.check=r(n.check,St,2,0),ot=0,ht=0,n.mode=x;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&ot)<<8)+(ot>>8))%31){t.msg="incorrect header check",n.mode=V;break}if((15&ot)!==k){t.msg="unknown compression method",n.mode=V;break}if(ht-=4,yt=8+(15&(ot>>>=4)),0===n.wbits)n.wbits=yt;else if(yt>n.wbits){t.msg="invalid window size",n.mode=V;break}n.dmax=1<<yt,t.adler=n.check=1,n.mode=512&ot?C:R,ot=0,ht=0;break;case x:for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(n.flags=ot,(255&n.flags)!==k){t.msg="unknown compression method",n.mode=V;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=V;break}n.head&&(n.head.text=ot>>8&1),512&n.flags&&(St[0]=255&ot,St[1]=ot>>>8&255,n.check=r(n.check,St,2,0)),ot=0,ht=0,n.mode=z;case z:for(;ht<32;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}n.head&&(n.head.time=ot),512&n.flags&&(St[0]=255&ot,St[1]=ot>>>8&255,St[2]=ot>>>16&255,St[3]=ot>>>24&255,n.check=r(n.check,St,4,0)),ot=0,ht=0,n.mode=B;case B:for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}n.head&&(n.head.xflags=255&ot,n.head.os=ot>>8),512&n.flags&&(St[0]=255&ot,St[1]=ot>>>8&255,n.check=r(n.check,St,2,0)),ot=0,ht=0,n.mode=A;case A:if(1024&n.flags){for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}n.length=ot,n.head&&(n.head.extra_len=ot),512&n.flags&&(St[0]=255&ot,St[1]=ot>>>8&255,n.check=r(n.check,St,2,0)),ot=0,ht=0}else n.head&&(n.head.extra=null);n.mode=S;case S:if(1024&n.flags&&((_t=n.length)>rt&&(_t=rt),_t&&(n.head&&(yt=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),a.arraySet(n.head.extra,tt,nt,_t,yt)),512&n.flags&&(n.check=r(n.check,tt,_t,nt)),rt-=_t,nt+=_t,n.length-=_t),n.length))break t;n.length=0,n.mode=E;case E:if(2048&n.flags){if(0===rt)break t;_t=0;do{yt=tt[nt+_t++],n.head&&yt&&n.length<65536&&(n.head.name+=String.fromCharCode(yt))}while(yt&&_t<rt);if(512&n.flags&&(n.check=r(n.check,tt,_t,nt)),rt-=_t,nt+=_t,yt)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=O;case O:if(4096&n.flags){if(0===rt)break t;_t=0;do{yt=tt[nt+_t++],n.head&&yt&&n.length<65536&&(n.head.comment+=String.fromCharCode(yt))}while(yt&&_t<rt);if(512&n.flags&&(n.check=r(n.check,tt,_t,nt)),rt-=_t,nt+=_t,yt)break t}else n.head&&(n.head.comment=null);n.mode=Z;case Z:if(512&n.flags){for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(ot!==(65535&n.check)){t.msg="header crc mismatch",n.mode=V;break}ot=0,ht=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=R;break;case C:for(;ht<32;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}t.adler=n.check=at(ot),ot=0,ht=0,n.mode=N;case N:if(0===n.havedict)return t.next_out=it,t.avail_out=st,t.next_in=nt,t.avail_in=rt,n.hold=ot,n.bits=ht,g;t.adler=n.check=1,n.mode=R;case R:if(e===u||e===_)break t;case T:if(n.last){ot>>>=7&ht,ht-=7&ht,n.mode=W;break}for(;ht<3;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}switch(n.last=1&ot,ht-=1,3&(ot>>>=1)){case 0:n.mode=D;break;case 1:if(ft(n),n.mode=j,e===_){ot>>>=2,ht-=2;break t}break;case 2:n.mode=L;break;case 3:t.msg="invalid block type",n.mode=V}ot>>>=2,ht-=2;break;case D:for(ot>>>=7&ht,ht-=7&ht;ht<32;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if((65535&ot)!=(ot>>>16^65535)){t.msg="invalid stored block lengths",n.mode=V;break}if(n.length=65535&ot,ot=0,ht=0,n.mode=I,e===_)break t;case I:n.mode=U;case U:if(_t=n.length){if(_t>rt&&(_t=rt),_t>st&&(_t=st),0===_t)break t;a.arraySet(et,tt,nt,_t,it),rt-=_t,nt+=_t,st-=_t,it+=_t,n.length-=_t;break}n.mode=R;break;case L:for(;ht<14;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(n.nlen=257+(31&ot),ot>>>=5,ht-=5,n.ndist=1+(31&ot),ot>>>=5,ht-=5,n.ncode=4+(15&ot),ot>>>=4,ht-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=V;break}n.have=0,n.mode=M;case M:for(;n.have<n.ncode;){for(;ht<3;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}n.lens[Et[n.have++]]=7&ot,ot>>>=3,ht-=3}for(;n.have<19;)n.lens[Et[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,zt={bits:n.lenbits},xt=o(h,n.lens,0,19,n.lencode,0,n.work,zt),n.lenbits=zt.bits,xt){t.msg="invalid code lengths set",n.mode=V;break}n.have=0,n.mode=F;case F:for(;n.have<n.nlen+n.ndist;){for(;wt=(At=n.lencode[ot&(1<<n.lenbits)-1])>>>16&255,bt=65535&At,!((gt=At>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(bt<16)ot>>>=gt,ht-=gt,n.lens[n.have++]=bt;else{if(16===bt){for(Bt=gt+2;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(ot>>>=gt,ht-=gt,0===n.have){t.msg="invalid bit length repeat",n.mode=V;break}yt=n.lens[n.have-1],_t=3+(3&ot),ot>>>=2,ht-=2}else if(17===bt){for(Bt=gt+3;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}ht-=gt,yt=0,_t=3+(7&(ot>>>=gt)),ot>>>=3,ht-=3}else{for(Bt=gt+7;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}ht-=gt,yt=0,_t=11+(127&(ot>>>=gt)),ot>>>=7,ht-=7}if(n.have+_t>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=V;break}for(;_t--;)n.lens[n.have++]=yt}}if(n.mode===V)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=V;break}if(n.lenbits=9,zt={bits:n.lenbits},xt=o(l,n.lens,0,n.nlen,n.lencode,0,n.work,zt),n.lenbits=zt.bits,xt){t.msg="invalid literal/lengths set",n.mode=V;break}if(n.distbits=6,n.distcode=n.distdyn,zt={bits:n.distbits},xt=o(d,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,zt),n.distbits=zt.bits,xt){t.msg="invalid distances set",n.mode=V;break}if(n.mode=j,e===_)break t;case j:n.mode=H;case H:if(rt>=6&&st>=258){t.next_out=it,t.avail_out=st,t.next_in=nt,t.avail_in=rt,n.hold=ot,n.bits=ht,s(t,dt),it=t.next_out,et=t.output,st=t.avail_out,nt=t.next_in,tt=t.input,rt=t.avail_in,ot=n.hold,ht=n.bits,n.mode===R&&(n.back=-1);break}for(n.back=0;wt=(At=n.lencode[ot&(1<<n.lenbits)-1])>>>16&255,bt=65535&At,!((gt=At>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(wt&&0==(240&wt)){for(mt=gt,vt=wt,kt=bt;wt=(At=n.lencode[kt+((ot&(1<<mt+vt)-1)>>mt)])>>>16&255,bt=65535&At,!(mt+(gt=At>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}ot>>>=mt,ht-=mt,n.back+=mt}if(ot>>>=gt,ht-=gt,n.back+=gt,n.length=bt,0===wt){n.mode=G;break}if(32&wt){n.back=-1,n.mode=R;break}if(64&wt){t.msg="invalid literal/length code",n.mode=V;break}n.extra=15&wt,n.mode=P;case P:if(n.extra){for(Bt=n.extra;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}n.length+=ot&(1<<n.extra)-1,ot>>>=n.extra,ht-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=K;case K:for(;wt=(At=n.distcode[ot&(1<<n.distbits)-1])>>>16&255,bt=65535&At,!((gt=At>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(0==(240&wt)){for(mt=gt,vt=wt,kt=bt;wt=(At=n.distcode[kt+((ot&(1<<mt+vt)-1)>>mt)])>>>16&255,bt=65535&At,!(mt+(gt=At>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}ot>>>=mt,ht-=mt,n.back+=mt}if(ot>>>=gt,ht-=gt,n.back+=gt,64&wt){t.msg="invalid distance code",n.mode=V;break}n.offset=bt,n.extra=15&wt,n.mode=Y;case Y:if(n.extra){for(Bt=n.extra;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}n.offset+=ot&(1<<n.extra)-1,ot>>>=n.extra,ht-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=V;break}n.mode=X;case X:if(0===st)break t;if(_t=dt-st,n.offset>_t){if((_t=n.offset-_t)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=V;break}_t>n.wnext?(_t-=n.wnext,ct=n.wsize-_t):ct=n.wnext-_t,_t>n.length&&(_t=n.length),pt=n.window}else pt=et,ct=it-n.offset,_t=n.length;_t>st&&(_t=st),st-=_t,n.length-=_t;do{et[it++]=pt[ct++]}while(--_t);0===n.length&&(n.mode=H);break;case G:if(0===st)break t;et[it++]=n.length,st--,n.mode=H;break;case W:if(n.wrap){for(;ht<32;){if(0===rt)break t;rt--,ot|=tt[nt++]<<ht,ht+=8}if(dt-=st,t.total_out+=dt,n.total+=dt,dt&&(t.adler=n.check=n.flags?r(n.check,et,dt,it-dt):i(n.check,et,dt,it-dt)),dt=st,(n.flags?ot:at(ot))!==n.check){t.msg="incorrect data check",n.mode=V;break}ot=0,ht=0}n.mode=q;case q:if(n.wrap&&n.flags){for(;ht<32;){if(0===rt)break t;rt--,ot+=tt[nt++]<<ht,ht+=8}if(ot!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=V;break}ot=0,ht=0}n.mode=J;case J:xt=p;break t;case V:xt=b;break t;case Q:return m;case $:default:return w}return t.next_out=it,t.avail_out=st,t.next_in=nt,t.avail_in=rt,n.hold=ot,n.bits=ht,(n.wsize||dt!==t.avail_out&&n.mode<V&&(n.mode<W||e!==f))&&ut(t,t.output,t.next_out,dt-t.avail_out)?(n.mode=Q,m):(lt-=t.avail_in,dt-=t.avail_out,t.total_in+=lt,t.total_out+=dt,n.total+=dt,n.wrap&&dt&&(t.adler=n.check=n.flags?r(n.check,et,dt,t.next_out-dt):i(n.check,et,dt,t.next_out-dt)),t.data_type=n.bits+(n.last?64:0)+(n.mode===R?128:0)+(n.mode===j||n.mode===I?256:0),(0===lt&&0===dt||e===f)&&xt===c&&(xt=v),xt)},e.inflateEnd=function(t){if(!t||!t.state)return w;var e=t.state;return e.window&&(e.window=null),t.state=null,c},e.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?w:(n.head=e,e.done=!1,c):w},e.inflateSetDictionary=function(t,e){var n,a=e.length;return t&&t.state?0!==(n=t.state).wrap&&n.mode!==N?w:n.mode===N&&i(1,e,a,0)!==n.check?b:ut(t,e,a,a)?(n.mode=Q,m):(n.havedict=1,c):w},e.inflateInfo="pako inflate (from Nodeca project)"},1060:function(t,e,n){"use strict";t.exports=function(t,e){var n,a,i,r,s,o,h,l,d,f,u,_,c,p,g,w,b,m,v,k,y,x,z,B,A;n=t.state,a=t.next_in,B=t.input,i=a+(t.avail_in-5),r=t.next_out,A=t.output,s=r-(e-t.avail_out),o=r+(t.avail_out-257),h=n.dmax,l=n.wsize,d=n.whave,f=n.wnext,u=n.window,_=n.hold,c=n.bits,p=n.lencode,g=n.distcode,w=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;t:do{c<15&&(_+=B[a++]<<c,c+=8,_+=B[a++]<<c,c+=8),m=p[_&w];e:for(;;){if(_>>>=v=m>>>24,c-=v,0===(v=m>>>16&255))A[r++]=65535&m;else{if(!(16&v)){if(0==(64&v)){m=p[(65535&m)+(_&(1<<v)-1)];continue e}if(32&v){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}k=65535&m,(v&=15)&&(c<v&&(_+=B[a++]<<c,c+=8),k+=_&(1<<v)-1,_>>>=v,c-=v),c<15&&(_+=B[a++]<<c,c+=8,_+=B[a++]<<c,c+=8),m=g[_&b];n:for(;;){if(_>>>=v=m>>>24,c-=v,!(16&(v=m>>>16&255))){if(0==(64&v)){m=g[(65535&m)+(_&(1<<v)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(y=65535&m,c<(v&=15)&&(_+=B[a++]<<c,(c+=8)<v&&(_+=B[a++]<<c,c+=8)),(y+=_&(1<<v)-1)>h){t.msg="invalid distance too far back",n.mode=30;break t}if(_>>>=v,c-=v,y>(v=r-s)){if((v=y-v)>d&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(x=0,z=u,0===f){if(x+=l-v,v<k){k-=v;do{A[r++]=u[x++]}while(--v);x=r-y,z=A}}else if(f<v){if(x+=l+f-v,(v-=f)<k){k-=v;do{A[r++]=u[x++]}while(--v);if(x=0,f<k){k-=v=f;do{A[r++]=u[x++]}while(--v);x=r-y,z=A}}}else if(x+=f-v,v<k){k-=v;do{A[r++]=u[x++]}while(--v);x=r-y,z=A}for(;k>2;)A[r++]=z[x++],A[r++]=z[x++],A[r++]=z[x++],k-=3;k&&(A[r++]=z[x++],k>1&&(A[r++]=z[x++]))}else{x=r-y;do{A[r++]=A[x++],A[r++]=A[x++],A[r++]=A[x++],k-=3}while(k>2);k&&(A[r++]=A[x++],k>1&&(A[r++]=A[x++]))}break}}break}}while(a<i&&r<o);a-=k=c>>3,_&=(1<<(c-=k<<3))-1,t.next_in=a,t.next_out=r,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=r<o?o-r+257:257-(r-o),n.hold=_,n.bits=c}},1061:function(t,e,n){"use strict";var a=n(140),i=[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],r=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,n,h,l,d,f,u){var _,c,p,g,w,b,m,v,k,y=u.bits,x=0,z=0,B=0,A=0,S=0,E=0,O=0,Z=0,C=0,N=0,R=null,T=0,D=new a.Buf16(16),I=new a.Buf16(16),U=null,L=0;for(x=0;x<=15;x++)D[x]=0;for(z=0;z<h;z++)D[e[n+z]]++;for(S=y,A=15;A>=1&&0===D[A];A--);if(S>A&&(S=A),0===A)return l[d++]=20971520,l[d++]=20971520,u.bits=1,0;for(B=1;B<A&&0===D[B];B++);for(S<B&&(S=B),Z=1,x=1;x<=15;x++)if(Z<<=1,(Z-=D[x])<0)return-1;if(Z>0&&(0===t||1!==A))return-1;for(I[1]=0,x=1;x<15;x++)I[x+1]=I[x]+D[x];for(z=0;z<h;z++)0!==e[n+z]&&(f[I[e[n+z]]++]=z);if(0===t?(R=U=f,b=19):1===t?(R=i,T-=257,U=r,L-=257,b=256):(R=s,U=o,b=-1),N=0,z=0,x=B,w=d,E=S,O=0,p=-1,g=(C=1<<S)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){m=x-O,f[z]<b?(v=0,k=f[z]):f[z]>b?(v=U[L+f[z]],k=R[T+f[z]]):(v=96,k=0),_=1<<x-O,B=c=1<<E;do{l[w+(N>>O)+(c-=_)]=m<<24|v<<16|k|0}while(0!==c);for(_=1<<x-1;N&_;)_>>=1;if(0!==_?(N&=_-1,N+=_):N=0,z++,0==--D[x]){if(x===A)break;x=e[n+f[z]]}if(x>S&&(N&g)!==p){for(0===O&&(O=S),w+=B,Z=1<<(E=x-O);E+O<A&&!((Z-=D[E+O])<=0);)E++,Z<<=1;if(C+=1<<E,1===t&&C>852||2===t&&C>592)return 1;l[p=N&g]=S<<24|E<<16|w-d|0}}return 0!==N&&(l[w+N]=x-O<<24|64<<16|0),u.bits=S,0}},1062:function(t,e,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},140:function(t,e,n){"use strict";var a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var a in n)i(n,a)&&(t[a]=n[a])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,n,a,i){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+a),i);else for(var r=0;r<a;r++)t[i+r]=e[n+r]},flattenChunks:function(t){var e,n,a,i,r,s;for(a=0,e=0,n=t.length;e<n;e++)a+=t[e].length;for(s=new Uint8Array(a),i=0,e=0,n=t.length;e<n;e++)r=t[e],s.set(r,i),i+=r.length;return s}},s={arraySet:function(t,e,n,a,i){for(var r=0;r<a;r++)t[i+r]=e[n+r]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,s))},e.setTyped(a)},346:function(t,e,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},520:function(t,e,n){"use strict";function a(t,e,n){return e<=t&&t<=n}function i(t){if(void 0===t)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}n.r(e),n.d(e,"TextEncoder",function(){return f}),n.d(e,"TextDecoder",function(){return d});var r=-1;function s(t){this.tokens=[].slice.call(t)}s.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():r},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.shift());else this.tokens.push(t)}};var o=-1;function h(t,e){if(t)throw TypeError("Decoder error");return e||65533}var l="utf-8";function d(t,e){if(!(this instanceof d))return new d(t,e);if((t=void 0!==t?String(t).toLowerCase():l)!==l)throw new Error("Encoding not supported. Only utf-8 is supported");e=i(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=Boolean(e.fatal),this._ignoreBOM=Boolean(e.ignoreBOM),Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function f(t,e){if(!(this instanceof f))return new f(t,e);if((t=void 0!==t?String(t).toLowerCase():l)!==l)throw new Error("Encoding not supported. Only utf-8 is supported");e=i(e),this._streaming=!1,this._encoder=null,this._options={fatal:Boolean(e.fatal)},Object.defineProperty(this,"encoding",{value:"utf-8"})}d.prototype={decode:function(t,e){var n;n="object"==typeof t&&t instanceof ArrayBuffer?new Uint8Array(t):"object"==typeof t&&"buffer"in t&&t.buffer instanceof ArrayBuffer?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(0),e=i(e),this._streaming||(this._decoder=new function(t){var e=t.fatal,n=0,i=0,s=0,l=128,d=191;this.handler=function(t,f){if(f===r&&0!==s)return s=0,h(e);if(f===r)return o;if(0===s){if(a(f,0,127))return f;if(a(f,194,223))s=1,n=f-192;else if(a(f,224,239))224===f&&(l=160),237===f&&(d=159),s=2,n=f-224;else{if(!a(f,240,244))return h(e);240===f&&(l=144),244===f&&(d=143),s=3,n=f-240}return n<<=6*s,null}if(!a(f,l,d))return n=s=i=0,l=128,d=191,t.prepend(f),h(e);if(l=128,d=191,n+=f-128<<6*(s-(i+=1)),i!==s)return null;var u=n;return n=s=i=0,u}}({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(e.stream);for(var l,d=new s(n),f=[];!d.endOfStream()&&(l=this._decoder.handler(d,d.read()))!==o;)null!==l&&(Array.isArray(l)?f.push.apply(f,l):f.push(l));if(!this._streaming){do{if((l=this._decoder.handler(d,d.read()))===o)break;null!==l&&(Array.isArray(l)?f.push.apply(f,l):f.push(l))}while(!d.endOfStream());this._decoder=null}return f.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===f[0]?(this._BOMseen=!0,f.shift()):this._BOMseen=!0)),function(t){for(var e="",n=0;n<t.length;++n){var a=t[n];a<=65535?e+=String.fromCharCode(a):(a-=65536,e+=String.fromCharCode(55296+(a>>10),56320+(1023&a)))}return e}(f)}},f.prototype={encode:function(t,e){t=t?String(t):"",e=i(e),this._streaming||(this._encoder=new function(t){t.fatal;this.handler=function(t,e){if(e===r)return o;if(a(e,0,127))return e;var n,i;a(e,128,2047)?(n=1,i=192):a(e,2048,65535)?(n=2,i=224):a(e,65536,1114111)&&(n=3,i=240);for(var s=[(e>>6*n)+i];n>0;){var h=e>>6*(n-1);s.push(128|63&h),n-=1}return s}}(this._options)),this._streaming=Boolean(e.stream);for(var n,h=[],l=new s(function(t){for(var e=String(t),n=e.length,a=0,i=[];a<n;){var r=e.charCodeAt(a);if(r<55296||r>57343)i.push(r);else if(56320<=r&&r<=57343)i.push(65533);else if(55296<=r&&r<=56319)if(a===n-1)i.push(65533);else{var s=t.charCodeAt(a+1);if(56320<=s&&s<=57343){var o=1023&r,h=1023&s;i.push(65536+(o<<10)+h),a+=1}else i.push(65533)}a+=1}return i}(t));!l.endOfStream()&&(n=this._encoder.handler(l,l.read()))!==o;)Array.isArray(n)?h.push.apply(h,n):h.push(n);if(!this._streaming){for(;(n=this._encoder.handler(l,l.read()))!==o;)Array.isArray(n)?h.push.apply(h,n):h.push(n);this._encoder=null}return new Uint8Array(h)}}},522:function(t,e,n){"use strict";t.exports=function(t,e,n,a){for(var i=65535&t|0,r=t>>>16&65535|0,s=0;0!==n;){n-=s=n>2e3?2e3:n;do{r=r+(i=i+e[a++]|0)|0}while(--s);i%=65521,r%=65521}return i|r<<16|0}},523:function(t,e,n){"use strict";var a=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var a=0;a<8;a++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();t.exports=function(t,e,n,i){var r=a,s=i+n;t^=-1;for(var o=i;o<s;o++)t=t>>>8^r[255&(t^e[o])];return-1^t}},524:function(t,e,n){"use strict";var a=n(140),i=!0,r=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){r=!1}for(var s=new a.Buf8(256),o=0;o<256;o++)s[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function h(t,e){if(e<65537&&(t.subarray&&r||!t.subarray&&i))return String.fromCharCode.apply(null,a.shrinkBuf(t,e));for(var n="",s=0;s<e;s++)n+=String.fromCharCode(t[s]);return n}s[254]=s[254]=1,e.string2buf=function(t){var e,n,i,r,s,o=t.length,h=0;for(r=0;r<o;r++)55296==(64512&(n=t.charCodeAt(r)))&&r+1<o&&56320==(64512&(i=t.charCodeAt(r+1)))&&(n=65536+(n-55296<<10)+(i-56320),r++),h+=n<128?1:n<2048?2:n<65536?3:4;for(e=new a.Buf8(h),s=0,r=0;s<h;r++)55296==(64512&(n=t.charCodeAt(r)))&&r+1<o&&56320==(64512&(i=t.charCodeAt(r+1)))&&(n=65536+(n-55296<<10)+(i-56320),r++),n<128?e[s++]=n:n<2048?(e[s++]=192|n>>>6,e[s++]=128|63&n):n<65536?(e[s++]=224|n>>>12,e[s++]=128|n>>>6&63,e[s++]=128|63&n):(e[s++]=240|n>>>18,e[s++]=128|n>>>12&63,e[s++]=128|n>>>6&63,e[s++]=128|63&n);return e},e.buf2binstring=function(t){return h(t,t.length)},e.binstring2buf=function(t){for(var e=new a.Buf8(t.length),n=0,i=e.length;n<i;n++)e[n]=t.charCodeAt(n);return e},e.buf2string=function(t,e){var n,a,i,r,o=e||t.length,l=new Array(2*o);for(a=0,n=0;n<o;)if((i=t[n++])<128)l[a++]=i;else if((r=s[i])>4)l[a++]=65533,n+=r-1;else{for(i&=2===r?31:3===r?15:7;r>1&&n<o;)i=i<<6|63&t[n++],r--;r>1?l[a++]=65533:i<65536?l[a++]=i:(i-=65536,l[a++]=55296|i>>10&1023,l[a++]=56320|1023&i)}return h(l,a)},e.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0?e:0===n?e:n+s[t[n]]>e?n:e}},525:function(t,e,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},526:function(t,e,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},530:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=_(n(16)),i=_(n(18)),r=n(12),s=_(r),o=_(n(1054)),h=_(n(9)),l=_(n(74)),d=n(2),f=_(n(348)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(520));function _(t){return t&&t.__esModule?t:{default:t}}var c=window.TextEncoder;function p(t,e,n){var a=s.default.defer(),i=new XMLHttpRequest;return i.open("POST",t),i.timeout=3e5,i.onreadystatechange=function(){i.readyState===XMLHttpRequest.LOADING?n((0,d._t)("Waiting for response from server")):i.readyState===XMLHttpRequest.DONE&&function(){if(i.status<200||i.status>=400)return void a.reject(new Error("HTTP "+i.status));a.resolve()}()},i.send(e),a.promise}c||(c=u.TextEncoder),e.default=function(){var t=(0,r.coroutine)(a.default.mark(function t(e,n){var s,u,_,g,w,b,m,v,k,y,x,z,B,A;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new Error("No bug report endpoint has been set.");case 2:return(s=(n=n||{}).progressCallback||function(){})((0,d._t)("Collecting app version information")),u="UNKNOWN",t.prev=6,t.next=9,(0,r.resolve)(l.default.get().getAppVersion());case 9:u=t.sent,t.next=14;break;case 12:t.prev=12,t.t0=t.catch(6);case 14:if(_="UNKNOWN",window.navigator&&window.navigator.userAgent&&(_=window.navigator.userAgent),g=h.default.get(),console.log("Sending bug report."),(w=new FormData).append("text",n.userText||"User did not supply any additional text."),w.append("app","riot-web"),w.append("version",u),w.append("user_agent",_),g&&(w.append("user_id",g.credentials.userId),w.append("device_id",g.deviceId)),!n.sendLogs){t.next=48;break}return s((0,d._t)("Collecting logs")),t.next=28,(0,r.resolve)(f.default.getLogsForReport());case 28:for(b=t.sent,m=!0,v=!1,k=void 0,t.prev=32,y=(0,i.default)(b);!(m=(x=y.next()).done);m=!0)z=x.value,B=(new c).encode(z.lines),A=o.default.gzip(B),w.append("compressed-log",new Blob([A]),z.id);t.next=40;break;case 36:t.prev=36,t.t1=t.catch(32),v=!0,k=t.t1;case 40:t.prev=40,t.prev=41,!m&&y.return&&y.return();case 43:if(t.prev=43,!v){t.next=46;break}throw k;case 46:return t.finish(43);case 47:return t.finish(40);case 48:return s((0,d._t)("Uploading report")),t.next=51,(0,r.resolve)(p(e,w,s));case 51:case"end":return t.stop()}},t,this,[[6,12],[32,36,40,48],[41,,43,47]])}));return function(e,n){return t.apply(this,arguments)}}(),t.exports=e.default}}]);
//# sourceMappingURL=3.js.map