Newer
Older
osm-data / lib / ol6.14.1-dist / 247.ol.js
@haya4 haya4 on 10 Nov 2023 45 KB index.geojson
/*! For license information please see 247.ol.js.LICENSE.txt */
"use strict";(self.webpackChunkol=self.webpackChunkol||[]).push([[247],{165:function(r,i,t){function e(r,i){var t=r.length-i,e=0;do{for(var n=i;n>0;n--)r[e+i]+=r[e],e++;t-=i}while(t>0)}function n(r,i,t){for(var e=0,n=r.length,f=n/t;n>i;){for(var a=i;a>0;--a)r[e+i]+=r[e],++e;n-=i}for(var o=r.slice(),s=0;s<f;++s)for(var u=0;u<t;++u)r[t*s+u]=o[(t-u-1)*f+s]}function f(r,i,t,f,a,o){if(!i||1===i)return r;for(var s=0;s<a.length;++s){if(a[s]%8!=0)throw new Error("When decoding with predictor, only multiple of 8 bits are supported.");if(a[s]!==a[0])throw new Error("When decoding with predictor, all samples must have the same size.")}for(var u=a[0]/8,h=2===o?1:a.length,c=0;c<f&&!(c*h*t*u>=r.byteLength);++c){var l=void 0;if(2===i){switch(a[0]){case 8:l=new Uint8Array(r,c*h*t*u,h*t*u);break;case 16:l=new Uint16Array(r,c*h*t*u,h*t*u/2);break;case 32:l=new Uint32Array(r,c*h*t*u,h*t*u/4);break;default:throw new Error("Predictor 2 not allowed with ".concat(a[0]," bits per sample."))}e(l,h)}else 3===i&&n(l=new Uint8Array(r,c*h*t*u,h*t*u),h,u)}return r}function a(r,i,t,e,n,f,a){try{var o=r[f](a),s=o.value}catch(r){return void t(r)}o.done?i(s):Promise.resolve(s).then(e,n)}function o(r,i){for(var t=0;t<i.length;t++){var e=i[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(r,e.key,e)}}t.d(i,{Z:function(){return s}});var s=function(){function r(){!function(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}(this,r)}var i,t,e,n,s;return i=r,(t=[{key:"decode",value:(n=regeneratorRuntime.mark((function r(i,t){var e,n,a,o,s;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.decodeBlock(t);case 2:if(e=r.sent,1===(n=i.Predictor||1)){r.next=9;break}return a=!i.StripOffsets,o=a?i.TileWidth:i.ImageWidth,s=a?i.TileLength:i.RowsPerStrip||i.ImageLength,r.abrupt("return",f(e,n,o,s,i.BitsPerSample,i.PlanarConfiguration));case 9:return r.abrupt("return",e);case 10:case"end":return r.stop()}}),r,this)})),s=function(){var r=this,i=arguments;return new Promise((function(t,e){var f=n.apply(r,i);function o(r){a(f,t,e,o,s,"next",r)}function s(r){a(f,t,e,o,s,"throw",r)}o(void 0)}))},function(r,i){return s.apply(this,arguments)})}])&&o(i.prototype,t),e&&o(i,e),Object.defineProperty(i,"prototype",{writable:!1}),r}()},535:function(r,i,t){function e(r){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(r)}t.d(i,{rr:function(){return Vi}});function n(r){for(var i=r.length;--i>=0;)r[i]=0}var f=256,a=286,o=30,s=15,u=new Uint8Array([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]),h=new Uint8Array([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]),c=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),l=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),w=new Array(576);n(w);var v=new Array(60);n(v);var b=new Array(512);n(b);var k=new Array(256);n(k);var d=new Array(29);n(d);var y,A,_,U=new Array(o);function E(r,i,t,e,n){this.static_tree=r,this.extra_bits=i,this.extra_base=t,this.elems=e,this.max_length=n,this.has_stree=r&&r.length}function m(r,i){this.dyn_tree=r,this.max_code=0,this.stat_desc=i}n(U);var p=function(r){return r<256?b[r]:b[256+(r>>>7)]},S=function(r,i){r.pending_buf[r.pending++]=255&i,r.pending_buf[r.pending++]=i>>>8&255},R=function(r,i,t){r.bi_valid>16-t?(r.bi_buf|=i<<r.bi_valid&65535,S(r,r.bi_buf),r.bi_buf=i>>16-r.bi_valid,r.bi_valid+=t-16):(r.bi_buf|=i<<r.bi_valid&65535,r.bi_valid+=t)},Z=function(r,i,t){R(r,t[2*i],t[2*i+1])},g=function(r,i){var t=0;do{t|=1&r,r>>>=1,t<<=1}while(--i>0);return t>>>1},T=function(r,i,t){var e,n,f=new Array(16),a=0;for(e=1;e<=s;e++)f[e]=a=a+t[e-1]<<1;for(n=0;n<=i;n++){var o=r[2*n+1];0!==o&&(r[2*n]=g(f[o]++,o))}},O=function(r){var i;for(i=0;i<a;i++)r.dyn_ltree[2*i]=0;for(i=0;i<o;i++)r.dyn_dtree[2*i]=0;for(i=0;i<19;i++)r.bl_tree[2*i]=0;r.dyn_ltree[512]=1,r.opt_len=r.static_len=0,r.last_lit=r.matches=0},I=function(r){r.bi_valid>8?S(r,r.bi_buf):r.bi_valid>0&&(r.pending_buf[r.pending++]=r.bi_buf),r.bi_buf=0,r.bi_valid=0},N=function(r,i,t,e){var n=2*i,f=2*t;return r[n]<r[f]||r[n]===r[f]&&e[i]<=e[t]},D=function(r,i,t){for(var e=r.heap[t],n=t<<1;n<=r.heap_len&&(n<r.heap_len&&N(i,r.heap[n+1],r.heap[n],r.depth)&&n++,!N(i,e,r.heap[n],r.depth));)r.heap[t]=r.heap[n],t=n,n<<=1;r.heap[t]=e},L=function(r,i,t){var e,n,a,o,s=0;if(0!==r.last_lit)do{e=r.pending_buf[r.d_buf+2*s]<<8|r.pending_buf[r.d_buf+2*s+1],n=r.pending_buf[r.l_buf+s],s++,0===e?Z(r,n,i):(a=k[n],Z(r,a+f+1,i),0!==(o=u[a])&&(n-=d[a],R(r,n,o)),e--,a=p(e),Z(r,a,t),0!==(o=h[a])&&(e-=U[a],R(r,e,o)))}while(s<r.last_lit);Z(r,256,i)},F=function(r,i){var t,e,n,f=i.dyn_tree,a=i.stat_desc.static_tree,o=i.stat_desc.has_stree,u=i.stat_desc.elems,h=-1;for(r.heap_len=0,r.heap_max=573,t=0;t<u;t++)0!==f[2*t]?(r.heap[++r.heap_len]=h=t,r.depth[t]=0):f[2*t+1]=0;for(;r.heap_len<2;)f[2*(n=r.heap[++r.heap_len]=h<2?++h:0)]=1,r.depth[n]=0,r.opt_len--,o&&(r.static_len-=a[2*n+1]);for(i.max_code=h,t=r.heap_len>>1;t>=1;t--)D(r,f,t);n=u;do{t=r.heap[1],r.heap[1]=r.heap[r.heap_len--],D(r,f,1),e=r.heap[1],r.heap[--r.heap_max]=t,r.heap[--r.heap_max]=e,f[2*n]=f[2*t]+f[2*e],r.depth[n]=(r.depth[t]>=r.depth[e]?r.depth[t]:r.depth[e])+1,f[2*t+1]=f[2*e+1]=n,r.heap[1]=n++,D(r,f,1)}while(r.heap_len>=2);r.heap[--r.heap_max]=r.heap[1],function(r,i){var t,e,n,f,a,o,u=i.dyn_tree,h=i.max_code,c=i.stat_desc.static_tree,l=i.stat_desc.has_stree,w=i.stat_desc.extra_bits,v=i.stat_desc.extra_base,b=i.stat_desc.max_length,k=0;for(f=0;f<=s;f++)r.bl_count[f]=0;for(u[2*r.heap[r.heap_max]+1]=0,t=r.heap_max+1;t<573;t++)(f=u[2*u[2*(e=r.heap[t])+1]+1]+1)>b&&(f=b,k++),u[2*e+1]=f,e>h||(r.bl_count[f]++,a=0,e>=v&&(a=w[e-v]),o=u[2*e],r.opt_len+=o*(f+a),l&&(r.static_len+=o*(c[2*e+1]+a)));if(0!==k){do{for(f=b-1;0===r.bl_count[f];)f--;r.bl_count[f]--,r.bl_count[f+1]+=2,r.bl_count[b]--,k-=2}while(k>0);for(f=b;0!==f;f--)for(e=r.bl_count[f];0!==e;)(n=r.heap[--t])>h||(u[2*n+1]!==f&&(r.opt_len+=(f-u[2*n+1])*u[2*n],u[2*n+1]=f),e--)}}(r,i),T(f,h,r.bl_count)},j=function(r,i,t){var e,n,f=-1,a=i[1],o=0,s=7,u=4;for(0===a&&(s=138,u=3),i[2*(t+1)+1]=65535,e=0;e<=t;e++)n=a,a=i[2*(e+1)+1],++o<s&&n===a||(o<u?r.bl_tree[2*n]+=o:0!==n?(n!==f&&r.bl_tree[2*n]++,r.bl_tree[32]++):o<=10?r.bl_tree[34]++:r.bl_tree[36]++,o=0,f=n,0===a?(s=138,u=3):n===a?(s=6,u=3):(s=7,u=4))},B=function(r,i,t){var e,n,f=-1,a=i[1],o=0,s=7,u=4;for(0===a&&(s=138,u=3),e=0;e<=t;e++)if(n=a,a=i[2*(e+1)+1],!(++o<s&&n===a)){if(o<u)do{Z(r,n,r.bl_tree)}while(0!=--o);else 0!==n?(n!==f&&(Z(r,n,r.bl_tree),o--),Z(r,16,r.bl_tree),R(r,o-3,2)):o<=10?(Z(r,17,r.bl_tree),R(r,o-3,3)):(Z(r,18,r.bl_tree),R(r,o-11,7));o=0,f=n,0===a?(s=138,u=3):n===a?(s=6,u=3):(s=7,u=4)}},H=!1,M=function(r,i,t,e){R(r,0+(e?1:0),3),function(r,i,t,e){I(r),e&&(S(r,t),S(r,~t)),r.pending_buf.set(r.window.subarray(i,i+t),r.pending),r.pending+=t}(r,i,t,!0)},P={_tr_init:function(r){H||(!function(){var r,i,t,e,n,f=new Array(16);for(t=0,e=0;e<28;e++)for(d[e]=t,r=0;r<1<<u[e];r++)k[t++]=e;for(k[t-1]=e,n=0,e=0;e<16;e++)for(U[e]=n,r=0;r<1<<h[e];r++)b[n++]=e;for(n>>=7;e<o;e++)for(U[e]=n<<7,r=0;r<1<<h[e]-7;r++)b[256+n++]=e;for(i=0;i<=s;i++)f[i]=0;for(r=0;r<=143;)w[2*r+1]=8,r++,f[8]++;for(;r<=255;)w[2*r+1]=9,r++,f[9]++;for(;r<=279;)w[2*r+1]=7,r++,f[7]++;for(;r<=287;)w[2*r+1]=8,r++,f[8]++;for(T(w,287,f),r=0;r<o;r++)v[2*r+1]=5,v[2*r]=g(r,5);y=new E(w,u,257,a,s),A=new E(v,h,0,o,s),_=new E(new Array(0),c,0,19,7)}(),H=!0),r.l_desc=new m(r.dyn_ltree,y),r.d_desc=new m(r.dyn_dtree,A),r.bl_desc=new m(r.bl_tree,_),r.bi_buf=0,r.bi_valid=0,O(r)},_tr_stored_block:M,_tr_flush_block:function(r,i,t,e){var n,a,o=0;r.level>0?(2===r.strm.data_type&&(r.strm.data_type=function(r){var i,t=4093624447;for(i=0;i<=31;i++,t>>>=1)if(1&t&&0!==r.dyn_ltree[2*i])return 0;if(0!==r.dyn_ltree[18]||0!==r.dyn_ltree[20]||0!==r.dyn_ltree[26])return 1;for(i=32;i<f;i++)if(0!==r.dyn_ltree[2*i])return 1;return 0}(r)),F(r,r.l_desc),F(r,r.d_desc),o=function(r){var i;for(j(r,r.dyn_ltree,r.l_desc.max_code),j(r,r.dyn_dtree,r.d_desc.max_code),F(r,r.bl_desc),i=18;i>=3&&0===r.bl_tree[2*l[i]+1];i--);return r.opt_len+=3*(i+1)+5+5+4,i}(r),n=r.opt_len+3+7>>>3,(a=r.static_len+3+7>>>3)<=n&&(n=a)):n=a=t+5,t+4<=n&&-1!==i?M(r,i,t,e):4===r.strategy||a===n?(R(r,2+(e?1:0),3),L(r,w,v)):(R(r,4+(e?1:0),3),function(r,i,t,e){var n;for(R(r,i-257,5),R(r,t-1,5),R(r,e-4,4),n=0;n<e;n++)R(r,r.bl_tree[2*l[n]+1],3);B(r,r.dyn_ltree,i-1),B(r,r.dyn_dtree,t-1)}(r,r.l_desc.max_code+1,r.d_desc.max_code+1,o+1),L(r,r.dyn_ltree,r.dyn_dtree)),O(r),e&&I(r)},_tr_tally:function(r,i,t){return r.pending_buf[r.d_buf+2*r.last_lit]=i>>>8&255,r.pending_buf[r.d_buf+2*r.last_lit+1]=255&i,r.pending_buf[r.l_buf+r.last_lit]=255&t,r.last_lit++,0===i?r.dyn_ltree[2*t]++:(r.matches++,i--,r.dyn_ltree[2*(k[t]+f+1)]++,r.dyn_dtree[2*p(i)]++),r.last_lit===r.lit_bufsize-1},_tr_align:function(r){R(r,2,3),Z(r,256,w),function(r){16===r.bi_valid?(S(r,r.bi_buf),r.bi_buf=0,r.bi_valid=0):r.bi_valid>=8&&(r.pending_buf[r.pending++]=255&r.bi_buf,r.bi_buf>>=8,r.bi_valid-=8)}(r)}},x=function(r,i,t,e){for(var n=65535&r|0,f=r>>>16&65535|0,a=0;0!==t;){t-=a=t>2e3?2e3:t;do{f=f+(n=n+i[e++]|0)|0}while(--a);n%=65521,f%=65521}return n|f<<16|0},C=new Uint32Array(function(){for(var r,i=[],t=0;t<256;t++){r=t;for(var e=0;e<8;e++)r=1&r?3988292384^r>>>1:r>>>1;i[t]=r}return i}()),z=function(r,i,t,e){var n=C,f=e+t;r^=-1;for(var a=e;a<f;a++)r=r>>>8^n[255&(r^i[a])];return-1^r},K={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"},Y={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_MEM_ERROR:-4,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},W=P._tr_init,G=P._tr_stored_block,X=P._tr_flush_block,q=P._tr_tally,J=P._tr_align,Q=Y.Z_NO_FLUSH,V=Y.Z_PARTIAL_FLUSH,$=Y.Z_FULL_FLUSH,rr=Y.Z_FINISH,ir=Y.Z_BLOCK,tr=Y.Z_OK,er=Y.Z_STREAM_END,nr=Y.Z_STREAM_ERROR,fr=Y.Z_DATA_ERROR,ar=Y.Z_BUF_ERROR,or=Y.Z_DEFAULT_COMPRESSION,sr=Y.Z_FILTERED,ur=Y.Z_HUFFMAN_ONLY,hr=Y.Z_RLE,cr=Y.Z_FIXED,lr=Y.Z_DEFAULT_STRATEGY,wr=Y.Z_UNKNOWN,vr=Y.Z_DEFLATED,br=258,kr=262,dr=103,yr=113,Ar=666,_r=function(r,i){return r.msg=K[i],i},Ur=function(r){return(r<<1)-(r>4?9:0)},Er=function(r){for(var i=r.length;--i>=0;)r[i]=0},mr=function(r,i,t){return(i<<r.hash_shift^t)&r.hash_mask},pr=function(r){var i=r.state,t=i.pending;t>r.avail_out&&(t=r.avail_out),0!==t&&(r.output.set(i.pending_buf.subarray(i.pending_out,i.pending_out+t),r.next_out),r.next_out+=t,i.pending_out+=t,r.total_out+=t,r.avail_out-=t,i.pending-=t,0===i.pending&&(i.pending_out=0))},Sr=function(r,i){X(r,r.block_start>=0?r.block_start:-1,r.strstart-r.block_start,i),r.block_start=r.strstart,pr(r.strm)},Rr=function(r,i){r.pending_buf[r.pending++]=i},Zr=function(r,i){r.pending_buf[r.pending++]=i>>>8&255,r.pending_buf[r.pending++]=255&i},gr=function(r,i){var t,e,n=r.max_chain_length,f=r.strstart,a=r.prev_length,o=r.nice_match,s=r.strstart>r.w_size-kr?r.strstart-(r.w_size-kr):0,u=r.window,h=r.w_mask,c=r.prev,l=r.strstart+br,w=u[f+a-1],v=u[f+a];r.prev_length>=r.good_match&&(n>>=2),o>r.lookahead&&(o=r.lookahead);do{if(u[(t=i)+a]===v&&u[t+a-1]===w&&u[t]===u[f]&&u[++t]===u[f+1]){f+=2,t++;do{}while(u[++f]===u[++t]&&u[++f]===u[++t]&&u[++f]===u[++t]&&u[++f]===u[++t]&&u[++f]===u[++t]&&u[++f]===u[++t]&&u[++f]===u[++t]&&u[++f]===u[++t]&&f<l);if(e=br-(l-f),f=l-br,e>a){if(r.match_start=i,a=e,e>=o)break;w=u[f+a-1],v=u[f+a]}}}while((i=c[i&h])>s&&0!=--n);return a<=r.lookahead?a:r.lookahead},Tr=function(r){var i,t,e,n,f,a,o,s,u,h,c=r.w_size;do{if(n=r.window_size-r.lookahead-r.strstart,r.strstart>=c+(c-kr)){r.window.set(r.window.subarray(c,c+c),0),r.match_start-=c,r.strstart-=c,r.block_start-=c,i=t=r.hash_size;do{e=r.head[--i],r.head[i]=e>=c?e-c:0}while(--t);i=t=c;do{e=r.prev[--i],r.prev[i]=e>=c?e-c:0}while(--t);n+=c}if(0===r.strm.avail_in)break;if(a=r.strm,o=r.window,s=r.strstart+r.lookahead,u=n,h=void 0,(h=a.avail_in)>u&&(h=u),t=0===h?0:(a.avail_in-=h,o.set(a.input.subarray(a.next_in,a.next_in+h),s),1===a.state.wrap?a.adler=x(a.adler,o,h,s):2===a.state.wrap&&(a.adler=z(a.adler,o,h,s)),a.next_in+=h,a.total_in+=h,h),r.lookahead+=t,r.lookahead+r.insert>=3)for(f=r.strstart-r.insert,r.ins_h=r.window[f],r.ins_h=mr(r,r.ins_h,r.window[f+1]);r.insert&&(r.ins_h=mr(r,r.ins_h,r.window[f+3-1]),r.prev[f&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=f,f++,r.insert--,!(r.lookahead+r.insert<3)););}while(r.lookahead<kr&&0!==r.strm.avail_in)},Or=function(r,i){for(var t,e;;){if(r.lookahead<kr){if(Tr(r),r.lookahead<kr&&i===Q)return 1;if(0===r.lookahead)break}if(t=0,r.lookahead>=3&&(r.ins_h=mr(r,r.ins_h,r.window[r.strstart+3-1]),t=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart),0!==t&&r.strstart-t<=r.w_size-kr&&(r.match_length=gr(r,t)),r.match_length>=3)if(e=q(r,r.strstart-r.match_start,r.match_length-3),r.lookahead-=r.match_length,r.match_length<=r.max_lazy_match&&r.lookahead>=3){r.match_length--;do{r.strstart++,r.ins_h=mr(r,r.ins_h,r.window[r.strstart+3-1]),t=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart}while(0!=--r.match_length);r.strstart++}else r.strstart+=r.match_length,r.match_length=0,r.ins_h=r.window[r.strstart],r.ins_h=mr(r,r.ins_h,r.window[r.strstart+1]);else e=q(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++;if(e&&(Sr(r,!1),0===r.strm.avail_out))return 1}return r.insert=r.strstart<2?r.strstart:2,i===rr?(Sr(r,!0),0===r.strm.avail_out?3:4):r.last_lit&&(Sr(r,!1),0===r.strm.avail_out)?1:2},Ir=function(r,i){for(var t,e,n;;){if(r.lookahead<kr){if(Tr(r),r.lookahead<kr&&i===Q)return 1;if(0===r.lookahead)break}if(t=0,r.lookahead>=3&&(r.ins_h=mr(r,r.ins_h,r.window[r.strstart+3-1]),t=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart),r.prev_length=r.match_length,r.prev_match=r.match_start,r.match_length=2,0!==t&&r.prev_length<r.max_lazy_match&&r.strstart-t<=r.w_size-kr&&(r.match_length=gr(r,t),r.match_length<=5&&(r.strategy===sr||3===r.match_length&&r.strstart-r.match_start>4096)&&(r.match_length=2)),r.prev_length>=3&&r.match_length<=r.prev_length){n=r.strstart+r.lookahead-3,e=q(r,r.strstart-1-r.prev_match,r.prev_length-3),r.lookahead-=r.prev_length-1,r.prev_length-=2;do{++r.strstart<=n&&(r.ins_h=mr(r,r.ins_h,r.window[r.strstart+3-1]),t=r.prev[r.strstart&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=r.strstart)}while(0!=--r.prev_length);if(r.match_available=0,r.match_length=2,r.strstart++,e&&(Sr(r,!1),0===r.strm.avail_out))return 1}else if(r.match_available){if((e=q(r,0,r.window[r.strstart-1]))&&Sr(r,!1),r.strstart++,r.lookahead--,0===r.strm.avail_out)return 1}else r.match_available=1,r.strstart++,r.lookahead--}return r.match_available&&(e=q(r,0,r.window[r.strstart-1]),r.match_available=0),r.insert=r.strstart<2?r.strstart:2,i===rr?(Sr(r,!0),0===r.strm.avail_out?3:4):r.last_lit&&(Sr(r,!1),0===r.strm.avail_out)?1:2};function Nr(r,i,t,e,n){this.good_length=r,this.max_lazy=i,this.nice_length=t,this.max_chain=e,this.func=n}var Dr=[new Nr(0,0,0,0,(function(r,i){var t=65535;for(t>r.pending_buf_size-5&&(t=r.pending_buf_size-5);;){if(r.lookahead<=1){if(Tr(r),0===r.lookahead&&i===Q)return 1;if(0===r.lookahead)break}r.strstart+=r.lookahead,r.lookahead=0;var e=r.block_start+t;if((0===r.strstart||r.strstart>=e)&&(r.lookahead=r.strstart-e,r.strstart=e,Sr(r,!1),0===r.strm.avail_out))return 1;if(r.strstart-r.block_start>=r.w_size-kr&&(Sr(r,!1),0===r.strm.avail_out))return 1}return r.insert=0,i===rr?(Sr(r,!0),0===r.strm.avail_out?3:4):(r.strstart>r.block_start&&(Sr(r,!1),r.strm.avail_out),1)})),new Nr(4,4,8,4,Or),new Nr(4,5,16,8,Or),new Nr(4,6,32,32,Or),new Nr(4,4,16,16,Ir),new Nr(8,16,32,32,Ir),new Nr(8,16,128,128,Ir),new Nr(8,32,128,256,Ir),new Nr(32,128,258,1024,Ir),new Nr(32,258,258,4096,Ir)];function Lr(){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=vr,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 Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Er(this.dyn_ltree),Er(this.dyn_dtree),Er(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Er(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Er(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}var Fr=function(r){if(!r||!r.state)return _r(r,nr);r.total_in=r.total_out=0,r.data_type=wr;var i=r.state;return i.pending=0,i.pending_out=0,i.wrap<0&&(i.wrap=-i.wrap),i.status=i.wrap?42:yr,r.adler=2===i.wrap?0:1,i.last_flush=Q,W(i),tr},jr=function(r){var i,t=Fr(r);return t===tr&&((i=r.state).window_size=2*i.w_size,Er(i.head),i.max_lazy_match=Dr[i.level].max_lazy,i.good_match=Dr[i.level].good_length,i.nice_match=Dr[i.level].nice_length,i.max_chain_length=Dr[i.level].max_chain,i.strstart=0,i.block_start=0,i.lookahead=0,i.insert=0,i.match_length=i.prev_length=2,i.match_available=0,i.ins_h=0),t},Br=function(r,i,t,e,n,f){if(!r)return nr;var a=1;if(i===or&&(i=6),e<0?(a=0,e=-e):e>15&&(a=2,e-=16),n<1||n>9||t!==vr||e<8||e>15||i<0||i>9||f<0||f>cr)return _r(r,nr);8===e&&(e=9);var o=new Lr;return r.state=o,o.strm=r,o.wrap=a,o.gzhead=null,o.w_bits=e,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.d_buf=1*o.lit_bufsize,o.l_buf=3*o.lit_bufsize,o.level=i,o.strategy=f,o.method=t,jr(r)},Hr={deflateInit:function(r,i){return Br(r,i,vr,15,8,lr)},deflateInit2:Br,deflateReset:jr,deflateResetKeep:Fr,deflateSetHeader:function(r,i){return r&&r.state?2!==r.state.wrap?nr:(r.state.gzhead=i,tr):nr},deflate:function(r,i){var t,e;if(!r||!r.state||i>ir||i<0)return r?_r(r,nr):nr;var n=r.state;if(!r.output||!r.input&&0!==r.avail_in||n.status===Ar&&i!==rr)return _r(r,0===r.avail_out?ar:nr);n.strm=r;var f=n.last_flush;if(n.last_flush=i,42===n.status)if(2===n.wrap)r.adler=0,Rr(n,31),Rr(n,139),Rr(n,8),n.gzhead?(Rr(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Rr(n,255&n.gzhead.time),Rr(n,n.gzhead.time>>8&255),Rr(n,n.gzhead.time>>16&255),Rr(n,n.gzhead.time>>24&255),Rr(n,9===n.level?2:n.strategy>=ur||n.level<2?4:0),Rr(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Rr(n,255&n.gzhead.extra.length),Rr(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(r.adler=z(r.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Rr(n,0),Rr(n,0),Rr(n,0),Rr(n,0),Rr(n,0),Rr(n,9===n.level?2:n.strategy>=ur||n.level<2?4:0),Rr(n,3),n.status=yr);else{var a=vr+(n.w_bits-8<<4)<<8;a|=(n.strategy>=ur||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=yr,Zr(n,a),0!==n.strstart&&(Zr(n,r.adler>>>16),Zr(n,65535&r.adler)),r.adler=1}if(69===n.status)if(n.gzhead.extra){for(t=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>t&&(r.adler=z(r.adler,n.pending_buf,n.pending-t,t)),pr(r),t=n.pending,n.pending!==n.pending_buf_size));)Rr(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>t&&(r.adler=z(r.adler,n.pending_buf,n.pending-t,t)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){t=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>t&&(r.adler=z(r.adler,n.pending_buf,n.pending-t,t)),pr(r),t=n.pending,n.pending===n.pending_buf_size)){e=1;break}e=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Rr(n,e)}while(0!==e);n.gzhead.hcrc&&n.pending>t&&(r.adler=z(r.adler,n.pending_buf,n.pending-t,t)),0===e&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){t=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>t&&(r.adler=z(r.adler,n.pending_buf,n.pending-t,t)),pr(r),t=n.pending,n.pending===n.pending_buf_size)){e=1;break}e=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Rr(n,e)}while(0!==e);n.gzhead.hcrc&&n.pending>t&&(r.adler=z(r.adler,n.pending_buf,n.pending-t,t)),0===e&&(n.status=dr)}else n.status=dr;if(n.status===dr&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&pr(r),n.pending+2<=n.pending_buf_size&&(Rr(n,255&r.adler),Rr(n,r.adler>>8&255),r.adler=0,n.status=yr)):n.status=yr),0!==n.pending){if(pr(r),0===r.avail_out)return n.last_flush=-1,tr}else if(0===r.avail_in&&Ur(i)<=Ur(f)&&i!==rr)return _r(r,ar);if(n.status===Ar&&0!==r.avail_in)return _r(r,ar);if(0!==r.avail_in||0!==n.lookahead||i!==Q&&n.status!==Ar){var o=n.strategy===ur?function(r,i){for(var t;;){if(0===r.lookahead&&(Tr(r),0===r.lookahead)){if(i===Q)return 1;break}if(r.match_length=0,t=q(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++,t&&(Sr(r,!1),0===r.strm.avail_out))return 1}return r.insert=0,i===rr?(Sr(r,!0),0===r.strm.avail_out?3:4):r.last_lit&&(Sr(r,!1),0===r.strm.avail_out)?1:2}(n,i):n.strategy===hr?function(r,i){for(var t,e,n,f,a=r.window;;){if(r.lookahead<=br){if(Tr(r),r.lookahead<=br&&i===Q)return 1;if(0===r.lookahead)break}if(r.match_length=0,r.lookahead>=3&&r.strstart>0&&(e=a[n=r.strstart-1])===a[++n]&&e===a[++n]&&e===a[++n]){f=r.strstart+br;do{}while(e===a[++n]&&e===a[++n]&&e===a[++n]&&e===a[++n]&&e===a[++n]&&e===a[++n]&&e===a[++n]&&e===a[++n]&&n<f);r.match_length=br-(f-n),r.match_length>r.lookahead&&(r.match_length=r.lookahead)}if(r.match_length>=3?(t=q(r,1,r.match_length-3),r.lookahead-=r.match_length,r.strstart+=r.match_length,r.match_length=0):(t=q(r,0,r.window[r.strstart]),r.lookahead--,r.strstart++),t&&(Sr(r,!1),0===r.strm.avail_out))return 1}return r.insert=0,i===rr?(Sr(r,!0),0===r.strm.avail_out?3:4):r.last_lit&&(Sr(r,!1),0===r.strm.avail_out)?1:2}(n,i):Dr[n.level].func(n,i);if(3!==o&&4!==o||(n.status=Ar),1===o||3===o)return 0===r.avail_out&&(n.last_flush=-1),tr;if(2===o&&(i===V?J(n):i!==ir&&(G(n,0,0,!1),i===$&&(Er(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),pr(r),0===r.avail_out))return n.last_flush=-1,tr}return i!==rr?tr:n.wrap<=0?er:(2===n.wrap?(Rr(n,255&r.adler),Rr(n,r.adler>>8&255),Rr(n,r.adler>>16&255),Rr(n,r.adler>>24&255),Rr(n,255&r.total_in),Rr(n,r.total_in>>8&255),Rr(n,r.total_in>>16&255),Rr(n,r.total_in>>24&255)):(Zr(n,r.adler>>>16),Zr(n,65535&r.adler)),pr(r),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?tr:er)},deflateEnd:function(r){if(!r||!r.state)return nr;var i=r.state.status;return 42!==i&&69!==i&&73!==i&&91!==i&&i!==dr&&i!==yr&&i!==Ar?_r(r,nr):(r.state=null,i===yr?_r(r,fr):tr)},deflateSetDictionary:function(r,i){var t=i.length;if(!r||!r.state)return nr;var e=r.state,n=e.wrap;if(2===n||1===n&&42!==e.status||e.lookahead)return nr;if(1===n&&(r.adler=x(r.adler,i,t,0)),e.wrap=0,t>=e.w_size){0===n&&(Er(e.head),e.strstart=0,e.block_start=0,e.insert=0);var f=new Uint8Array(e.w_size);f.set(i.subarray(t-e.w_size,t),0),i=f,t=e.w_size}var a=r.avail_in,o=r.next_in,s=r.input;for(r.avail_in=t,r.next_in=0,r.input=i,Tr(e);e.lookahead>=3;){var u=e.strstart,h=e.lookahead-2;do{e.ins_h=mr(e,e.ins_h,e.window[u+3-1]),e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++}while(--h);e.strstart=u,e.lookahead=2,Tr(e)}return e.strstart+=e.lookahead,e.block_start=e.strstart,e.insert=e.lookahead,e.lookahead=0,e.match_length=e.prev_length=2,e.match_available=0,r.next_in=o,r.input=s,r.avail_in=a,e.wrap=n,tr},deflateInfo:"pako deflate (from Nodeca project)"},Mr=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},Pr=function(r){for(var i=Array.prototype.slice.call(arguments,1);i.length;){var t=i.shift();if(t){if("object"!==e(t))throw new TypeError(t+"must be non-object");for(var n in t)Mr(t,n)&&(r[n]=t[n])}}return r},xr=function(r){for(var i=0,t=0,e=r.length;t<e;t++)i+=r[t].length;for(var n=new Uint8Array(i),f=0,a=0,o=r.length;f<o;f++){var s=r[f];n.set(s,a),a+=s.length}return n},Cr=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(r){Cr=!1}for(var zr=new Uint8Array(256),Kr=0;Kr<256;Kr++)zr[Kr]=Kr>=252?6:Kr>=248?5:Kr>=240?4:Kr>=224?3:Kr>=192?2:1;zr[254]=zr[254]=1;var Yr=function(r){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(r);var i,t,e,n,f,a=r.length,o=0;for(n=0;n<a;n++)55296==(64512&(t=r.charCodeAt(n)))&&n+1<a&&56320==(64512&(e=r.charCodeAt(n+1)))&&(t=65536+(t-55296<<10)+(e-56320),n++),o+=t<128?1:t<2048?2:t<65536?3:4;for(i=new Uint8Array(o),f=0,n=0;f<o;n++)55296==(64512&(t=r.charCodeAt(n)))&&n+1<a&&56320==(64512&(e=r.charCodeAt(n+1)))&&(t=65536+(t-55296<<10)+(e-56320),n++),t<128?i[f++]=t:t<2048?(i[f++]=192|t>>>6,i[f++]=128|63&t):t<65536?(i[f++]=224|t>>>12,i[f++]=128|t>>>6&63,i[f++]=128|63&t):(i[f++]=240|t>>>18,i[f++]=128|t>>>12&63,i[f++]=128|t>>>6&63,i[f++]=128|63&t);return i},Wr=function(r,i){var t,e,n=i||r.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(r.subarray(0,i));var f=new Array(2*n);for(e=0,t=0;t<n;){var a=r[t++];if(a<128)f[e++]=a;else{var o=zr[a];if(o>4)f[e++]=65533,t+=o-1;else{for(a&=2===o?31:3===o?15:7;o>1&&t<n;)a=a<<6|63&r[t++],o--;o>1?f[e++]=65533:a<65536?f[e++]=a:(a-=65536,f[e++]=55296|a>>10&1023,f[e++]=56320|1023&a)}}}return function(r,i){if(i<65534&&r.subarray&&Cr)return String.fromCharCode.apply(null,r.length===i?r:r.subarray(0,i));for(var t="",e=0;e<i;e++)t+=String.fromCharCode(r[e]);return t}(f,e)},Gr=function(r,i){(i=i||r.length)>r.length&&(i=r.length);for(var t=i-1;t>=0&&128==(192&r[t]);)t--;return t<0||0===t?i:t+zr[r[t]]>i?t:i};var Xr=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},qr=Object.prototype.toString,Jr=Y.Z_NO_FLUSH,Qr=Y.Z_SYNC_FLUSH,Vr=Y.Z_FULL_FLUSH,$r=Y.Z_FINISH,ri=Y.Z_OK,ii=Y.Z_STREAM_END,ti=Y.Z_DEFAULT_COMPRESSION,ei=Y.Z_DEFAULT_STRATEGY,ni=Y.Z_DEFLATED;function fi(r){this.options=Pr({level:ti,method:ni,chunkSize:16384,windowBits:15,memLevel:8,strategy:ei},r||{});var i=this.options;i.raw&&i.windowBits>0?i.windowBits=-i.windowBits:i.gzip&&i.windowBits>0&&i.windowBits<16&&(i.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Xr,this.strm.avail_out=0;var t=Hr.deflateInit2(this.strm,i.level,i.method,i.windowBits,i.memLevel,i.strategy);if(t!==ri)throw new Error(K[t]);if(i.header&&Hr.deflateSetHeader(this.strm,i.header),i.dictionary){var e;if(e="string"==typeof i.dictionary?Yr(i.dictionary):"[object ArrayBuffer]"===qr.call(i.dictionary)?new Uint8Array(i.dictionary):i.dictionary,(t=Hr.deflateSetDictionary(this.strm,e))!==ri)throw new Error(K[t]);this._dict_set=!0}}fi.prototype.push=function(r,i){var t,e,n=this.strm,f=this.options.chunkSize;if(this.ended)return!1;for(e=i===~~i?i:!0===i?$r:Jr,"string"==typeof r?n.input=Yr(r):"[object ArrayBuffer]"===qr.call(r)?n.input=new Uint8Array(r):n.input=r,n.next_in=0,n.avail_in=n.input.length;;)if(0===n.avail_out&&(n.output=new Uint8Array(f),n.next_out=0,n.avail_out=f),(e===Qr||e===Vr)&&n.avail_out<=6)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else{if((t=Hr.deflate(n,e))===ii)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),t=Hr.deflateEnd(this.strm),this.onEnd(t),this.ended=!0,t===ri;if(0!==n.avail_out){if(e>0&&n.next_out>0)this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;else if(0===n.avail_in)break}else this.onData(n.output)}return!0},fi.prototype.onData=function(r){this.chunks.push(r)},fi.prototype.onEnd=function(r){r===ri&&(this.result=xr(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg};var ai=function(r,i){var t,e,n,f,a,o,s,u,h,c,l,w,v,b,k,d,y,A,_,U,E,m,p,S,R=r.state;t=r.next_in,p=r.input,e=t+(r.avail_in-5),n=r.next_out,S=r.output,f=n-(i-r.avail_out),a=n+(r.avail_out-257),o=R.dmax,s=R.wsize,u=R.whave,h=R.wnext,c=R.window,l=R.hold,w=R.bits,v=R.lencode,b=R.distcode,k=(1<<R.lenbits)-1,d=(1<<R.distbits)-1;r:do{w<15&&(l+=p[t++]<<w,w+=8,l+=p[t++]<<w,w+=8),y=v[l&k];i:for(;;){if(l>>>=A=y>>>24,w-=A,0===(A=y>>>16&255))S[n++]=65535&y;else{if(!(16&A)){if(0==(64&A)){y=v[(65535&y)+(l&(1<<A)-1)];continue i}if(32&A){R.mode=12;break r}r.msg="invalid literal/length code",R.mode=30;break r}_=65535&y,(A&=15)&&(w<A&&(l+=p[t++]<<w,w+=8),_+=l&(1<<A)-1,l>>>=A,w-=A),w<15&&(l+=p[t++]<<w,w+=8,l+=p[t++]<<w,w+=8),y=b[l&d];t:for(;;){if(l>>>=A=y>>>24,w-=A,!(16&(A=y>>>16&255))){if(0==(64&A)){y=b[(65535&y)+(l&(1<<A)-1)];continue t}r.msg="invalid distance code",R.mode=30;break r}if(U=65535&y,w<(A&=15)&&(l+=p[t++]<<w,(w+=8)<A&&(l+=p[t++]<<w,w+=8)),(U+=l&(1<<A)-1)>o){r.msg="invalid distance too far back",R.mode=30;break r}if(l>>>=A,w-=A,U>(A=n-f)){if((A=U-A)>u&&R.sane){r.msg="invalid distance too far back",R.mode=30;break r}if(E=0,m=c,0===h){if(E+=s-A,A<_){_-=A;do{S[n++]=c[E++]}while(--A);E=n-U,m=S}}else if(h<A){if(E+=s+h-A,(A-=h)<_){_-=A;do{S[n++]=c[E++]}while(--A);if(E=0,h<_){_-=A=h;do{S[n++]=c[E++]}while(--A);E=n-U,m=S}}}else if(E+=h-A,A<_){_-=A;do{S[n++]=c[E++]}while(--A);E=n-U,m=S}for(;_>2;)S[n++]=m[E++],S[n++]=m[E++],S[n++]=m[E++],_-=3;_&&(S[n++]=m[E++],_>1&&(S[n++]=m[E++]))}else{E=n-U;do{S[n++]=S[E++],S[n++]=S[E++],S[n++]=S[E++],_-=3}while(_>2);_&&(S[n++]=S[E++],_>1&&(S[n++]=S[E++]))}break}}break}}while(t<e&&n<a);t-=_=w>>3,l&=(1<<(w-=_<<3))-1,r.next_in=t,r.next_out=n,r.avail_in=t<e?e-t+5:5-(t-e),r.avail_out=n<a?a-n+257:257-(n-a),R.hold=l,R.bits=w},oi=15,si=new Uint16Array([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]),ui=new Uint8Array([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]),hi=new Uint16Array([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]),ci=new Uint8Array([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]),li=function(r,i,t,e,n,f,a,o){var s,u,h,c,l,w,v,b,k,d=o.bits,y=0,A=0,_=0,U=0,E=0,m=0,p=0,S=0,R=0,Z=0,g=null,T=0,O=new Uint16Array(16),I=new Uint16Array(16),N=null,D=0;for(y=0;y<=oi;y++)O[y]=0;for(A=0;A<e;A++)O[i[t+A]]++;for(E=d,U=oi;U>=1&&0===O[U];U--);if(E>U&&(E=U),0===U)return n[f++]=20971520,n[f++]=20971520,o.bits=1,0;for(_=1;_<U&&0===O[_];_++);for(E<_&&(E=_),S=1,y=1;y<=oi;y++)if(S<<=1,(S-=O[y])<0)return-1;if(S>0&&(0===r||1!==U))return-1;for(I[1]=0,y=1;y<oi;y++)I[y+1]=I[y]+O[y];for(A=0;A<e;A++)0!==i[t+A]&&(a[I[i[t+A]]++]=A);if(0===r?(g=N=a,w=19):1===r?(g=si,T-=257,N=ui,D-=257,w=256):(g=hi,N=ci,w=-1),Z=0,A=0,y=_,l=f,m=E,p=0,h=-1,c=(R=1<<E)-1,1===r&&R>852||2===r&&R>592)return 1;for(;;){v=y-p,a[A]<w?(b=0,k=a[A]):a[A]>w?(b=N[D+a[A]],k=g[T+a[A]]):(b=96,k=0),s=1<<y-p,_=u=1<<m;do{n[l+(Z>>p)+(u-=s)]=v<<24|b<<16|k|0}while(0!==u);for(s=1<<y-1;Z&s;)s>>=1;if(0!==s?(Z&=s-1,Z+=s):Z=0,A++,0==--O[y]){if(y===U)break;y=i[t+a[A]]}if(y>E&&(Z&c)!==h){for(0===p&&(p=E),l+=_,S=1<<(m=y-p);m+p<U&&!((S-=O[m+p])<=0);)m++,S<<=1;if(R+=1<<m,1===r&&R>852||2===r&&R>592)return 1;n[h=Z&c]=E<<24|m<<16|l-f|0}}return 0!==Z&&(n[l+Z]=y-p<<24|64<<16|0),o.bits=E,0},wi=Y.Z_FINISH,vi=Y.Z_BLOCK,bi=Y.Z_TREES,ki=Y.Z_OK,di=Y.Z_STREAM_END,yi=Y.Z_NEED_DICT,Ai=Y.Z_STREAM_ERROR,_i=Y.Z_DATA_ERROR,Ui=Y.Z_MEM_ERROR,Ei=Y.Z_BUF_ERROR,mi=Y.Z_DEFLATED,pi=12,Si=30,Ri=function(r){return(r>>>24&255)+(r>>>8&65280)+((65280&r)<<8)+((255&r)<<24)};function Zi(){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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var gi,Ti,Oi=function(r){if(!r||!r.state)return Ai;var i=r.state;return r.total_in=r.total_out=i.total=0,r.msg="",i.wrap&&(r.adler=1&i.wrap),i.mode=1,i.last=0,i.havedict=0,i.dmax=32768,i.head=null,i.hold=0,i.bits=0,i.lencode=i.lendyn=new Int32Array(852),i.distcode=i.distdyn=new Int32Array(592),i.sane=1,i.back=-1,ki},Ii=function(r){if(!r||!r.state)return Ai;var i=r.state;return i.wsize=0,i.whave=0,i.wnext=0,Oi(r)},Ni=function(r,i){var t;if(!r||!r.state)return Ai;var e=r.state;return i<0?(t=0,i=-i):(t=1+(i>>4),i<48&&(i&=15)),i&&(i<8||i>15)?Ai:(null!==e.window&&e.wbits!==i&&(e.window=null),e.wrap=t,e.wbits=i,Ii(r))},Di=function(r,i){if(!r)return Ai;var t=new Zi;r.state=t,t.window=null;var e=Ni(r,i);return e!==ki&&(r.state=null),e},Li=!0,Fi=function(r){if(Li){gi=new Int32Array(512),Ti=new Int32Array(32);for(var i=0;i<144;)r.lens[i++]=8;for(;i<256;)r.lens[i++]=9;for(;i<280;)r.lens[i++]=7;for(;i<288;)r.lens[i++]=8;for(li(1,r.lens,0,288,gi,0,r.work,{bits:9}),i=0;i<32;)r.lens[i++]=5;li(2,r.lens,0,32,Ti,0,r.work,{bits:5}),Li=!1}r.lencode=gi,r.lenbits=9,r.distcode=Ti,r.distbits=5},ji=function(r,i,t,e){var n,f=r.state;return null===f.window&&(f.wsize=1<<f.wbits,f.wnext=0,f.whave=0,f.window=new Uint8Array(f.wsize)),e>=f.wsize?(f.window.set(i.subarray(t-f.wsize,t),0),f.wnext=0,f.whave=f.wsize):((n=f.wsize-f.wnext)>e&&(n=e),f.window.set(i.subarray(t-e,t-e+n),f.wnext),(e-=n)?(f.window.set(i.subarray(t-e,t),0),f.wnext=e,f.whave=f.wsize):(f.wnext+=n,f.wnext===f.wsize&&(f.wnext=0),f.whave<f.wsize&&(f.whave+=n))),0},Bi={inflateReset:Ii,inflateReset2:Ni,inflateResetKeep:Oi,inflateInit:function(r){return Di(r,15)},inflateInit2:Di,inflate:function(r,i){var t,e,n,f,a,o,s,u,h,c,l,w,v,b,k,d,y,A,_,U,E,m,p,S,R=0,Z=new Uint8Array(4),g=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!r||!r.state||!r.output||!r.input&&0!==r.avail_in)return Ai;(t=r.state).mode===pi&&(t.mode=13),a=r.next_out,n=r.output,s=r.avail_out,f=r.next_in,e=r.input,o=r.avail_in,u=t.hold,h=t.bits,c=o,l=s,m=ki;r:for(;;)switch(t.mode){case 1:if(0===t.wrap){t.mode=13;break}for(;h<16;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(2&t.wrap&&35615===u){t.check=0,Z[0]=255&u,Z[1]=u>>>8&255,t.check=z(t.check,Z,2,0),u=0,h=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&u)<<8)+(u>>8))%31){r.msg="incorrect header check",t.mode=Si;break}if((15&u)!==mi){r.msg="unknown compression method",t.mode=Si;break}if(h-=4,E=8+(15&(u>>>=4)),0===t.wbits)t.wbits=E;else if(E>t.wbits){r.msg="invalid window size",t.mode=Si;break}t.dmax=1<<t.wbits,r.adler=t.check=1,t.mode=512&u?10:pi,u=0,h=0;break;case 2:for(;h<16;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(t.flags=u,(255&t.flags)!==mi){r.msg="unknown compression method",t.mode=Si;break}if(57344&t.flags){r.msg="unknown header flags set",t.mode=Si;break}t.head&&(t.head.text=u>>8&1),512&t.flags&&(Z[0]=255&u,Z[1]=u>>>8&255,t.check=z(t.check,Z,2,0)),u=0,h=0,t.mode=3;case 3:for(;h<32;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}t.head&&(t.head.time=u),512&t.flags&&(Z[0]=255&u,Z[1]=u>>>8&255,Z[2]=u>>>16&255,Z[3]=u>>>24&255,t.check=z(t.check,Z,4,0)),u=0,h=0,t.mode=4;case 4:for(;h<16;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}t.head&&(t.head.xflags=255&u,t.head.os=u>>8),512&t.flags&&(Z[0]=255&u,Z[1]=u>>>8&255,t.check=z(t.check,Z,2,0)),u=0,h=0,t.mode=5;case 5:if(1024&t.flags){for(;h<16;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}t.length=u,t.head&&(t.head.extra_len=u),512&t.flags&&(Z[0]=255&u,Z[1]=u>>>8&255,t.check=z(t.check,Z,2,0)),u=0,h=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&((w=t.length)>o&&(w=o),w&&(t.head&&(E=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(e.subarray(f,f+w),E)),512&t.flags&&(t.check=z(t.check,e,w,f)),o-=w,f+=w,t.length-=w),t.length))break r;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===o)break r;w=0;do{E=e[f+w++],t.head&&E&&t.length<65536&&(t.head.name+=String.fromCharCode(E))}while(E&&w<o);if(512&t.flags&&(t.check=z(t.check,e,w,f)),o-=w,f+=w,E)break r}else t.head&&(t.head.name=null);t.length=0,t.mode=8;case 8:if(4096&t.flags){if(0===o)break r;w=0;do{E=e[f+w++],t.head&&E&&t.length<65536&&(t.head.comment+=String.fromCharCode(E))}while(E&&w<o);if(512&t.flags&&(t.check=z(t.check,e,w,f)),o-=w,f+=w,E)break r}else t.head&&(t.head.comment=null);t.mode=9;case 9:if(512&t.flags){for(;h<16;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(u!==(65535&t.check)){r.msg="header crc mismatch",t.mode=Si;break}u=0,h=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),r.adler=t.check=0,t.mode=pi;break;case 10:for(;h<32;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}r.adler=t.check=Ri(u),u=0,h=0,t.mode=11;case 11:if(0===t.havedict)return r.next_out=a,r.avail_out=s,r.next_in=f,r.avail_in=o,t.hold=u,t.bits=h,yi;r.adler=t.check=1,t.mode=pi;case pi:if(i===vi||i===bi)break r;case 13:if(t.last){u>>>=7&h,h-=7&h,t.mode=27;break}for(;h<3;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}switch(t.last=1&u,h-=1,3&(u>>>=1)){case 0:t.mode=14;break;case 1:if(Fi(t),t.mode=20,i===bi){u>>>=2,h-=2;break r}break;case 2:t.mode=17;break;case 3:r.msg="invalid block type",t.mode=Si}u>>>=2,h-=2;break;case 14:for(u>>>=7&h,h-=7&h;h<32;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if((65535&u)!=(u>>>16^65535)){r.msg="invalid stored block lengths",t.mode=Si;break}if(t.length=65535&u,u=0,h=0,t.mode=15,i===bi)break r;case 15:t.mode=16;case 16:if(w=t.length){if(w>o&&(w=o),w>s&&(w=s),0===w)break r;n.set(e.subarray(f,f+w),a),o-=w,f+=w,s-=w,a+=w,t.length-=w;break}t.mode=pi;break;case 17:for(;h<14;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(t.nlen=257+(31&u),u>>>=5,h-=5,t.ndist=1+(31&u),u>>>=5,h-=5,t.ncode=4+(15&u),u>>>=4,h-=4,t.nlen>286||t.ndist>30){r.msg="too many length or distance symbols",t.mode=Si;break}t.have=0,t.mode=18;case 18:for(;t.have<t.ncode;){for(;h<3;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}t.lens[g[t.have++]]=7&u,u>>>=3,h-=3}for(;t.have<19;)t.lens[g[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,p={bits:t.lenbits},m=li(0,t.lens,0,19,t.lencode,0,t.work,p),t.lenbits=p.bits,m){r.msg="invalid code lengths set",t.mode=Si;break}t.have=0,t.mode=19;case 19:for(;t.have<t.nlen+t.ndist;){for(;d=(R=t.lencode[u&(1<<t.lenbits)-1])>>>16&255,y=65535&R,!((k=R>>>24)<=h);){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(y<16)u>>>=k,h-=k,t.lens[t.have++]=y;else{if(16===y){for(S=k+2;h<S;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(u>>>=k,h-=k,0===t.have){r.msg="invalid bit length repeat",t.mode=Si;break}E=t.lens[t.have-1],w=3+(3&u),u>>>=2,h-=2}else if(17===y){for(S=k+3;h<S;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}h-=k,E=0,w=3+(7&(u>>>=k)),u>>>=3,h-=3}else{for(S=k+7;h<S;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}h-=k,E=0,w=11+(127&(u>>>=k)),u>>>=7,h-=7}if(t.have+w>t.nlen+t.ndist){r.msg="invalid bit length repeat",t.mode=Si;break}for(;w--;)t.lens[t.have++]=E}}if(t.mode===Si)break;if(0===t.lens[256]){r.msg="invalid code -- missing end-of-block",t.mode=Si;break}if(t.lenbits=9,p={bits:t.lenbits},m=li(1,t.lens,0,t.nlen,t.lencode,0,t.work,p),t.lenbits=p.bits,m){r.msg="invalid literal/lengths set",t.mode=Si;break}if(t.distbits=6,t.distcode=t.distdyn,p={bits:t.distbits},m=li(2,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,p),t.distbits=p.bits,m){r.msg="invalid distances set",t.mode=Si;break}if(t.mode=20,i===bi)break r;case 20:t.mode=21;case 21:if(o>=6&&s>=258){r.next_out=a,r.avail_out=s,r.next_in=f,r.avail_in=o,t.hold=u,t.bits=h,ai(r,l),a=r.next_out,n=r.output,s=r.avail_out,f=r.next_in,e=r.input,o=r.avail_in,u=t.hold,h=t.bits,t.mode===pi&&(t.back=-1);break}for(t.back=0;d=(R=t.lencode[u&(1<<t.lenbits)-1])>>>16&255,y=65535&R,!((k=R>>>24)<=h);){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(d&&0==(240&d)){for(A=k,_=d,U=y;d=(R=t.lencode[U+((u&(1<<A+_)-1)>>A)])>>>16&255,y=65535&R,!(A+(k=R>>>24)<=h);){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}u>>>=A,h-=A,t.back+=A}if(u>>>=k,h-=k,t.back+=k,t.length=y,0===d){t.mode=26;break}if(32&d){t.back=-1,t.mode=pi;break}if(64&d){r.msg="invalid literal/length code",t.mode=Si;break}t.extra=15&d,t.mode=22;case 22:if(t.extra){for(S=t.extra;h<S;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}t.length+=u&(1<<t.extra)-1,u>>>=t.extra,h-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;d=(R=t.distcode[u&(1<<t.distbits)-1])>>>16&255,y=65535&R,!((k=R>>>24)<=h);){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(0==(240&d)){for(A=k,_=d,U=y;d=(R=t.distcode[U+((u&(1<<A+_)-1)>>A)])>>>16&255,y=65535&R,!(A+(k=R>>>24)<=h);){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}u>>>=A,h-=A,t.back+=A}if(u>>>=k,h-=k,t.back+=k,64&d){r.msg="invalid distance code",t.mode=Si;break}t.offset=y,t.extra=15&d,t.mode=24;case 24:if(t.extra){for(S=t.extra;h<S;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}t.offset+=u&(1<<t.extra)-1,u>>>=t.extra,h-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){r.msg="invalid distance too far back",t.mode=Si;break}t.mode=25;case 25:if(0===s)break r;if(w=l-s,t.offset>w){if((w=t.offset-w)>t.whave&&t.sane){r.msg="invalid distance too far back",t.mode=Si;break}w>t.wnext?(w-=t.wnext,v=t.wsize-w):v=t.wnext-w,w>t.length&&(w=t.length),b=t.window}else b=n,v=a-t.offset,w=t.length;w>s&&(w=s),s-=w,t.length-=w;do{n[a++]=b[v++]}while(--w);0===t.length&&(t.mode=21);break;case 26:if(0===s)break r;n[a++]=t.length,s--,t.mode=21;break;case 27:if(t.wrap){for(;h<32;){if(0===o)break r;o--,u|=e[f++]<<h,h+=8}if(l-=s,r.total_out+=l,t.total+=l,l&&(r.adler=t.check=t.flags?z(t.check,n,l,a-l):x(t.check,n,l,a-l)),l=s,(t.flags?u:Ri(u))!==t.check){r.msg="incorrect data check",t.mode=Si;break}u=0,h=0}t.mode=28;case 28:if(t.wrap&&t.flags){for(;h<32;){if(0===o)break r;o--,u+=e[f++]<<h,h+=8}if(u!==(4294967295&t.total)){r.msg="incorrect length check",t.mode=Si;break}u=0,h=0}t.mode=29;case 29:m=di;break r;case Si:m=_i;break r;case 31:return Ui;case 32:default:return Ai}return r.next_out=a,r.avail_out=s,r.next_in=f,r.avail_in=o,t.hold=u,t.bits=h,(t.wsize||l!==r.avail_out&&t.mode<Si&&(t.mode<27||i!==wi))&&ji(r,r.output,r.next_out,l-r.avail_out),c-=r.avail_in,l-=r.avail_out,r.total_in+=c,r.total_out+=l,t.total+=l,t.wrap&&l&&(r.adler=t.check=t.flags?z(t.check,n,l,r.next_out-l):x(t.check,n,l,r.next_out-l)),r.data_type=t.bits+(t.last?64:0)+(t.mode===pi?128:0)+(20===t.mode||15===t.mode?256:0),(0===c&&0===l||i===wi)&&m===ki&&(m=Ei),m},inflateEnd:function(r){if(!r||!r.state)return Ai;var i=r.state;return i.window&&(i.window=null),r.state=null,ki},inflateGetHeader:function(r,i){if(!r||!r.state)return Ai;var t=r.state;return 0==(2&t.wrap)?Ai:(t.head=i,i.done=!1,ki)},inflateSetDictionary:function(r,i){var t,e=i.length;return r&&r.state?0!==(t=r.state).wrap&&11!==t.mode?Ai:11===t.mode&&x(1,i,e,0)!==t.check?_i:ji(r,i,e,e)?(t.mode=31,Ui):(t.havedict=1,ki):Ai},inflateInfo:"pako inflate (from Nodeca project)"};var Hi=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},Mi=Object.prototype.toString,Pi=Y.Z_NO_FLUSH,xi=Y.Z_FINISH,Ci=Y.Z_OK,zi=Y.Z_STREAM_END,Ki=Y.Z_NEED_DICT,Yi=Y.Z_STREAM_ERROR,Wi=Y.Z_DATA_ERROR,Gi=Y.Z_MEM_ERROR;function Xi(r){this.options=Pr({chunkSize:65536,windowBits:15,to:""},r||{});var i=this.options;i.raw&&i.windowBits>=0&&i.windowBits<16&&(i.windowBits=-i.windowBits,0===i.windowBits&&(i.windowBits=-15)),!(i.windowBits>=0&&i.windowBits<16)||r&&r.windowBits||(i.windowBits+=32),i.windowBits>15&&i.windowBits<48&&0==(15&i.windowBits)&&(i.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Xr,this.strm.avail_out=0;var t=Bi.inflateInit2(this.strm,i.windowBits);if(t!==Ci)throw new Error(K[t]);if(this.header=new Hi,Bi.inflateGetHeader(this.strm,this.header),i.dictionary&&("string"==typeof i.dictionary?i.dictionary=Yr(i.dictionary):"[object ArrayBuffer]"===Mi.call(i.dictionary)&&(i.dictionary=new Uint8Array(i.dictionary)),i.raw&&(t=Bi.inflateSetDictionary(this.strm,i.dictionary))!==Ci))throw new Error(K[t])}function qi(r,i){var t=new Xi(i);if(t.push(r),t.err)throw t.msg||K[t.err];return t.result}Xi.prototype.push=function(r,i){var t,e,n,f=this.strm,a=this.options.chunkSize,o=this.options.dictionary;if(this.ended)return!1;for(e=i===~~i?i:!0===i?xi:Pi,"[object ArrayBuffer]"===Mi.call(r)?f.input=new Uint8Array(r):f.input=r,f.next_in=0,f.avail_in=f.input.length;;){for(0===f.avail_out&&(f.output=new Uint8Array(a),f.next_out=0,f.avail_out=a),(t=Bi.inflate(f,e))===Ki&&o&&((t=Bi.inflateSetDictionary(f,o))===Ci?t=Bi.inflate(f,e):t===Wi&&(t=Ki));f.avail_in>0&&t===zi&&f.state.wrap>0&&0!==r[f.next_in];)Bi.inflateReset(f),t=Bi.inflate(f,e);switch(t){case Yi:case Wi:case Ki:case Gi:return this.onEnd(t),this.ended=!0,!1}if(n=f.avail_out,f.next_out&&(0===f.avail_out||t===zi))if("string"===this.options.to){var s=Gr(f.output,f.next_out),u=f.next_out-s,h=Wr(f.output,s);f.next_out=u,f.avail_out=a-u,u&&f.output.set(f.output.subarray(s,s+u),0),this.onData(h)}else this.onData(f.output.length===f.next_out?f.output:f.output.subarray(0,f.next_out));if(t!==Ci||0!==n){if(t===zi)return t=Bi.inflateEnd(this.strm),this.onEnd(t),this.ended=!0,!0;if(0===f.avail_in)break}}return!0},Xi.prototype.onData=function(r){this.chunks.push(r)},Xi.prototype.onEnd=function(r){r===Ci&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=xr(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg};var Ji={Inflate:Xi,inflate:qi,inflateRaw:function(r,i){return(i=i||{}).raw=!0,qi(r,i)},ungzip:qi,constants:Y},Qi=Ji.inflate,Vi=Qi}}]);
//# sourceMappingURL=247.ol.js.map