/*! medium-zoom 1.1.2 | MIT License | https://github.com/francoischalifour/medium-zoom */ function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e_.i)return T=n,clearTimeout(_.u),void(_.u=null);M||Math.abs(T-n)>E.scrollOffset&&!_.u&&(_.u=setTimeout(z,150))}},f=function(n){n.touches.length>=2&&(_.o=!0),_.o&&a(),0===n.touches.length&&(_.o=!1)},m=function(n){var e=n.key||n.keyCode;"Escape"!==e&&"Esc"!==e&&27!==e||z()},s=!1,l=function(){var n=y.length>0;s!==n&&(document[n?"addEventListener":"removeEventListener"]("click",d),s=n)},v=function(){for(var n=arguments.length,e=new Array(n),t=0;t0?e.reduce(function(n,e){return[].concat(n,o(e))},[]):y;return i.forEach(function(n){n.classList.remove("medium-zoom-image"),c(n,"detach")}),y=y.filter(function(n){return-1===i.indexOf(n)}),l(),O},on:function(n,e,t){void 0===t&&(t={});var o="medium-zoom:"+n;return y.forEach(function(n){n.addEventListener(o,e,t)}),b.push({type:o,listener:e,options:t}),O},off:function(n,e,t){void 0===t&&(t={});var o="medium-zoom:"+n;return y.forEach(function(n){n.removeEventListener(o,e,t)}),b=b.filter(function(n){return!(n.type===o&&n.listener.toString()===e.toString())}),O},getOptions:function(){return E},getImages:function(){return y},getZoomedImage:function(){return _.t||null}};return O};return i});