"use strict";(self.webpackChunkol=self.webpackChunkol||[]).push([[611],{165:function(r,n,t){function e(r,n){var t=r.length-n,e=0;do{for(var o=n;o>0;o--)r[e+n]+=r[e],e++;t-=n}while(t>0)}function o(r,n,t){for(var e=0,o=r.length,i=o/t;o>n;){for(var f=n;f>0;--f)r[e+n]+=r[e],++e;o-=n}for(var u=r.slice(),a=0;a=r.byteLength);++l){var v=void 0;if(2===n){switch(f[0]){case 8:v=new Uint8Array(r,l*s*t*c,s*t*c);break;case 16:v=new Uint16Array(r,l*s*t*c,s*t*c/2);break;case 32:v=new Uint32Array(r,l*s*t*c,s*t*c/4);break;default:throw new Error("Predictor 2 not allowed with ".concat(f[0]," bits per sample."))}e(v,s)}else 3===n&&o(v=new Uint8Array(r,l*s*t*c,s*t*c),s,c)}return r}function f(r,n,t,e,o,i,f){try{var u=r[i](f),a=u.value}catch(r){return void t(r)}u.done?n(a):Promise.resolve(a).then(e,o)}function u(r,n){for(var t=0;t=0;t--)r.push(n[t]);return r}function v(r){for(var n=new Uint16Array(4093),t=new Uint8Array(4093),e=0;e<=257;e++)n[e]=4096,t[e]=e;var o=258,i=9,f=0;function u(){o=258,i=9}function a(r){var n=function(r,n,t){var e=n%8,o=Math.floor(n/8),i=8-e,f=n+t-8*(o+1),u=8*(o+2)-(n+t),a=8*(o+2)-n;if(u=Math.max(0,u),o>=r.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;var c=r[o]&Math.pow(2,8-e)-1,s=c<<=t-i;if(o+1>>u;s+=l<<=Math.max(0,t-a)}if(f>8&&o+2>>v}return s}(r,f,i);return f+=i,n}function c(r,e){return t[o]=e,n[o]=r,++o-1}function s(r){for(var e=[],o=r;4096!==o;o=n[o])e.push(t[o]);return e}var v=[];u();for(var h,w=new Uint8Array(r),y=a(w);257!==y;){if(256===y){for(u(),y=a(w);256===y;)y=a(w);if(257===y)break;if(y>256)throw new Error("corrupted code at scanline ".concat(y));l(v,s(y)),h=y}else if(y=Math.pow(2,i)&&(12===i?h=void 0:i++),y=a(w)}return new Uint8Array(v)}var h=function(r){!function(r,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),n&&u(r,n)}(c,r);var n,t,e,o=a(c);function c(){return i(this,c),o.apply(this,arguments)}return n=c,(t=[{key:"decodeBlock",value:function(r){return v(r).buffer}}])&&f(n.prototype,t),e&&f(n,e),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Z)}}]); //# sourceMappingURL=611.ol.js.map