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
2 lines
51 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{1024:function(t,e,a){"use strict";var n={};(0,a(143).assign)(n,a(1025),a(1028),a(515)),t.exports=n},1025:function(t,e,a){"use strict";var n=a(1026),i=a(143),r=a(513),s=a(341),o=a(514),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 a=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==l)throw new Error(s[a]);if(e.header&&n.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,(a=n.deflateSetDictionary(this.strm,c))!==l)throw new Error(s[a]);this._dict_set=!0}}function c(t,e){var a=new _(e);if(a.push(t,!0),a.err)throw a.msg||s[a.err];return a.result}_.prototype.push=function(t,e){var a,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!==(a=n.deflate(o,s))&&a!==l)return this.onEnd(a),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!==a);return 4===s?(a=n.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===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)}},1026:function(t,e,a){"use strict";var n,i=a(143),r=a(1027),s=a(511),o=a(512),h=a(341),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,S=8,A=9,E=15,O=8,Z=286,C=30,N=19,R=2*Z+1,D=15,T=3,I=258,U=I+T+1,L=32,M=42,F=69,j=73,H=91,K=103,P=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,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(i.arraySet(t.output,e.pending_buf,e.pending_out,a,t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,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 at(t,e){t.pending_buf[t.pending++]=e}function nt(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function it(t,e){var a,n,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[(a=e)+s]===c&&l[a+s-1]===_&&l[a]===l[r]&&l[++a]===l[r+1]){r+=2,a++;do{}while(l[++r]===l[++a]&&l[++r]===l[++a]&&l[++r]===l[++a]&&l[++r]===l[++a]&&l[++r]===l[++a]&&l[++r]===l[++a]&&l[++r]===l[++a]&&l[++r]===l[++a]&&r<u);if(n=I-(u-r),r=u-I,n>s){if(t.match_start=e,s=n,n>=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 rt(t){var e,a,n,r,h,l,d,f,u,_,c=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-U)){i.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=c?n-c:0}while(--a);e=a=c;do{n=t.prev[--e],t.prev[e]=n>=c?n-c:0}while(--a);r+=c}if(0===t.strm.avail_in)break;if(l=t.strm,d=t.window,f=t.strstart+t.lookahead,u=r,_=void 0,(_=l.avail_in)>u&&(_=u),a=0===_?0:(l.avail_in-=_,i.arraySet(d,l.input,l.next_in,_,f),1===l.state.wrap?l.adler=s(l.adler,d,_,f):2===l.state.wrap&&(l.adler=o(l.adler,d,_,f)),l.next_in+=_,l.total_in+=_,_),t.lookahead+=a,t.lookahead+t.insert>=T)for(h=t.strstart-t.insert,t.ins_h=t.window[h],t.ins_h=(t.ins_h<<t.hash_shift^t.window[h+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[h+T-1])&t.hash_mask,t.prev[h&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=h,h++,t.insert--,!(t.lookahead+t.insert<T)););}while(t.lookahead<U&&0!==t.strm.avail_in)}function st(t,e){for(var a,n;;){if(t.lookahead<U){if(rt(t),t.lookahead<U&&e===l)return X;if(0===t.lookahead)break}if(a=0,t.lookahead>=T&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+T-1])&t.hash_mask,a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-U&&(t.match_length=it(t,a)),t.match_length>=T)if(n=r._tr_tally(t,t.strstart-t.match_start,t.match_length-T),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=T){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+T-1])&t.hash_mask,a=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 n=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(et(t,!1),0===t.strm.avail_out))return X}return t.insert=t.strstart<T-1?t.strstart:T-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 ot(t,e){for(var a,n,i;;){if(t.lookahead<U){if(rt(t),t.lookahead<U&&e===l)return X;if(0===t.lookahead)break}if(a=0,t.lookahead>=T&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+T-1])&t.hash_mask,a=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=T-1,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-U&&(t.match_length=it(t,a),t.match_length<=5&&(t.strategy===v||t.match_length===T&&t.strstart-t.match_start>4096)&&(t.match_length=T-1)),t.prev_length>=T&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-T,n=r._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-T),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+T-1])&t.hash_mask,a=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=T-1,t.strstart++,n&&(et(t,!1),0===t.strm.avail_out))return X}else if(t.match_available){if((n=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&&(n=r._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<T-1?t.strstart:T-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,a,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=i}function lt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=S,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(D+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}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:P,t.adler=2===e.wrap?0:1,e.last_flush=l,r._tr_init(e),c):V(t,g)}function ft(t){var e,a=dt(t);return a===c&&((e=t.state).window_size=2*e.w_size,$(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=T-1,e.match_available=0,e.ins_h=0),a}function ut(t,e,a,n,r,s){if(!t)return g;var o=1;if(e===m&&(e=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),r<1||r>A||a!==S||n<8||n>15||e<0||e>9||s<0||s>x)return V(t,g);8===n&&(n=9);var h=new lt;return t.state=h,h.strm=t,h.wrap=o,h.gzhead=null,h.w_bits=n,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+T-1)/T),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=a,ft(t)}n=[new ht(0,0,0,0,(function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(rt(t),0===t.lookahead&&e===l)return X;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,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 ht(4,4,8,4,st),new ht(4,5,16,8,st),new ht(4,6,32,32,st),new ht(4,4,16,16,ot),new ht(8,16,32,32,ot),new ht(8,16,128,128,ot),new ht(8,32,128,256,ot),new ht(32,128,258,1024,ot),new ht(32,258,258,4096,ot)],e.deflateInit=function(t,e){return ut(t,e,S,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 a,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,a=i.last_flush,i.last_flush=e,i.status===M)if(2===i.wrap)t.adler=0,at(i,31),at(i,139),at(i,8),i.gzhead?(at(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)),at(i,255&i.gzhead.time),at(i,i.gzhead.time>>8&255),at(i,i.gzhead.time>>16&255),at(i,i.gzhead.time>>24&255),at(i,9===i.level?2:i.strategy>=k||i.level<2?4:0),at(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(at(i,255&i.gzhead.extra.length),at(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):(at(i,0),at(i,0),at(i,0),at(i,0),at(i,0),at(i,9===i.level?2:i.strategy>=k||i.level<2?4:0),at(i,J),i.status=P);else{var w=S+(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=P,nt(i,w),0!==i.strstart&&(nt(i,t.adler>>>16),nt(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));)at(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,at(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,at(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=K)}else i.status=K;if(i.status===K&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&tt(t),i.pending+2<=i.pending_buf_size&&(at(i,255&t.adler),at(i,t.adler>>8&255),t.adler=0,i.status=P)):i.status=P),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(a)&&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 a;;){if(0===t.lookahead&&(rt(t),0===t.lookahead)){if(e===l)return X;break}if(t.match_length=0,a=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(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 a,n,i,s,o=t.window;;){if(t.lookahead<=I){if(rt(t),t.lookahead<=I&&e===l)return X;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=T&&t.strstart>0&&(n=o[i=t.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){s=t.strstart+I;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<s);t.match_length=I-(s-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=T?(a=r._tr_tally(t,1,t.match_length-T),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(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):n[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?(at(i,255&t.adler),at(i,t.adler>>8&255),at(i,t.adler>>16&255),at(i,t.adler>>24&255),at(i,255&t.total_in),at(i,t.total_in>>8&255),at(i,t.total_in>>16&255),at(i,t.total_in>>24&255)):(nt(i,t.adler>>>16),nt(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!==K&&e!==P&&e!==Y?V(t,g):(t.state=null,e===P?V(t,w):c):g},e.deflateSetDictionary=function(t,e){var a,n,r,o,h,l,d,f,u=e.length;if(!t||!t.state)return g;if(2===(o=(a=t.state).wrap)||1===o&&a.status!==M||a.lookahead)return g;for(1===o&&(t.adler=s(t.adler,e,u,0)),a.wrap=0,u>=a.w_size&&(0===o&&($(a.head),a.strstart=0,a.block_start=0,a.insert=0),f=new i.Buf8(a.w_size),i.arraySet(f,e,u-a.w_size,a.w_size,0),e=f,u=a.w_size),h=t.avail_in,l=t.next_in,d=t.input,t.avail_in=u,t.next_in=0,t.input=e,rt(a);a.lookahead>=T;){n=a.strstart,r=a.lookahead-(T-1);do{a.ins_h=(a.ins_h<<a.hash_shift^a.window[n+T-1])&a.hash_mask,a.prev[n&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=n,n++}while(--r);a.strstart=n,a.lookahead=T-1,rt(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=T-1,a.match_available=0,t.next_in=l,t.input=d,t.avail_in=h,a.wrap=o,c},e.deflateInfo="pako deflate (from Nodeca project)"},1027:function(t,e,a){"use strict";var n=a(143),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],S=[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],A=[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 D,T,I,U=new Array(p);function L(t,e,a,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,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,a){t.bi_valid>m-a?(t.bi_buf|=e<<t.bi_valid&65535,j(t,t.bi_buf),t.bi_buf=e>>m-t.bi_valid,t.bi_valid+=a-m):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)}function K(t,e,a){H(t,a[2*e],a[2*e+1])}function P(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1}function Y(t,e,a){var n,i,r=new Array(b+1),s=0;for(n=1;n<=b;n++)r[n]=s=s+a[n-1]<<1;for(i=0;i<=e;i++){var o=t[2*i+1];0!==o&&(t[2*i]=P(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,a,n){var i=2*e,r=2*a;return t[i]<t[r]||t[i]===t[r]&&n[e]<=n[a]}function q(t,e,a){for(var n=t.heap[a],i=a<<1;i<=t.heap_len&&(i<t.heap_len&&W(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!W(e,n,t.heap[i],t.depth));)t.heap[a]=t.heap[i],a=i,i<<=1;t.heap[a]=n}function J(t,e,a){var n,i,r,s,o=0;if(0!==t.last_lit)do{n=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===n?K(t,i,e):(K(t,(r=N[i])+_+1,e),0!==(s=B[r])&&H(t,i-=R[r],s),K(t,r=F(--n),a),0!==(s=S[r])&&H(t,n-=U[r],s))}while(o<t.last_lit);K(t,k,e)}function V(t,e){var a,n,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,a=0;a<h;a++)0!==r[2*a]?(t.heap[++t.heap_len]=l=a,t.depth[a]=0):r[2*a+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,a=t.heap_len>>1;a>=1;a--)q(t,r,a);i=h;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],q(t,r,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,r[2*i]=r[2*a]+r[2*n],t.depth[i]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,r[2*a+1]=r[2*n+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 a,n,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,a=t.heap_max+1;a<w;a++)(r=h[2*h[2*(n=t.heap[a])+1]+1]+1)>c&&(r=c,p++),h[2*n+1]=r,n>l||(t.bl_count[r]++,s=0,n>=_&&(s=u[n-_]),o=h[2*n],t.opt_len+=o*(r+s),f&&(t.static_len+=o*(d[2*n+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(n=t.bl_count[r];0!==n;)(i=t.heap[--a])>l||(h[2*i+1]!==r&&(t.opt_len+=(r-h[2*i+1])*h[2*i],h[2*i+1]=r),n--)}}(t,e),Y(r,l,t.bl_count)}function Q(t,e,a){var n,i,r=-1,s=e[1],o=0,h=7,l=4;for(0===s&&(h=138,l=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)i=s,s=e[2*(n+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,a){var n,i,r=-1,s=e[1],o=0,h=7,l=4;for(0===s&&(h=138,l=3),n=0;n<=a;n++)if(i=s,s=e[2*(n+1)+1],!(++o<h&&i===s)){if(o<l)do{K(t,i,t.bl_tree)}while(0!=--o);else 0!==i?(i!==r&&(K(t,i,t.bl_tree),o--),K(t,y,t.bl_tree),H(t,o-3,2)):o<=10?(K(t,x,t.bl_tree),H(t,o-3,3)):(K(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,a,i){H(t,(l<<1)+(i?1:0),3),function(t,e,a,i){G(t),i&&(j(t,a),j(t,~a)),n.arraySet(t.pending_buf,t.window,e,a,t.pending),t.pending+=a}(t,e,a,!0)}e._tr_init=function(t){tt||(!function(){var t,e,a,n,i,r=new Array(b+1);for(a=0,n=0;n<u-1;n++)for(R[n]=a,t=0;t<1<<B[n];t++)N[a++]=n;for(N[a-1]=n,i=0,n=0;n<16;n++)for(U[n]=i,t=0;t<1<<S[n];t++)C[i++]=n;for(i>>=7;n<p;n++)for(U[n]=i<<7,t=0;t<1<<S[n]-7;t++)C[256+i++]=n;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]=P(t,5);D=new L(O,B,_+1,c,b),T=new L(Z,S,0,p,b),I=new L(new Array(0),A,0,g,v)}(),tt=!0),t.l_desc=new M(t.dyn_ltree,D),t.d_desc=new M(t.dyn_dtree,T),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,a,n){var h,l,u=0;t.level>0?(t.strm.data_type===o&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&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=a+5,a+4<=h&&-1!==e?et(t,e,a,n):t.strategy===i||l===h?(H(t,(d<<1)+(n?1:0),3),J(t,O,Z)):(H(t,(f<<1)+(n?1:0),3),function(t,e,a,n){var i;for(H(t,e-257,5),H(t,a-1,5),H(t,n-4,4),i=0;i<n;i++)H(t,t.bl_tree[2*E[i]+1],3);$(t,t.dyn_ltree,e-1),$(t,t.dyn_dtree,a-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),n&&G(t)},e._tr_tally=function(t,e,a){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&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(N[a]+_+1)]++,t.dyn_dtree[2*F(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){H(t,d<<1,3),K(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)}},1028:function(t,e,a){"use strict";var n=a(1029),i=a(143),r=a(513),s=a(515),o=a(341),h=a(514),l=a(1032),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 a=n.inflateInit2(this.strm,e.windowBits);if(a!==s.Z_OK)throw new Error(o[a]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=r.string2buf(e.dictionary):"[object ArrayBuffer]"===d.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=n.inflateSetDictionary(this.strm,e.dictionary))!==s.Z_OK))throw new Error(o[a])}function u(t,e){var a=new f(e);if(a.push(t,!0),a.err)throw a.msg||o[a.err];return a.result}f.prototype.push=function(t,e){var a,o,h,l,f,u=this.strm,_=this.options.chunkSize,c=this.options.dictionary,p=!1;if(this.ended)return!1;o=e===~~e?e:!0===e?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof t?u.input=r.binstring2buf(t):"[object ArrayBuffer]"===d.call(t)?u.input=new Uint8Array(t):u.input=t,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new i.Buf8(_),u.next_out=0,u.avail_out=_),(a=n.inflate(u,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&c&&(a=n.inflateSetDictionary(this.strm,c)),a===s.Z_BUF_ERROR&&!0===p&&(a=s.Z_OK,p=!1),a!==s.Z_STREAM_END&&a!==s.Z_OK)return this.onEnd(a),this.ended=!0,!1;u.next_out&&(0!==u.avail_out&&a!==s.Z_STREAM_END&&(0!==u.avail_in||o!==s.Z_FINISH&&o!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(h=r.utf8border(u.output,u.next_out),l=u.next_out-h,f=r.buf2string(u.output,h),u.next_out=l,u.avail_out=_-l,l&&i.arraySet(u.output,u.output,h,l,0),this.onData(f)):this.onData(i.shrinkBuf(u.output,u.next_out)))),0===u.avail_in&&0===u.avail_out&&(p=!0)}while((u.avail_in>0||0===u.avail_out)&&a!==s.Z_STREAM_END);return a===s.Z_STREAM_END&&(o=s.Z_FINISH),o===s.Z_FINISH?(a=n.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===s.Z_OK):o!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),u.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},1029:function(t,e,a){"use strict";var n=a(143),i=a(511),r=a(512),s=a(1030),o=a(1031),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,S=5,A=6,E=7,O=8,Z=9,C=10,N=11,R=12,D=13,T=14,I=15,U=16,L=17,M=18,F=19,j=20,H=21,K=22,P=23,Y=24,X=25,G=26,W=27,q=28,J=29,V=30,Q=31,$=32,tt=852,et=592,at=15;function nt(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function it(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function rt(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 n.Buf32(tt),e.distcode=e.distdyn=new n.Buf32(et),e.sane=1,e.back=-1,c):w}function st(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,rt(t)):w}function ot(t,e){var a,n;return t&&t.state?(n=t.state,e<0?(a=0,e=-e):(a=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?w:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=a,n.wbits=e,st(t))):w}function ht(t,e){var a,n;return t?(n=new it,t.state=n,n.window=null,(a=ot(t,e))!==c&&(t.state=null),a):w}var lt,dt,ft=!0;function ut(t){if(ft){var e;for(lt=new n.Buf32(512),dt=new n.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,lt,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;o(d,t.lens,0,32,dt,0,t.work,{bits:5}),ft=!1}t.lencode=lt,t.lenbits=9,t.distcode=dt,t.distbits=5}function _t(t,e,a,i){var r,s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new n.Buf8(s.wsize)),i>=s.wsize?(n.arraySet(s.window,e,a-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((r=s.wsize-s.wnext)>i&&(r=i),n.arraySet(s.window,e,a-i,r,s.wnext),(i-=r)?(n.arraySet(s.window,e,a-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=st,e.inflateReset2=ot,e.inflateResetKeep=rt,e.inflateInit=function(t){return ht(t,at)},e.inflateInit2=ht,e.inflate=function(t,e){var a,tt,et,at,it,rt,st,ot,ht,lt,dt,ft,ct,pt,gt,wt,bt,mt,vt,kt,yt,xt,zt,Bt,St=0,At=new n.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;(a=t.state).mode===R&&(a.mode=D),it=t.next_out,et=t.output,st=t.avail_out,at=t.next_in,tt=t.input,rt=t.avail_in,ot=a.hold,ht=a.bits,lt=rt,dt=st,xt=c;t:for(;;)switch(a.mode){case y:if(0===a.wrap){a.mode=D;break}for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(2&a.wrap&&35615===ot){a.check=0,At[0]=255&ot,At[1]=ot>>>8&255,a.check=r(a.check,At,2,0),ot=0,ht=0,a.mode=x;break}if(a.flags=0,a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&ot)<<8)+(ot>>8))%31){t.msg="incorrect header check",a.mode=V;break}if((15&ot)!==k){t.msg="unknown compression method",a.mode=V;break}if(ht-=4,yt=8+(15&(ot>>>=4)),0===a.wbits)a.wbits=yt;else if(yt>a.wbits){t.msg="invalid window size",a.mode=V;break}a.dmax=1<<yt,t.adler=a.check=1,a.mode=512&ot?C:R,ot=0,ht=0;break;case x:for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(a.flags=ot,(255&a.flags)!==k){t.msg="unknown compression method",a.mode=V;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=V;break}a.head&&(a.head.text=ot>>8&1),512&a.flags&&(At[0]=255&ot,At[1]=ot>>>8&255,a.check=r(a.check,At,2,0)),ot=0,ht=0,a.mode=z;case z:for(;ht<32;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}a.head&&(a.head.time=ot),512&a.flags&&(At[0]=255&ot,At[1]=ot>>>8&255,At[2]=ot>>>16&255,At[3]=ot>>>24&255,a.check=r(a.check,At,4,0)),ot=0,ht=0,a.mode=B;case B:for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}a.head&&(a.head.xflags=255&ot,a.head.os=ot>>8),512&a.flags&&(At[0]=255&ot,At[1]=ot>>>8&255,a.check=r(a.check,At,2,0)),ot=0,ht=0,a.mode=S;case S:if(1024&a.flags){for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}a.length=ot,a.head&&(a.head.extra_len=ot),512&a.flags&&(At[0]=255&ot,At[1]=ot>>>8&255,a.check=r(a.check,At,2,0)),ot=0,ht=0}else a.head&&(a.head.extra=null);a.mode=A;case A:if(1024&a.flags&&((ft=a.length)>rt&&(ft=rt),ft&&(a.head&&(yt=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Array(a.head.extra_len)),n.arraySet(a.head.extra,tt,at,ft,yt)),512&a.flags&&(a.check=r(a.check,tt,ft,at)),rt-=ft,at+=ft,a.length-=ft),a.length))break t;a.length=0,a.mode=E;case E:if(2048&a.flags){if(0===rt)break t;ft=0;do{yt=tt[at+ft++],a.head&&yt&&a.length<65536&&(a.head.name+=String.fromCharCode(yt))}while(yt&&ft<rt);if(512&a.flags&&(a.check=r(a.check,tt,ft,at)),rt-=ft,at+=ft,yt)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=O;case O:if(4096&a.flags){if(0===rt)break t;ft=0;do{yt=tt[at+ft++],a.head&&yt&&a.length<65536&&(a.head.comment+=String.fromCharCode(yt))}while(yt&&ft<rt);if(512&a.flags&&(a.check=r(a.check,tt,ft,at)),rt-=ft,at+=ft,yt)break t}else a.head&&(a.head.comment=null);a.mode=Z;case Z:if(512&a.flags){for(;ht<16;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(ot!==(65535&a.check)){t.msg="header crc mismatch",a.mode=V;break}ot=0,ht=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=R;break;case C:for(;ht<32;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}t.adler=a.check=nt(ot),ot=0,ht=0,a.mode=N;case N:if(0===a.havedict)return t.next_out=it,t.avail_out=st,t.next_in=at,t.avail_in=rt,a.hold=ot,a.bits=ht,g;t.adler=a.check=1,a.mode=R;case R:if(e===u||e===_)break t;case D:if(a.last){ot>>>=7&ht,ht-=7&ht,a.mode=W;break}for(;ht<3;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}switch(a.last=1&ot,ht-=1,3&(ot>>>=1)){case 0:a.mode=T;break;case 1:if(ut(a),a.mode=j,e===_){ot>>>=2,ht-=2;break t}break;case 2:a.mode=L;break;case 3:t.msg="invalid block type",a.mode=V}ot>>>=2,ht-=2;break;case T:for(ot>>>=7&ht,ht-=7&ht;ht<32;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if((65535&ot)!=(ot>>>16^65535)){t.msg="invalid stored block lengths",a.mode=V;break}if(a.length=65535&ot,ot=0,ht=0,a.mode=I,e===_)break t;case I:a.mode=U;case U:if(ft=a.length){if(ft>rt&&(ft=rt),ft>st&&(ft=st),0===ft)break t;n.arraySet(et,tt,at,ft,it),rt-=ft,at+=ft,st-=ft,it+=ft,a.length-=ft;break}a.mode=R;break;case L:for(;ht<14;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(a.nlen=257+(31&ot),ot>>>=5,ht-=5,a.ndist=1+(31&ot),ot>>>=5,ht-=5,a.ncode=4+(15&ot),ot>>>=4,ht-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=V;break}a.have=0,a.mode=M;case M:for(;a.have<a.ncode;){for(;ht<3;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}a.lens[Et[a.have++]]=7&ot,ot>>>=3,ht-=3}for(;a.have<19;)a.lens[Et[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,zt={bits:a.lenbits},xt=o(h,a.lens,0,19,a.lencode,0,a.work,zt),a.lenbits=zt.bits,xt){t.msg="invalid code lengths set",a.mode=V;break}a.have=0,a.mode=F;case F:for(;a.have<a.nlen+a.ndist;){for(;wt=(St=a.lencode[ot&(1<<a.lenbits)-1])>>>16&255,bt=65535&St,!((gt=St>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(bt<16)ot>>>=gt,ht-=gt,a.lens[a.have++]=bt;else{if(16===bt){for(Bt=gt+2;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(ot>>>=gt,ht-=gt,0===a.have){t.msg="invalid bit length repeat",a.mode=V;break}yt=a.lens[a.have-1],ft=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[at++]<<ht,ht+=8}ht-=gt,yt=0,ft=3+(7&(ot>>>=gt)),ot>>>=3,ht-=3}else{for(Bt=gt+7;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}ht-=gt,yt=0,ft=11+(127&(ot>>>=gt)),ot>>>=7,ht-=7}if(a.have+ft>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=V;break}for(;ft--;)a.lens[a.have++]=yt}}if(a.mode===V)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=V;break}if(a.lenbits=9,zt={bits:a.lenbits},xt=o(l,a.lens,0,a.nlen,a.lencode,0,a.work,zt),a.lenbits=zt.bits,xt){t.msg="invalid literal/lengths set",a.mode=V;break}if(a.distbits=6,a.distcode=a.distdyn,zt={bits:a.distbits},xt=o(d,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,zt),a.distbits=zt.bits,xt){t.msg="invalid distances set",a.mode=V;break}if(a.mode=j,e===_)break t;case j:a.mode=H;case H:if(rt>=6&&st>=258){t.next_out=it,t.avail_out=st,t.next_in=at,t.avail_in=rt,a.hold=ot,a.bits=ht,s(t,dt),it=t.next_out,et=t.output,st=t.avail_out,at=t.next_in,tt=t.input,rt=t.avail_in,ot=a.hold,ht=a.bits,a.mode===R&&(a.back=-1);break}for(a.back=0;wt=(St=a.lencode[ot&(1<<a.lenbits)-1])>>>16&255,bt=65535&St,!((gt=St>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(wt&&0==(240&wt)){for(mt=gt,vt=wt,kt=bt;wt=(St=a.lencode[kt+((ot&(1<<mt+vt)-1)>>mt)])>>>16&255,bt=65535&St,!(mt+(gt=St>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}ot>>>=mt,ht-=mt,a.back+=mt}if(ot>>>=gt,ht-=gt,a.back+=gt,a.length=bt,0===wt){a.mode=G;break}if(32&wt){a.back=-1,a.mode=R;break}if(64&wt){t.msg="invalid literal/length code",a.mode=V;break}a.extra=15&wt,a.mode=K;case K:if(a.extra){for(Bt=a.extra;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}a.length+=ot&(1<<a.extra)-1,ot>>>=a.extra,ht-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=P;case P:for(;wt=(St=a.distcode[ot&(1<<a.distbits)-1])>>>16&255,bt=65535&St,!((gt=St>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(0==(240&wt)){for(mt=gt,vt=wt,kt=bt;wt=(St=a.distcode[kt+((ot&(1<<mt+vt)-1)>>mt)])>>>16&255,bt=65535&St,!(mt+(gt=St>>>24)<=ht);){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}ot>>>=mt,ht-=mt,a.back+=mt}if(ot>>>=gt,ht-=gt,a.back+=gt,64&wt){t.msg="invalid distance code",a.mode=V;break}a.offset=bt,a.extra=15&wt,a.mode=Y;case Y:if(a.extra){for(Bt=a.extra;ht<Bt;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}a.offset+=ot&(1<<a.extra)-1,ot>>>=a.extra,ht-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=V;break}a.mode=X;case X:if(0===st)break t;if(ft=dt-st,a.offset>ft){if((ft=a.offset-ft)>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=V;break}ft>a.wnext?(ft-=a.wnext,ct=a.wsize-ft):ct=a.wnext-ft,ft>a.length&&(ft=a.length),pt=a.window}else pt=et,ct=it-a.offset,ft=a.length;ft>st&&(ft=st),st-=ft,a.length-=ft;do{et[it++]=pt[ct++]}while(--ft);0===a.length&&(a.mode=H);break;case G:if(0===st)break t;et[it++]=a.length,st--,a.mode=H;break;case W:if(a.wrap){for(;ht<32;){if(0===rt)break t;rt--,ot|=tt[at++]<<ht,ht+=8}if(dt-=st,t.total_out+=dt,a.total+=dt,dt&&(t.adler=a.check=a.flags?r(a.check,et,dt,it-dt):i(a.check,et,dt,it-dt)),dt=st,(a.flags?ot:nt(ot))!==a.check){t.msg="incorrect data check",a.mode=V;break}ot=0,ht=0}a.mode=q;case q:if(a.wrap&&a.flags){for(;ht<32;){if(0===rt)break t;rt--,ot+=tt[at++]<<ht,ht+=8}if(ot!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=V;break}ot=0,ht=0}a.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=at,t.avail_in=rt,a.hold=ot,a.bits=ht,(a.wsize||dt!==t.avail_out&&a.mode<V&&(a.mode<W||e!==f))&&_t(t,t.output,t.next_out,dt-t.avail_out)?(a.mode=Q,m):(lt-=t.avail_in,dt-=t.avail_out,t.total_in+=lt,t.total_out+=dt,a.total+=dt,a.wrap&&dt&&(t.adler=a.check=a.flags?r(a.check,et,dt,t.next_out-dt):i(a.check,et,dt,t.next_out-dt)),t.data_type=a.bits+(a.last?64:0)+(a.mode===R?128:0)+(a.mode===j||a.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 a;return t&&t.state?0==(2&(a=t.state).wrap)?w:(a.head=e,e.done=!1,c):w},e.inflateSetDictionary=function(t,e){var a,n=e.length;return t&&t.state?0!==(a=t.state).wrap&&a.mode!==N?w:a.mode===N&&i(1,e,n,0)!==a.check?b:_t(t,e,n,n)?(a.mode=Q,m):(a.havedict=1,c):w},e.inflateInfo="pako inflate (from Nodeca project)"},1030:function(t,e,a){"use strict";t.exports=function(t,e){var a,n,i,r,s,o,h,l,d,f,u,_,c,p,g,w,b,m,v,k,y,x,z,B,S;a=t.state,n=t.next_in,B=t.input,i=n+(t.avail_in-5),r=t.next_out,S=t.output,s=r-(e-t.avail_out),o=r+(t.avail_out-257),h=a.dmax,l=a.wsize,d=a.whave,f=a.wnext,u=a.window,_=a.hold,c=a.bits,p=a.lencode,g=a.distcode,w=(1<<a.lenbits)-1,b=(1<<a.distbits)-1;t:do{c<15&&(_+=B[n++]<<c,c+=8,_+=B[n++]<<c,c+=8),m=p[_&w];e:for(;;){if(_>>>=v=m>>>24,c-=v,0===(v=m>>>16&255))S[r++]=65535&m;else{if(!(16&v)){if(0==(64&v)){m=p[(65535&m)+(_&(1<<v)-1)];continue e}if(32&v){a.mode=12;break t}t.msg="invalid literal/length code",a.mode=30;break t}k=65535&m,(v&=15)&&(c<v&&(_+=B[n++]<<c,c+=8),k+=_&(1<<v)-1,_>>>=v,c-=v),c<15&&(_+=B[n++]<<c,c+=8,_+=B[n++]<<c,c+=8),m=g[_&b];a:for(;;){if(_>>>=v=m>>>24,c-=v,!(16&(v=m>>>16&255))){if(0==(64&v)){m=g[(65535&m)+(_&(1<<v)-1)];continue a}t.msg="invalid distance code",a.mode=30;break t}if(y=65535&m,c<(v&=15)&&(_+=B[n++]<<c,(c+=8)<v&&(_+=B[n++]<<c,c+=8)),(y+=_&(1<<v)-1)>h){t.msg="invalid distance too far back",a.mode=30;break t}if(_>>>=v,c-=v,y>(v=r-s)){if((v=y-v)>d&&a.sane){t.msg="invalid distance too far back",a.mode=30;break t}if(x=0,z=u,0===f){if(x+=l-v,v<k){k-=v;do{S[r++]=u[x++]}while(--v);x=r-y,z=S}}else if(f<v){if(x+=l+f-v,(v-=f)<k){k-=v;do{S[r++]=u[x++]}while(--v);if(x=0,f<k){k-=v=f;do{S[r++]=u[x++]}while(--v);x=r-y,z=S}}}else if(x+=f-v,v<k){k-=v;do{S[r++]=u[x++]}while(--v);x=r-y,z=S}for(;k>2;)S[r++]=z[x++],S[r++]=z[x++],S[r++]=z[x++],k-=3;k&&(S[r++]=z[x++],k>1&&(S[r++]=z[x++]))}else{x=r-y;do{S[r++]=S[x++],S[r++]=S[x++],S[r++]=S[x++],k-=3}while(k>2);k&&(S[r++]=S[x++],k>1&&(S[r++]=S[x++]))}break}}break}}while(n<i&&r<o);n-=k=c>>3,_&=(1<<(c-=k<<3))-1,t.next_in=n,t.next_out=r,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=r<o?o-r+257:257-(r-o),a.hold=_,a.bits=c}},1031:function(t,e,a){"use strict";var n=a(143),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,a,h,l,d,f,u){var _,c,p,g,w,b,m,v,k,y=u.bits,x=0,z=0,B=0,S=0,A=0,E=0,O=0,Z=0,C=0,N=0,R=null,D=0,T=new n.Buf16(16),I=new n.Buf16(16),U=null,L=0;for(x=0;x<=15;x++)T[x]=0;for(z=0;z<h;z++)T[e[a+z]]++;for(A=y,S=15;S>=1&&0===T[S];S--);if(A>S&&(A=S),0===S)return l[d++]=20971520,l[d++]=20971520,u.bits=1,0;for(B=1;B<S&&0===T[B];B++);for(A<B&&(A=B),Z=1,x=1;x<=15;x++)if(Z<<=1,(Z-=T[x])<0)return-1;if(Z>0&&(0===t||1!==S))return-1;for(I[1]=0,x=1;x<15;x++)I[x+1]=I[x]+T[x];for(z=0;z<h;z++)0!==e[a+z]&&(f[I[e[a+z]]++]=z);if(0===t?(R=U=f,b=19):1===t?(R=i,D-=257,U=r,L-=257,b=256):(R=s,U=o,b=-1),N=0,z=0,x=B,w=d,E=A,O=0,p=-1,g=(C=1<<A)-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[D+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==--T[x]){if(x===S)break;x=e[a+f[z]]}if(x>A&&(N&g)!==p){for(0===O&&(O=A),w+=B,Z=1<<(E=x-O);E+O<S&&!((Z-=T[E+O])<=0);)E++,Z<<=1;if(C+=1<<E,1===t&&C>852||2===t&&C>592)return 1;l[p=N&g]=A<<24|E<<16|w-d|0}}return 0!==N&&(l[w+N]=x-O<<24|64<<16|0),u.bits=A,0}},1032:function(t,e,a){"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}},143:function(t,e,a){"use strict";var n="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 a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(var n in a)i(a,n)&&(t[n]=a[n])}}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,a,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(a,a+n),i);else for(var r=0;r<n;r++)t[i+r]=e[a+r]},flattenChunks:function(t){var e,a,n,i,r,s;for(n=0,e=0,a=t.length;e<a;e++)n+=t[e].length;for(s=new Uint8Array(n),i=0,e=0,a=t.length;e<a;e++)r=t[e],s.set(r,i),i+=r.length;return s}},s={arraySet:function(t,e,a,n,i){for(var r=0;r<n;r++)t[i+r]=e[a+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(n)},341:function(t,e,a){"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"}},509:function(t,e,a){"use strict";function n(t,e,a){return e<=t&&t<=a}function i(t){if(void 0===t)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}a.r(e),a.d(e,"TextEncoder",(function(){return f})),a.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"})}function u(t){var e=t.fatal,a=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(n(f,0,127))return f;if(n(f,194,223))s=1,a=f-192;else if(n(f,224,239))224===f&&(l=160),237===f&&(d=159),s=2,a=f-224;else{if(!n(f,240,244))return h(e);240===f&&(l=144),244===f&&(d=143),s=3,a=f-240}return a<<=6*s,null}if(!n(f,l,d))return a=s=i=0,l=128,d=191,t.prepend(f),h(e);if(l=128,d=191,a+=f-128<<6*(s-(i+=1)),i!==s)return null;var u=a;return a=s=i=0,u}}function _(t){t.fatal;this.handler=function(t,e){if(e===r)return o;if(n(e,0,127))return e;var a,i;n(e,128,2047)?(a=1,i=192):n(e,2048,65535)?(a=2,i=224):n(e,65536,1114111)&&(a=3,i=240);for(var s=[(e>>6*a)+i];a>0;){var h=e>>6*(a-1);s.push(128|63&h),a-=1}return s}}d.prototype={decode:function(t,e){var a;a="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 u({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(e.stream);for(var n,r=new s(a),h=[];!r.endOfStream()&&(n=this._decoder.handler(r,r.read()))!==o;)null!==n&&(Array.isArray(n)?h.push.apply(h,n):h.push(n));if(!this._streaming){do{if((n=this._decoder.handler(r,r.read()))===o)break;null!==n&&(Array.isArray(n)?h.push.apply(h,n):h.push(n))}while(!r.endOfStream());this._decoder=null}return h.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===h[0]?(this._BOMseen=!0,h.shift()):this._BOMseen=!0)),function(t){for(var e="",a=0;a<t.length;++a){var n=t[a];n<=65535?e+=String.fromCharCode(n):(n-=65536,e+=String.fromCharCode(55296+(n>>10),56320+(1023&n)))}return e}(h)}},f.prototype={encode:function(t,e){t=t?String(t):"",e=i(e),this._streaming||(this._encoder=new _(this._options)),this._streaming=Boolean(e.stream);for(var a,n=[],r=new s(function(t){for(var e=String(t),a=e.length,n=0,i=[];n<a;){var r=e.charCodeAt(n);if(r<55296||r>57343)i.push(r);else if(56320<=r&&r<=57343)i.push(65533);else if(55296<=r&&r<=56319)if(n===a-1)i.push(65533);else{var s=t.charCodeAt(n+1);if(56320<=s&&s<=57343){var o=1023&r,h=1023&s;i.push(65536+(o<<10)+h),n+=1}else i.push(65533)}n+=1}return i}(t));!r.endOfStream()&&(a=this._encoder.handler(r,r.read()))!==o;)Array.isArray(a)?n.push.apply(n,a):n.push(a);if(!this._streaming){for(;(a=this._encoder.handler(r,r.read()))!==o;)Array.isArray(a)?n.push.apply(n,a):n.push(a);this._encoder=null}return new Uint8Array(n)}}},511:function(t,e,a){"use strict";t.exports=function(t,e,a,n){for(var i=65535&t|0,r=t>>>16&65535|0,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{r=r+(i=i+e[n++]|0)|0}while(--s);i%=65521,r%=65521}return i|r<<16|0}},512:function(t,e,a){"use strict";var n=function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}();t.exports=function(t,e,a,i){var r=n,s=i+a;t^=-1;for(var o=i;o<s;o++)t=t>>>8^r[255&(t^e[o])];return-1^t}},513:function(t,e,a){"use strict";var n=a(143),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 n.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<65534&&(t.subarray&&r||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var a="",s=0;s<e;s++)a+=String.fromCharCode(t[s]);return a}s[254]=s[254]=1,e.string2buf=function(t){var e,a,i,r,s,o=t.length,h=0;for(r=0;r<o;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<o&&56320==(64512&(i=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(i-56320),r++),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new n.Buf8(h),s=0,r=0;s<h;r++)55296==(64512&(a=t.charCodeAt(r)))&&r+1<o&&56320==(64512&(i=t.charCodeAt(r+1)))&&(a=65536+(a-55296<<10)+(i-56320),r++),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},e.buf2binstring=function(t){return h(t,t.length)},e.binstring2buf=function(t){for(var e=new n.Buf8(t.length),a=0,i=e.length;a<i;a++)e[a]=t.charCodeAt(a);return e},e.buf2string=function(t,e){var a,n,i,r,o=e||t.length,l=new Array(2*o);for(n=0,a=0;a<o;)if((i=t[a++])<128)l[n++]=i;else if((r=s[i])>4)l[n++]=65533,a+=r-1;else{for(i&=2===r?31:3===r?15:7;r>1&&a<o;)i=i<<6|63&t[a++],r--;r>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return h(l,n)},e.utf8border=function(t,e){var a;for((e=e||t.length)>t.length&&(e=t.length),a=e-1;a>=0&&128==(192&t[a]);)a--;return a<0?e:0===a?e:a+s[t[a]]>e?a:e}},514:function(t,e,a){"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}},515:function(t,e,a){"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}},519:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=_(a(14)),i=_(a(18)),r=a(9),s=_(r),o=_(a(1024)),h=_(a(10)),l=_(a(67)),d=a(4),f=_(a(343)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e.default=t,e}(a(509));function _(t){return t&&t.__esModule?t:{default:t}}var c,p=window.TextEncoder;function g(t,e,a){var n=s.default.defer(),i=new XMLHttpRequest;return i.open("POST",t),i.timeout=3e5,i.onreadystatechange=function(){i.readyState===XMLHttpRequest.LOADING?a((0,d._t)("Waiting for response from server")):i.readyState===XMLHttpRequest.DONE&&function(){if(i.status<200||i.status>=400)return void n.reject(new Error("HTTP "+i.status));n.resolve()}()},i.send(e),n.promise}p||(p=u.TextEncoder),e.default=(c=(0,r.coroutine)(n.default.mark((function t(e,a){var s,u,_,c,w,b,m,v,k,y,x,z,B,S;return n.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=(a=a||{}).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),c=h.default.get(),console.log("Sending bug report."),(w=new FormData).append("text",a.userText||"User did not supply any additional text."),w.append("app","riot-web"),w.append("version",u),w.append("user_agent",_),c&&(w.append("user_id",c.credentials.userId),w.append("device_id",c.deviceId)),!a.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 p).encode(z.lines),S=o.default.gzip(B),w.append("compressed-log",new Blob([S]),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)(g(e,w,s));case 51:case"end":return t.stop()}}),t,this,[[6,12],[32,36,40,48],[41,,43,47]])}))),function(t,e){return c.apply(this,arguments)}),t.exports=e.default}}]);
|
|
//# sourceMappingURL=4.js.map
|