@treinetic/treinetic-epub-reader 1.3.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +126 -155
  2. package/dist/style.css +1 -0
  3. package/dist/treinetic-epub-reader.es.js +3286 -0
  4. package/dist/treinetic-epub-reader.umd.js +38 -0
  5. package/license.txt +25 -0
  6. package/package.json +55 -153
  7. package/dist/TreineticEpubReader.css +0 -1316
  8. package/dist/TreineticEpubReader.js +0 -58119
  9. package/dist/TreineticEpubReader.min.css +0 -1
  10. package/dist/TreineticEpubReader.min.js +0 -2
  11. package/dist/TreineticEpubReader.min.js.map +0 -1
  12. package/dist/sample/assets/epub/epub_1.epub +0 -0
  13. package/dist/sample/assets/epub/epub_2/META-INF/container.xml +0 -6
  14. package/dist/sample/assets/epub/epub_2/OEBPS/0.css +0 -101
  15. package/dist/sample/assets/epub/epub_2/OEBPS/1.css +0 -12
  16. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-0.htm.html +0 -26
  17. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-1.htm.html +0 -27
  18. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-10.htm.html +0 -49
  19. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-11.htm.html +0 -152
  20. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-12.htm.html +0 -111
  21. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-13.htm.html +0 -136
  22. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-14.htm.html +0 -177
  23. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-15.htm.html +0 -144
  24. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-16.htm.html +0 -105
  25. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-17.htm.html +0 -52
  26. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-2.htm.html +0 -83
  27. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-3.htm.html +0 -84
  28. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-4.htm.html +0 -69
  29. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-5.htm.html +0 -158
  30. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-6.htm.html +0 -154
  31. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-7.htm.html +0 -163
  32. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-8.htm.html +0 -94
  33. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@2852-h-9.htm.html +0 -154
  34. package/dist/sample/assets/epub/epub_2/OEBPS/@public@vhost@g@gutenberg@html@files@2852@2852-h@images@cover.jpg +0 -0
  35. package/dist/sample/assets/epub/epub_2/OEBPS/content.opf +0 -91
  36. package/dist/sample/assets/epub/epub_2/OEBPS/pgepub.css +0 -30
  37. package/dist/sample/assets/epub/epub_2/OEBPS/toc.ncx +0 -125
  38. package/dist/sample/assets/epub/epub_2/OEBPS/wrap0000.html +0 -16
  39. package/dist/sample/assets/epub/epub_2/mimetype +0 -1
  40. package/dist/sample/assets/images/horizontal.png +0 -0
  41. package/dist/sample/assets/images/horizontal@2x.png +0 -0
  42. package/dist/sample/assets/images/vertical.png +0 -0
  43. package/dist/sample/assets/images/vertical@2x.png +0 -0
  44. package/dist/sample/assets/workers/deflate.js +0 -2
  45. package/dist/sample/assets/workers/inflate.js +0 -2
  46. package/dist/sample/assets/workers/z-worker.js +0 -2
  47. package/dist/sample/css/TreineticEpubReader.css +0 -1316
  48. package/dist/sample/css/style.css +0 -244
  49. package/dist/sample/index.html +0 -63
  50. package/dist/sample/js/TreineticEpubReader.js +0 -58119
  51. package/dist/sample/js/main.js +0 -217
  52. package/dist/workers/deflate.js +0 -2
  53. package/dist/workers/inflate.js +0 -2
  54. package/dist/workers/z-worker.js +0 -2
