!function(e){function t(n){if(r)return r.exports;var u=r={exports:{},id:n,loaded:!1};return e.call(u.exports,u,u.exports,t),u.loaded=!0,u.exports}var r={};return t.m=e,t.c=r,t.p=“”,t(0)}([function(e,t,r){“use strict”;function n(e){return e&&e.__esModule?e:{“default”:e}}function u(e,t,r){return d*(e+1)+t*e+r}var a=r(1),f=n(a),o=,i=,l=,d=80,s=16;self.addEventListener(“message”,function(e){for(var t=e.data,r=t.previousImageData,n=t.currentImageData,a=r.length,c=r.length,p=(d+a)*c,v=new Uint8ClampedArray(p),M=0;M<c;M++){for(var _=!1,h=0;h<a;h+=4){var x=(0,f)([r[h],r[h+1],r[h+2],r[h+3]],[n[h],n[h+1],n[h+2],n[h+3]]),g=x.diff,w=x.pixel;g>0&&(_=!0);var A=u(M,a,h);v=w,v=w,v=w,v=w}var E=void 0;E=0===r[3]?i:0===n[3]?l:_?o:null;for(var m=0;m<d-s;m+=4)if(null!==E){var D=u(M,a,m)-d;v=E,v=E,v=E,v=E}}self.postMessage({data:v,width:(d+a)/4,height:c}),self.close()})},function(e,t,r){“use strict”;function n(e){return e&&e.__esModule?e:{“default”:e}}function u(e,t){var r=(0,i)(e,t)/o.MAX_EUCLIDEAN_DISTANCE;return 0===r?{diff:r,pixel:(0,f)([t,t,t,40],l)}:{diff:r,pixel:(0,f)([179,54,130,255*Math.max(.2,r)],l)}}Object.defineProperty(t,“__esModule”,{value:!0}),t=u;var a=r(2),f=n(a),o=r(3),i=n(o),l=},function(e,t){“use strict”;function r(e){return 255===e}function n(e){return 0===e}function u(e,t){var r=e*t+128;return(r>>8)+r>>8}function a(e,t){if(r(e)||n(t))return e;if(n(e))return t;var a=u(255-e,t);return[u(e,e)+u(a,t),u(e,e)+u(a,t),u(e,e)+u(a,t),e+a]}Object.defineProperty(t,“__esModule”,{value:!0}),t=a},function(e,t){“use strict”;function r(e,t){return Math.sqrt(Math.pow(e-t,2)+Math.pow(e-t,2)+Math.pow(e-t,2)+Math.pow(e-t,2))}Object.defineProperty(t,“__esModule”,{value:!0}),t=r;t.MAX_EUCLIDEAN_DISTANCE=Math.sqrt(4*Math.pow(255,2))}]);