@@ -1,2 +0,0 @@
1
- !function(e){"use strict";function t(){function e(e){var t,n,i,r,_,o,l=a.dyn_tree,d=a.stat_desc.static_tree,f=a.stat_desc.extra_bits,s=a.stat_desc.extra_base,h=a.stat_desc.max_length,p=0;for(r=0;r<=u;r++)e.bl_count[r]=0;for(l[2*e.heap[e.heap_max]+1]=0,t=e.heap_max+1;t<c;t++)n=e.heap[t],r=l[2*l[2*n+1]+1]+1,r>h&&(r=h,p++),l[2*n+1]=r,n>a.max_code||(e.bl_count[r]++,_=0,n>=s&&(_=f[n-s]),o=l[2*n],e.opt_len+=o*(r+_),d&&(e.static_len+=o*(d[2*n+1]+_)));if(0!==p){do{for(r=h-1;0===e.bl_count[r];)r--;e.bl_count[r]--,e.bl_count[r+1]+=2,e.bl_count[h]--,p-=2}while(p>0);for(r=h;0!==r;r--)for(n=e.bl_count[r];0!==n;)(i=e.heap[--t])>a.max_code||(l[2*i+1]!=r&&(e.opt_len+=(r-l[2*i+1])*l[2*i],l[2*i+1]=r),n--)}}function t(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function n(e,n,a){var i,r,_,o=[],l=0;for(i=1;i<=u;i++)o[i]=l=l+a[i-1]<<1;for(r=0;r<=n;r++)0!==(_=e[2*r+1])&&(e[2*r]=t(o[_]++,_))}var a=this;a.build_tree=function(t){var i,r,_,o=a.dyn_tree,u=a.stat_desc.static_tree,l=a.stat_desc.elems,d=-1;for(t.heap_len=0,t.heap_max=c,i=0;i<l;i++)0!==o[2*i]?(t.heap[++t.heap_len]=d=i,t.depth[i]=0):o[2*i+1]=0;for(;t.heap_len<2;)_=t.heap[++t.heap_len]=d<2?++d:0,o[2*_]=1,t.depth[_]=0,t.opt_len--,u&&(t.static_len-=u[2*_+1]);for(a.max_code=d,i=Math.floor(t.heap_len/2);i>=1;i--)t.pqdownheap(o,i);_=l;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],t.pqdownheap(o,1),r=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=r,o[2*_]=o[2*i]+o[2*r],t.depth[_]=Math.max(t.depth[i],t.depth[r])+1,o[2*i+1]=o[2*r+1]=_,t.heap[1]=_++,t.pqdownheap(o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],e(t),n(o,a.max_code,t.bl_count)}}function n(e,t,n,a,i){var r=this;r.static_tree=e,r.extra_bits=t,r.extra_base=n,r.elems=a,r.max_length=i}function a(e,t,n,a,i){var r=this;r.good_length=e,r.max_lazy=t,r.nice_length=n,r.max_chain=a,r.func=i}function i(e,t,n,a){var i=e[2*t],r=e[2*n];return i<r||i==r&&a[t]<=a[n]}function r(){function e(){var e;for(qe=2*ke,Pe[je-1]=0,e=0;e<je-1;e++)Pe[e]=0;Te=H[Ve].max_lazy,Xe=H[Ve].good_length,Ye=H[Ve].nice_length,Re=H[Ve].max_chain,Le=0,Ge=0,Oe=0,He=Qe=$-1,Ke=0,Se=0}function a(){var e;for(e=0;e<s;e++)Ze[2*e]=0;for(e=0;e<l;e++)$e[2*e]=0;for(e=0;e<d;e++)et[2*e]=0;Ze[2*h]=1,tt.opt_len=tt.static_len=0,ot=lt=0}function r(){nt.dyn_tree=Ze,nt.stat_desc=n.static_l_desc,at.dyn_tree=$e,at.stat_desc=n.static_d_desc,it.dyn_tree=et,it.stat_desc=n.static_bl_desc,ft=0,st=0,dt=8,a()}function _(e,t){var n,a,i=-1,r=e[1],_=0,o=7,u=4;for(0===r&&(o=138,u=3),e[2*(t+1)+1]=65535,n=0;n<=t;n++)a=r,r=e[2*(n+1)+1],++_<o&&a==r||(_<u?et[2*a]+=_:0!==a?(a!=i&&et[2*a]++,et[2*p]++):_<=10?et[2*x]++:et[2*v]++,_=0,i=a,0===r?(o=138,u=3):a==r?(o=6,u=3):(o=7,u=4))}function o(){var e;for(_(Ze,nt.max_code),_($e,at.max_code),it.build_tree(tt),e=d-1;e>=3&&0===et[2*t.bl_order[e]+1];e--);return tt.opt_len+=3*(e+1)+5+5+4,e}function u(e){tt.pending_buf[tt.pending++]=e}function c(e){u(255&e),u(e>>>8&255)}function S(e){u(e>>8&255),u(255&e)}function ne(e,t){var n,a=t;st>b-a?(n=e,ft|=n<<st&65535,c(ft),ft=n>>>b-st,st+=a-b):(ft|=e<<st&65535,st+=a)}function ae(e,t){var n=2*e;ne(65535&t[n],65535&t[n+1])}function ie(e,t){var n,a,i=-1,r=e[1],_=0,o=7,u=4;for(0===r&&(o=138,u=3),n=0;n<=t;n++)if(a=r,r=e[2*(n+1)+1],!(++_<o&&a==r)){if(_<u)do{ae(a,et)}while(0!=--_);else 0!==a?(a!=i&&(ae(a,et),_--),ae(p,et),ne(_-3,2)):_<=10?(ae(x,et),ne(_-3,3)):(ae(v,et),ne(_-11,7));_=0,i=a,0===r?(o=138,u=3):a==r?(o=6,u=3):(o=7,u=4)}}function re(e,n,a){var i;for(ne(e-257,5),ne(n-1,5),ne(a-4,4),i=0;i<a;i++)ne(et[2*t.bl_order[i]+1],3);ie(Ze,e-1),ie($e,n-1)}function _e(){16==st?(c(ft),ft=0,st=0):st>=8&&(u(255&ft),ft>>>=8,st-=8)}function oe(){ne(Y<<1,3),ae(h,n.static_ltree),_e(),1+dt+10-st<9&&(ne(Y<<1,3),ae(h,n.static_ltree),_e()),dt=7}function ue(e,n){var a,i,r;if(tt.pending_buf[ut+2*ot]=e>>>8&255,tt.pending_buf[ut+2*ot+1]=255&e,tt.pending_buf[rt+ot]=255&n,ot++,0===e?Ze[2*n]++:(lt++,e--,Ze[2*(t._length_code[n]+f+1)]++,$e[2*t.d_code(e)]++),0==(8191&ot)&&Ve>2){for(a=8*ot,i=Le-Ge,r=0;r<l;r++)a+=$e[2*r]*(5+t.extra_dbits[r]);if(a>>>=3,lt<Math.floor(ot/2)&&a<Math.floor(i/2))return!0}return ot==_t-1}function le(e,n){var a,i,r,_,o=0;if(0!==ot)do{a=tt.pending_buf[ut+2*o]<<8&65280|255&tt.pending_buf[ut+2*o+1],i=255&tt.pending_buf[rt+o],o++,0===a?ae(i,e):(r=t._length_code[i],ae(r+f+1,e),_=t.extra_lbits[r],0!==_&&(i-=t.base_length[r],ne(i,_)),a--,r=t.d_code(a),ae(r,n),0!==(_=t.extra_dbits[r])&&(a-=t.base_dist[r],ne(a,_)))}while(o<ot);ae(h,e),dt=e[2*h+1]}function de(){st>8?c(ft):st>0&&u(255&ft),ft=0,st=0}function fe(e,t,n){de(),dt=8,n&&(c(t),c(~t)),tt.pending_buf.set(De.subarray(e,e+t),tt.pending),tt.pending+=t}function se(e,t,n){ne((X<<1)+(n?1:0),3),fe(e,t,!0)}function ce(e,t,i){var r,_,u=0;Ve>0?(nt.build_tree(tt),at.build_tree(tt),u=o(),r=tt.opt_len+3+7>>>3,(_=tt.static_len+3+7>>>3)<=r&&(r=_)):r=_=t+5,t+4<=r&&-1!=e?se(e,t,i):_==r?(ne((Y<<1)+(i?1:0),3),le(n.static_ltree,n.static_dtree)):(ne((Z<<1)+(i?1:0),3),re(nt.max_code+1,at.max_code+1,u+1),le(Ze,$e)),a(),i&&de()}function he(e){ce(Ge>=0?Ge:-1,Le-Ge,e),Ge=Le,me.flush_pending()}function pe(){var e,t,n,a;do{if(0===(a=qe-Oe-Le)&&0===Le&&0===Oe)a=ke;else if(-1==a)a--;else if(Le>=ke+ke-te){De.set(De.subarray(ke,ke+ke),0),Ne-=ke,Le-=ke,Ge-=ke,e=je,n=e;do{t=65535&Pe[--n],Pe[n]=t>=ke?t-ke:0}while(0!=--e);e=ke,n=e;do{t=65535&Ie[--n],Ie[n]=t>=ke?t-ke:0}while(0!=--e);a+=ke}if(0===me.avail_in)return;e=me.read_buf(De,Le+Oe,a),Oe+=e,Oe>=$&&(Se=255&De[Le],Se=(Se<<Fe^255&De[Le+1])&Ce)}while(Oe<te&&0!==me.avail_in)}function xe(e){var t,n=65535;for(n>Ae-5&&(n=Ae-5);;){if(Oe<=1){if(pe(),0===Oe&&e==A)return K;if(0===Oe)break}if(Le+=Oe,Oe=0,t=Ge+n,(0===Le||Le>=t)&&(Oe=Le-t,Le=t,he(!1),0===me.avail_out))return K;if(Le-Ge>=ke-te&&(he(!1),0===me.avail_out))return K}return he(e==k),0===me.avail_out?e==k?N:K:e==k?O:L}function ve(e){var t,n,a=Re,i=Le,r=Qe,_=Le>ke-te?Le-(ke-te):0,o=Ye,u=ze,l=Le+ee,d=De[i+r-1],f=De[i+r];Qe>=Xe&&(a>>=2),o>Oe&&(o=Oe);do{if(t=e,De[t+r]==f&&De[t+r-1]==d&&De[t]==De[i]&&De[++t]==De[i+1]){i+=2,t++;do{}while(De[++i]==De[++t]&&De[++i]==De[++t]&&De[++i]==De[++t]&&De[++i]==De[++t]&&De[++i]==De[++t]&&De[++i]==De[++t]&&De[++i]==De[++t]&&De[++i]==De[++t]&&i<l);if(n=ee-(l-i),i=l-ee,n>r){if(Ne=e,r=n,n>=o)break;d=De[i+r-1],f=De[i+r]}}}while((e=65535&Ie[e&u])>_&&0!=--a);return r<=Oe?r:Oe}function be(e){for(var t,n=0;;){if(Oe<te){if(pe(),Oe<te&&e==A)return K;if(0===Oe)break}if(Oe>=$&&(Se=(Se<<Fe^255&De[Le+($-1)])&Ce,n=65535&Pe[Se],Ie[Le&ze]=Pe[Se],Pe[Se]=Le),0!==n&&(Le-n&65535)<=ke-te&&We!=m&&(He=ve(n)),He>=$)if(t=ue(Le-Ne,He-$),Oe-=He,He<=Te&&Oe>=$){He--;do{Le++,Se=(Se<<Fe^255&De[Le+($-1)])&Ce,n=65535&Pe[Se],Ie[Le&ze]=Pe[Se],Pe[Se]=Le}while(0!=--He);Le++}else Le+=He,He=0,Se=255&De[Le],Se=(Se<<Fe^255&De[Le+1])&Ce;else t=ue(0,255&De[Le]),Oe--,Le++;if(t&&(he(!1),0===me.avail_out))return K}return he(e==k),0===me.avail_out?e==k?N:K:e==k?O:L}function ge(e){for(var t,n,a=0;;){if(Oe<te){if(pe(),Oe<te&&e==A)return K;if(0===Oe)break}if(Oe>=$&&(Se=(Se<<Fe^255&De[Le+($-1)])&Ce,a=65535&Pe[Se],Ie[Le&ze]=Pe[Se],Pe[Se]=Le),Qe=He,Je=Ne,He=$-1,0!==a&&Qe<Te&&(Le-a&65535)<=ke-te&&(We!=m&&(He=ve(a)),He<=5&&(We==w||He==$&&Le-Ne>4096)&&(He=$-1)),Qe>=$&&He<=Qe){n=Le+Oe-$,t=ue(Le-1-Je,Qe-$),Oe-=Qe-1,Qe-=2;do{++Le<=n&&(Se=(Se<<Fe^255&De[Le+($-1)])&Ce,a=65535&Pe[Se],Ie[Le&ze]=Pe[Se],Pe[Se]=Le)}while(0!=--Qe);if(Ke=0,He=$-1,Le++,t&&(he(!1),0===me.avail_out))return K}else if(0!==Ke){if(t=ue(0,255&De[Le-1]),t&&he(!1),Le++,Oe--,0===me.avail_out)return K}else Ke=1,Le++,Oe--}return 0!==Ke&&(t=ue(0,255&De[Le-1]),Ke=0),he(e==k),0===me.avail_out?e==k?N:K:e==k?O:L}function we(t){return t.total_in=t.total_out=0,t.msg=null,tt.pending=0,tt.pending_out=0,ye=T,Ue=A,r(),e(),M}var me,ye,Ae,Ee,Ue,ke,Me,ze,De,qe,Ie,Pe,Se,je,Be,Ce,Fe,Ge,He,Je,Ke,Le,Ne,Oe,Qe,Re,Te,Ve,We,Xe,Ye,Ze,$e,et,tt=this,nt=new t,at=new t,it=new t;tt.depth=[];var rt,_t,ot,ut,lt,dt,ft,st;tt.bl_count=[],tt.heap=[],Ze=[],$e=[],et=[],tt.pqdownheap=function(e,t){for(var n=tt.heap,a=n[t],r=t<<1;r<=tt.heap_len&&(r<tt.heap_len&&i(e,n[r+1],n[r],tt.depth)&&r++,!i(e,a,n[r],tt.depth));)n[t]=n[r],t=r,r<<=1;n[t]=a},tt.deflateInit=function(e,t,n,a,i,r){return a||(a=W),i||(i=B),r||(r=y),e.msg=null,t==g&&(t=6),i<1||i>j||a!=W||n<9||n>15||t<0||t>9||r<0||r>m?q:(e.dstate=tt,Me=n,ke=1<<Me,ze=ke-1,Be=i+7,je=1<<Be,Ce=je-1,Fe=Math.floor((Be+$-1)/$),De=new Uint8Array(2*ke),Ie=[],Pe=[],_t=1<<i+6,tt.pending_buf=new Uint8Array(4*_t),Ae=4*_t,ut=Math.floor(_t/2),rt=3*_t,Ve=t,We=r,Ee=255&a,we(e))},tt.deflateEnd=function(){return ye!=R&&ye!=T&&ye!=V?q:(tt.pending_buf=null,Pe=null,Ie=null,De=null,tt.dstate=null,ye==T?I:M)},tt.deflateParams=function(e,t,n){var a=M;return t==g&&(t=6),t<0||t>9||n<0||n>m?q:(H[Ve].func!=H[t].func&&0!==e.total_in&&(a=e.deflate(E)),Ve!=t&&(Ve=t,Te=H[Ve].max_lazy,Xe=H[Ve].good_length,Ye=H[Ve].nice_length,Re=H[Ve].max_chain),We=n,a)},tt.deflateSetDictionary=function(e,t,n){var a,i=n,r=0;if(!t||ye!=R)return q;if(i<$)return M;for(i>ke-te&&(i=ke-te,r=n-i),De.set(t.subarray(r,r+i),0),Le=i,Ge=i,Se=255&De[0],Se=(Se<<Fe^255&De[1])&Ce,a=0;a<=i-$;a++)Se=(Se<<Fe^255&De[a+($-1)])&Ce,Ie[a&ze]=Pe[Se],Pe[Se]=a;return M},tt.deflate=function(e,t){var n,a,i,r,_;if(t>k||t<0)return q;if(!e.next_out||!e.next_in&&0!==e.avail_in||ye==V&&t!=k)return e.msg=J[D-q],q;if(0===e.avail_out)return e.msg=J[D-P],P;if(me=e,r=Ue,Ue=t,ye==R&&(a=W+(Me-8<<4)<<8,i=(Ve-1&255)>>1,i>3&&(i=3),a|=i<<6,0!==Le&&(a|=Q),a+=31-a%31,ye=T,S(a)),0!==tt.pending){if(me.flush_pending(),0===me.avail_out)return Ue=-1,M}else if(0===me.avail_in&&t<=r&&t!=k)return me.msg=J[D-P],P;if(ye==V&&0!==me.avail_in)return e.msg=J[D-P],P;if(0!==me.avail_in||0!==Oe||t!=A&&ye!=V){switch(_=-1,H[Ve].func){case C:_=xe(t);break;case F:_=be(t);break;case G:_=ge(t)}if(_!=N&&_!=O||(ye=V),_==K||_==N)return 0===me.avail_out&&(Ue=-1),M;if(_==L){if(t==E)oe();else if(se(0,0,!1),t==U)for(n=0;n<je;n++)Pe[n]=0;if(me.flush_pending(),0===me.avail_out)return Ue=-1,M}}return t!=k?M:z}}function _(){var e=this;e.next_in_index=0,e.next_out_index=0,e.avail_in=0,e.total_in=0,e.avail_out=0,e.total_out=0}function o(e){var t=this,n=new _,a=A,i=new Uint8Array(512),r=e?e.level:g;void 0===r&&(r=g),n.deflateInit(r),n.next_out=i,t.append=function(e,t){var r,_=[],o=0,u=0,l=0;if(e.length){n.next_in_index=0,n.next_in=e,n.avail_in=e.length;do{if(n.next_out_index=0,n.avail_out=512,n.deflate(a)!=M)throw new Error("deflating: "+n.msg);n.next_out_index&&(512==n.next_out_index?_.push(new Uint8Array(i)):_.push(new Uint8Array(i.subarray(0,n.next_out_index)))),l+=n.next_out_index,t&&n.next_in_index>0&&n.next_in_index!=o&&(t(n.next_in_index),o=n.next_in_index)}while(n.avail_in>0||0===n.avail_out);return r=new Uint8Array(l),_.forEach(function(e){r.set(e,u),u+=e.length}),r}},t.flush=function(){var e,t,a=[],r=0,_=0;do{if(n.next_out_index=0,n.avail_out=512,(e=n.deflate(k))!=z&&e!=M)throw new Error("deflating: "+n.msg);512-n.avail_out>0&&a.push(new Uint8Array(i.subarray(0,n.next_out_index))),_+=n.next_out_index}while(n.avail_in>0||0===n.avail_out);return n.deflateEnd(),t=new Uint8Array(_),a.forEach(function(e){t.set(e,r),r+=e.length}),t}}var u=15,l=30,d=19,f=256,s=f+1+29,c=2*s+1,h=256,p=16,x=17,v=18,b=16,g=-1,w=1,m=2,y=0,A=0,E=1,U=3,k=4,M=0,z=1,D=2,q=-2,I=-3,P=-5,S=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];t._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],t.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],t.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],t.d_code=function(e){return e<256?S[e]:S[256+(e>>>7)]},t.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],t.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],t.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],t.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],n.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],n.static_l_desc=new n(n.static_ltree,t.extra_lbits,f+1,s,u),n.static_d_desc=new n(n.static_dtree,t.extra_dbits,0,l,u),n.static_bl_desc=new n(null,t.extra_blbits,0,d,7);var j=9,B=8,C=0,F=1,G=2,H=[new a(0,0,0,0,C),new a(4,4,8,4,F),new a(4,5,16,8,F),new a(4,6,32,32,F),new a(4,4,16,16,G),new a(8,16,32,32,G),new a(8,16,128,128,G),new a(8,32,128,256,G),new a(32,128,258,1024,G),new a(32,258,258,4096,G)],J=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],K=0,L=1,N=2,O=3,Q=32,R=42,T=113,V=666,W=8,X=0,Y=1,Z=2,$=3,ee=258,te=ee+$+1;_.prototype={deflateInit:function(e,t){var n=this;return n.dstate=new r,t||(t=u),n.dstate.deflateInit(n,e,t)},deflate:function(e){var t=this;return t.dstate?t.dstate.deflate(t,e):q},deflateEnd:function(){var e=this;if(!e.dstate)return q;var t=e.dstate.deflateEnd();return e.dstate=null,t},deflateParams:function(e,t){var n=this;return n.dstate?n.dstate.deflateParams(n,e,t):q},deflateSetDictionary:function(e,t){var n=this;return n.dstate?n.dstate.deflateSetDictionary(n,e,t):q},read_buf:function(e,t,n){var a=this,i=a.avail_in;return i>n&&(i=n),0===i?0:(a.avail_in-=i,e.set(a.next_in.subarray(a.next_in_index,a.next_in_index+i),t),a.next_in_index+=i,a.total_in+=i,i)},flush_pending:function(){var e=this,t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}};var ne=e.zip||e;ne.Deflater=ne._jzlib_Deflater=o}(this);
2
- //# sourceMappingURL=deflate.js.map
@@ -1,2 +0,0 @@
1
- !function(i){"use strict";function e(){function i(i,e,t,n,f,o,b,x,c,v,h){var k,m,y,g,p,A,E,S,U,z,D,j,P,q,B;z=0,p=t;do{a[i[e+z]]++,z++,p--}while(0!==p);if(a[0]==t)return b[0]=-1,x[0]=0,l;for(S=x[0],A=1;A<=I&&0===a[A];A++);for(E=A,S<A&&(S=A),p=I;0!==p&&0===a[p];p--);for(y=p,S>p&&(S=p),x[0]=S,q=1<<A;A<p;A++,q<<=1)if((q-=a[A])<0)return s;if((q-=a[p])<0)return s;for(a[p]+=q,d[1]=A=0,z=1,P=2;0!=--p;)d[P]=A+=a[z],P++,z++;p=0,z=0;do{0!==(A=i[e+z])&&(h[d[A]++]=p),z++}while(++p<t);for(t=d[y],d[0]=p=0,z=0,g=-1,j=-S,_[0]=0,D=0,B=0;E<=y;E++)for(k=a[E];0!=k--;){for(;E>j+S;){if(g++,j+=S,B=y-j,B=B>S?S:B,(m=1<<(A=E-j))>k+1&&(m-=k+1,P=E,A<B))for(;++A<B&&!((m<<=1)<=a[++P]);)m-=a[P];if(B=1<<A,v[0]+B>w)return s;_[g]=D=v[0],v[0]+=B,0!==g?(d[g]=p,r[0]=A,r[1]=S,A=p>>>j-S,r[2]=D-_[g-1]-A,c.set(r,3*(_[g-1]+A))):b[0]=D}for(r[1]=E-j,z>=t?r[0]=192:h[z]<n?(r[0]=h[z]<256?0:96,r[2]=h[z++]):(r[0]=o[h[z]-n]+16+64,r[2]=f[h[z++]-n]),m=1<<E-j,A=p>>>j;A<B;A+=m)c.set(r,3*(D+A));for(A=1<<E-1;0!=(p&A);A>>>=1)p^=A;for(p^=A,U=(1<<j)-1;(p&U)!=d[g];)g--,j-=S,U=(1<<j)-1}return 0!==q&&1!=y?u:l}function e(i){var e;for(t||(t=[],n=[],a=new Int32Array(I+1),r=[],_=new Int32Array(I),d=new Int32Array(I+1)),n.length<i&&(n=[]),e=0;e<i;e++)n[e]=0;for(e=0;e<I+1;e++)a[e]=0;for(e=0;e<3;e++)r[e]=0;_.set(a.subarray(0,I),0),d.set(a.subarray(0,I+1),0)}var t,n,a,r,_,d,f=this;f.inflate_trees_bits=function(a,r,_,l,d){var f;return e(19),t[0]=0,f=i(a,0,19,19,null,null,_,r,l,t,n),f==s?d.msg="oversubscribed dynamic bit lengths tree":f!=u&&0!==r[0]||(d.msg="incomplete dynamic bit lengths tree",f=s),f},f.inflate_trees_dynamic=function(a,r,_,d,f,o,x,w,c){var v;return e(288),t[0]=0,(v=i(_,0,a,257,m,y,o,d,w,t,n))!=l||0===d[0]?(v==s?c.msg="oversubscribed literal/length tree":v!=b&&(c.msg="incomplete literal/length tree",v=s),v):(e(288),v=i(_,a,r,0,g,p,x,f,w,t,n),v!=l||0===f[0]&&a>257?(v==s?c.msg="oversubscribed distance tree":v==u?(c.msg="incomplete distance tree",v=s):v!=b&&(c.msg="empty distance tree with lengths",v=s),v):l)}}function t(){function i(i,e,t,n,a,r,_,f){var o,b,u,w,c,v,h,k,m,y,g,p,I,A,E,S;h=f.next_in_index,k=f.avail_in,c=_.bitb,v=_.bitk,m=_.write,y=m<_.read?_.read-m-1:_.end-m,g=x[i],p=x[e];do{for(;v<20;)k--,c|=(255&f.read_byte(h++))<<v,v+=8;if(o=c&g,b=t,u=n,S=3*(u+o),0!==(w=b[S]))for(;;){if(c>>=b[S+1],v-=b[S+1],0!=(16&w)){for(w&=15,I=b[S+2]+(c&x[w]),c>>=w,v-=w;v<15;)k--,c|=(255&f.read_byte(h++))<<v,v+=8;for(o=c&p,b=a,u=r,S=3*(u+o),w=b[S];;){if(c>>=b[S+1],v-=b[S+1],0!=(16&w)){for(w&=15;v<w;)k--,c|=(255&f.read_byte(h++))<<v,v+=8;if(A=b[S+2]+(c&x[w]),c>>=w,v-=w,y-=I,m>=A)E=m-A,m-E>0&&2>m-E?(_.window[m++]=_.window[E++],_.window[m++]=_.window[E++],I-=2):(_.window.set(_.window.subarray(E,E+2),m),m+=2,E+=2,I-=2);else{E=m-A;do{E+=_.end}while(E<0);if(w=_.end-E,I>w){if(I-=w,m-E>0&&w>m-E)do{_.window[m++]=_.window[E++]}while(0!=--w);else _.window.set(_.window.subarray(E,E+w),m),m+=w,E+=w,w=0;E=0}}if(m-E>0&&I>m-E)do{_.window[m++]=_.window[E++]}while(0!=--I);else _.window.set(_.window.subarray(E,E+I),m),m+=I,E+=I,I=0;break}if(0!=(64&w))return f.msg="invalid distance code",I=f.avail_in-k,I=v>>3<I?v>>3:I,k+=I,h-=I,v-=I<<3,_.bitb=c,_.bitk=v,f.avail_in=k,f.total_in+=h-f.next_in_index,f.next_in_index=h,_.write=m,s;o+=b[S+2],o+=c&x[w],S=3*(u+o),w=b[S]}break}if(0!=(64&w))return 0!=(32&w)?(I=f.avail_in-k,I=v>>3<I?v>>3:I,k+=I,h-=I,v-=I<<3,_.bitb=c,_.bitk=v,f.avail_in=k,f.total_in+=h-f.next_in_index,f.next_in_index=h,_.write=m,d):(f.msg="invalid literal/length code",I=f.avail_in-k,I=v>>3<I?v>>3:I,k+=I,h-=I,v-=I<<3,_.bitb=c,_.bitk=v,f.avail_in=k,f.total_in+=h-f.next_in_index,f.next_in_index=h,_.write=m,s);if(o+=b[S+2],o+=c&x[w],S=3*(u+o),0===(w=b[S])){c>>=b[S+1],v-=b[S+1],_.window[m++]=b[S+2],y--;break}}else c>>=b[S+1],v-=b[S+1],_.window[m++]=b[S+2],y--}while(y>=258&&k>=10);return I=f.avail_in-k,I=v>>3<I?v>>3:I,k+=I,h-=I,v-=I<<3,_.bitb=c,_.bitk=v,f.avail_in=k,f.total_in+=h-f.next_in_index,f.next_in_index=h,_.write=m,l}var e,t,n,a,r=this,_=0,f=0,b=0,u=0,w=0,c=0,v=0,h=0,k=0,m=0;r.init=function(i,r,_,l,d,f){e=A,v=i,h=r,n=_,k=l,a=d,m=f,t=null},r.proc=function(r,y,g){var p,I,C,F,G,H,J,K=0,L=0,M=0;for(M=y.next_in_index,F=y.avail_in,K=r.bitb,L=r.bitk,G=r.write,H=G<r.read?r.read-G-1:r.end-G;;)switch(e){case A:if(H>=258&&F>=10&&(r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,g=i(v,h,n,k,a,m,r,y),M=y.next_in_index,F=y.avail_in,K=r.bitb,L=r.bitk,G=r.write,H=G<r.read?r.read-G-1:r.end-G,g!=l)){e=g==d?P:B;break}b=v,t=n,f=k,e=E;case E:for(p=b;L<p;){if(0===F)return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);g=l,F--,K|=(255&y.read_byte(M++))<<L,L+=8}if(I=3*(f+(K&x[p])),K>>>=t[I+1],L-=t[I+1],0===(C=t[I])){u=t[I+2],e=j;break}if(0!=(16&C)){w=15&C,_=t[I+2],e=S;break}if(0==(64&C)){b=C,f=I/3+t[I+2];break}if(0!=(32&C)){e=P;break}return e=B,y.msg="invalid literal/length code",g=s,r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);case S:for(p=w;L<p;){if(0===F)return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);g=l,F--,K|=(255&y.read_byte(M++))<<L,L+=8}_+=K&x[p],K>>=p,L-=p,b=h,t=a,f=m,e=U;case U:for(p=b;L<p;){if(0===F)return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);g=l,F--,K|=(255&y.read_byte(M++))<<L,L+=8}if(I=3*(f+(K&x[p])),K>>=t[I+1],L-=t[I+1],0!=(16&(C=t[I]))){w=15&C,c=t[I+2],e=z;break}if(0==(64&C)){b=C,f=I/3+t[I+2];break}return e=B,y.msg="invalid distance code",g=s,r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);case z:for(p=w;L<p;){if(0===F)return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);g=l,F--,K|=(255&y.read_byte(M++))<<L,L+=8}c+=K&x[p],K>>=p,L-=p,e=D;case D:for(J=G-c;J<0;)J+=r.end;for(;0!==_;){if(0===H&&(G==r.end&&0!==r.read&&(G=0,H=G<r.read?r.read-G-1:r.end-G),0===H&&(r.write=G,g=r.inflate_flush(y,g),G=r.write,H=G<r.read?r.read-G-1:r.end-G,G==r.end&&0!==r.read&&(G=0,H=G<r.read?r.read-G-1:r.end-G),0===H)))return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);r.window[G++]=r.window[J++],H--,J==r.end&&(J=0),_--}e=A;break;case j:if(0===H&&(G==r.end&&0!==r.read&&(G=0,H=G<r.read?r.read-G-1:r.end-G),0===H&&(r.write=G,g=r.inflate_flush(y,g),G=r.write,H=G<r.read?r.read-G-1:r.end-G,G==r.end&&0!==r.read&&(G=0,H=G<r.read?r.read-G-1:r.end-G),0===H)))return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);g=l,r.window[G++]=u,H--,e=A;break;case P:if(L>7&&(L-=8,F++,M--),r.write=G,g=r.inflate_flush(y,g),G=r.write,H=G<r.read?r.read-G-1:r.end-G,r.read!=r.write)return r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);e=q;case q:return g=d,r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);case B:return g=s,r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g);default:return g=o,r.bitb=K,r.bitk=L,y.avail_in=F,y.total_in+=M-y.next_in_index,y.next_in_index=M,r.write=G,r.inflate_flush(y,g)}},r.free=function(){}}function n(i,n){var a,r=this,_=F,f=0,b=0,c=0,v=[0],h=[0],k=new t,m=0,y=new Int32Array(3*w),g=new e;r.bitk=0,r.bitb=0,r.window=new Uint8Array(n),r.end=n,r.read=0,r.write=0,r.reset=function(i,e){e&&(e[0]=0),_==M&&k.free(i),_=F,r.bitk=0,r.bitb=0,r.read=r.write=0},r.reset(i,null),r.inflate_flush=function(i,e){var t,n,a;return n=i.next_out_index,a=r.read,t=(a<=r.write?r.write:r.end)-a,t>i.avail_out&&(t=i.avail_out),0!==t&&e==u&&(e=l),i.avail_out-=t,i.total_out+=t,i.next_out.set(r.window.subarray(a,a+t),n),n+=t,a+=t,a==r.end&&(a=0,r.write==r.end&&(r.write=0),t=r.write-a,t>i.avail_out&&(t=i.avail_out),0!==t&&e==u&&(e=l),i.avail_out-=t,i.total_out+=t,i.next_out.set(r.window.subarray(a,a+t),n),n+=t,a+=t),i.next_out_index=n,r.read=a,e},r.proc=function(i,t){var n,u,w,p,I,A,E,S;for(p=i.next_in_index,I=i.avail_in,u=r.bitb,w=r.bitk,A=r.write,E=A<r.read?r.read-A-1:r.end-A;;)switch(_){case F:for(;w<3;){if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);t=l,I--,u|=(255&i.read_byte(p++))<<w,w+=8}switch(n=7&u,m=1&n,n>>>1){case 0:u>>>=3,w-=3,n=7&w,u>>>=n,w-=n,_=G;break;case 1:var U=[],z=[],D=[[]],j=[[]];e.inflate_trees_fixed(U,z,D,j),k.init(U[0],z[0],D[0],0,j[0],0),u>>>=3,w-=3,_=M;break;case 2:u>>>=3,w-=3,_=J;break;case 3:return u>>>=3,w-=3,_=Q,i.msg="invalid block type",t=s,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t)}break;case G:for(;w<32;){if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);t=l,I--,u|=(255&i.read_byte(p++))<<w,w+=8}if((~u>>>16&65535)!=(65535&u))return _=Q,i.msg="invalid stored block lengths",t=s,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);f=65535&u,u=w=0,_=0!==f?H:0!==m?N:F;break;case H:if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);if(0===E&&(A==r.end&&0!==r.read&&(A=0,E=A<r.read?r.read-A-1:r.end-A),0===E&&(r.write=A,t=r.inflate_flush(i,t),A=r.write,E=A<r.read?r.read-A-1:r.end-A,A==r.end&&0!==r.read&&(A=0,E=A<r.read?r.read-A-1:r.end-A),0===E)))return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);if(t=l,n=f,n>I&&(n=I),n>E&&(n=E),r.window.set(i.read_buf(p,n),A),p+=n,I-=n,A+=n,E-=n,0!=(f-=n))break;_=0!==m?N:F;break;case J:for(;w<14;){if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);t=l,I--,u|=(255&i.read_byte(p++))<<w,w+=8}if(b=n=16383&u,(31&n)>29||(n>>5&31)>29)return _=Q,i.msg="too many length or distance symbols",t=s,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);if(n=258+(31&n)+(n>>5&31),!a||a.length<n)a=[];else for(S=0;S<n;S++)a[S]=0;u>>>=14,w-=14,c=0,_=K;case K:for(;c<4+(b>>>10);){for(;w<3;){if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);t=l,I--,u|=(255&i.read_byte(p++))<<w,w+=8}a[C[c++]]=7&u,u>>>=3,w-=3}for(;c<19;)a[C[c++]]=0;if(v[0]=7,(n=g.inflate_trees_bits(a,v,h,y,i))!=l)return t=n,t==s&&(a=null,_=Q),r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);c=0,_=L;case L:for(;;){if(n=b,c>=258+(31&n)+(n>>5&31))break;var P,q;for(n=v[0];w<n;){if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);t=l,I--,u|=(255&i.read_byte(p++))<<w,w+=8}if(n=y[3*(h[0]+(u&x[n]))+1],(q=y[3*(h[0]+(u&x[n]))+2])<16)u>>>=n,w-=n,a[c++]=q;else{for(S=18==q?7:q-14,P=18==q?11:3;w<n+S;){if(0===I)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);t=l,I--,u|=(255&i.read_byte(p++))<<w,w+=8}if(u>>>=n,w-=n,P+=u&x[S],u>>>=S,w-=S,S=c,n=b,S+P>258+(31&n)+(n>>5&31)||16==q&&S<1)return a=null,_=Q,i.msg="invalid bit length repeat",t=s,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);q=16==q?a[S-1]:0;do{a[S++]=q}while(0!=--P);c=S}}h[0]=-1;var B=[],R=[],T=[],V=[];if(B[0]=9,R[0]=6,n=b,(n=g.inflate_trees_dynamic(257+(31&n),1+(n>>5&31),a,B,R,T,V,y,i))!=l)return n==s&&(a=null,_=Q),t=n,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);k.init(B[0],R[0],y,T[0],y,V[0]),_=M;case M:if(r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,(t=k.proc(r,i,t))!=d)return r.inflate_flush(i,t);if(t=l,k.free(i),p=i.next_in_index,I=i.avail_in,u=r.bitb,w=r.bitk,A=r.write,E=A<r.read?r.read-A-1:r.end-A,0===m){_=F;break}_=N;case N:if(r.write=A,t=r.inflate_flush(i,t),A=r.write,E=A<r.read?r.read-A-1:r.end-A,r.read!=r.write)return r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);_=O;case O:return t=d,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);case Q:return t=s,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t);default:return t=o,r.bitb=u,r.bitk=w,i.avail_in=I,i.total_in+=p-i.next_in_index,i.next_in_index=p,r.write=A,r.inflate_flush(i,t)}},r.free=function(i){r.reset(i,null),r.window=null,y=null},r.set_dictionary=function(i,e,t){r.window.set(i.subarray(e,e+t),0),r.read=r.write=t},r.sync_point=function(){return _==G?1:0}}function a(){function i(i){return i&&i.istate?(i.total_in=i.total_out=0,i.msg=null,i.istate.mode=ei,i.istate.blocks.reset(i,null),l):o}var e=this;e.mode=0,e.method=0,e.was=[0],e.need=0,e.marker=0,e.wbits=0,e.inflateEnd=function(i){return e.blocks&&e.blocks.free(i),e.blocks=null,l},e.inflateInit=function(t,a){return t.msg=null,e.blocks=null,a<8||a>15?(e.inflateEnd(t),o):(e.wbits=a,t.istate.blocks=new n(t,1<<a),i(t),l)},e.inflate=function(i,e){var t,n;if(!i||!i.istate||!i.next_in)return o;for(e=e==v?u:l,t=u;;)switch(i.istate.mode){case V:if(0===i.avail_in)return t;if(t=e,i.avail_in--,i.total_in++,(15&(i.istate.method=i.read_byte(i.next_in_index++)))!=T){i.istate.mode=ni,i.msg="unknown compression method",i.istate.marker=5;break}if(8+(i.istate.method>>4)>i.istate.wbits){i.istate.mode=ni,i.msg="invalid window size",i.istate.marker=5;break}i.istate.mode=W;case W:if(0===i.avail_in)return t;if(t=e,i.avail_in--,i.total_in++,n=255&i.read_byte(i.next_in_index++),((i.istate.method<<8)+n)%31!=0){i.istate.mode=ni,i.msg="incorrect header check",i.istate.marker=5;break}if(0==(n&R)){i.istate.mode=ei;break}i.istate.mode=X;case X:if(0===i.avail_in)return t;t=e,i.avail_in--,i.total_in++,i.istate.need=(255&i.read_byte(i.next_in_index++))<<24&4278190080,i.istate.mode=Y;case Y:if(0===i.avail_in)return t;t=e,i.avail_in--,i.total_in++,i.istate.need+=(255&i.read_byte(i.next_in_index++))<<16&16711680,i.istate.mode=Z;case Z:if(0===i.avail_in)return t;t=e,i.avail_in--,i.total_in++,i.istate.need+=(255&i.read_byte(i.next_in_index++))<<8&65280,i.istate.mode=$;case $:return 0===i.avail_in?t:(t=e,i.avail_in--,i.total_in++,i.istate.need+=255&i.read_byte(i.next_in_index++),i.istate.mode=ii,f);case ii:return i.istate.mode=ni,i.msg="need dictionary",i.istate.marker=0,o;case ei:if((t=i.istate.blocks.proc(i,t))==s){i.istate.mode=ni,i.istate.marker=0;break}if(t==l&&(t=e),t!=d)return t;t=e,i.istate.blocks.reset(i,i.istate.was),i.istate.mode=ti;case ti:return d;case ni:return s;default:return o}},e.inflateSetDictionary=function(i,e,t){var n=0,a=t;return i&&i.istate&&i.istate.mode==ii?(a>=1<<i.istate.wbits&&(a=(1<<i.istate.wbits)-1,n=t-a),i.istate.blocks.set_dictionary(e,n,a),i.istate.mode=ei,l):o},e.inflateSync=function(e){var t,n,a,r,_;if(!e||!e.istate)return o;if(e.istate.mode!=ni&&(e.istate.mode=ni,e.istate.marker=0),0===(t=e.avail_in))return u;for(n=e.next_in_index,a=e.istate.marker;0!==t&&a<4;)e.read_byte(n)==ai[a]?a++:a=0!==e.read_byte(n)?0:4-a,n++,t--;return e.total_in+=n-e.next_in_index,e.next_in_index=n,e.avail_in=t,e.istate.marker=a,4!=a?s:(r=e.total_in,_=e.total_out,i(e),e.total_in=r,e.total_out=_,e.istate.mode=ei,l)},e.inflateSyncPoint=function(i){return i&&i.istate&&i.istate.blocks?i.istate.blocks.sync_point():o}}function r(){}function _(){var i=this,e=new r,t=c,n=new Uint8Array(512),a=!1;e.inflateInit(),e.next_out=n,i.append=function(i,r){var _,f,o=[],s=0,b=0,x=0;if(0!==i.length){e.next_in_index=0,e.next_in=i,e.avail_in=i.length;do{if(e.next_out_index=0,e.avail_out=512,0!==e.avail_in||a||(e.next_in_index=0,a=!0),_=e.inflate(t),a&&_===u){if(0!==e.avail_in)throw new Error("inflating: bad input")}else if(_!==l&&_!==d)throw new Error("inflating: "+e.msg);if((a||_===d)&&e.avail_in===i.length)throw new Error("inflating: bad input");e.next_out_index&&(512===e.next_out_index?o.push(new Uint8Array(n)):o.push(new Uint8Array(n.subarray(0,e.next_out_index)))),x+=e.next_out_index,r&&e.next_in_index>0&&e.next_in_index!=s&&(r(e.next_in_index),s=e.next_in_index)}while(e.avail_in>0||0===e.avail_out);return f=new Uint8Array(x),o.forEach(function(i){f.set(i,b),b+=i.length}),f}},i.flush=function(){e.inflateEnd()}}var l=0,d=1,f=2,o=-2,s=-3,b=-4,u=-5,x=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],w=1440,c=0,v=4,h=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],k=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],m=[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],y=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],g=[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],p=[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],I=15;e.inflate_trees_fixed=function(i,e,t,n){return i[0]=9,e[0]=5,t[0]=h,n[0]=k,l};var A=0,E=1,S=2,U=3,z=4,D=5,j=6,P=7,q=8,B=9,C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],F=0,G=1,H=2,J=3,K=4,L=5,M=6,N=7,O=8,Q=9,R=32,T=8,V=0,W=1,X=2,Y=3,Z=4,$=5,ii=6,ei=7,ti=12,ni=13,ai=[0,0,255,255];r.prototype={inflateInit:function(i){var e=this;return e.istate=new a,i||(i=15),e.istate.inflateInit(e,i)},inflate:function(i){var e=this;return e.istate?e.istate.inflate(e,i):o},inflateEnd:function(){var i=this;if(!i.istate)return o;var e=i.istate.inflateEnd(i);return i.istate=null,e},inflateSync:function(){var i=this;return i.istate?i.istate.inflateSync(i):o},inflateSetDictionary:function(i,e){var t=this;return t.istate?t.istate.inflateSetDictionary(t,i,e):o},read_byte:function(i){return this.next_in.subarray(i,i+1)[0]},read_buf:function(i,e){return this.next_in.subarray(i,i+e)}};var ri=i.zip||i;ri.Inflater=ri._jzlib_Inflater=_}(this);
2
- //# sourceMappingURL=inflate.js.map
@@ -1,2 +0,0 @@
1
- !function(t){"use strict";function e(t){t.scripts&&t.scripts.length>0&&importScripts.apply(void 0,t.scripts),postMessage({type:"importScripts"})}function r(e){var r=t[e.codecClass],c=e.sn;if(i[c])throw Error("duplicated sn");i[c]={codec:new r(e.options),crcInput:"input"===e.crcType,crcOutput:"output"===e.crcType,crc:new o},postMessage({type:"newTask",sn:c})}function c(t){var e=t.sn,c=t.type,n=t.data,s=i[e];!s&&t.codecClass&&(r(t),s=i[e]);var o,p="append"===c,a=u();if(p)try{o=s.codec.append(n,function(t){postMessage({type:"progress",sn:e,loaded:t})})}catch(t){throw delete i[e],t}else delete i[e],o=s.codec.flush();var f=u()-a;a=u(),n&&s.crcInput&&s.crc.append(n),o&&s.crcOutput&&s.crc.append(o);var d=u()-a,h={type:c,sn:e,codecTime:f,crcTime:d},l=[];o&&(h.data=o,l.push(o.buffer)),p||!s.crcInput&&!s.crcOutput||(h.crc=s.crc.get());try{postMessage(h,l)}catch(t){postMessage(h)}}function n(t,e,r){var c={type:t,sn:e,error:s(r)};postMessage(c)}function s(t){return{message:t.message,stack:t.stack}}function o(){this.crc=-1}function p(){}if(t.zWorkerInitialized)throw new Error("z-worker.js should be run only once");t.zWorkerInitialized=!0,addEventListener("message",function(t){var e=t.data,r=e.type,c=e.sn,s=a[r];if(s)try{s(e)}catch(t){n(r,c,t)}});var a={importScripts:e,newTask:r,append:c,flush:c},i={},u=t.performance?t.performance.now.bind(t.performance):Date.now;o.prototype.append=function(t){for(var e=0|this.crc,r=this.table,c=0,n=0|t.length;c<n;c++)e=e>>>8^r[255&(e^t[c])];this.crc=e},o.prototype.get=function(){return~this.crc},o.prototype.table=function(){var t,e,r,c=[];for(t=0;t<256;t++){for(r=t,e=0;e<8;e++)1&r?r=r>>>1^3988292384:r>>>=1;c[t]=r}return c}(),t.NOOP=p,p.prototype.append=function(t,e){return t},p.prototype.flush=function(){}}(this);
2
- //# sourceMappingURL=z-worker.js.map