!function(e,$){"use strict";var t=(new Date).getTime();$(e).on({"onInit.fb":function(e,o,n){o.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var n=o.current,a=(new Date).getTime();o.group.length<2||!1===n.opts.wheel||"auto"===n.opts.wheel&&"image"!==n.type||(e.preventDefault(),e.stopPropagation(),n.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,a-t<250||(t=a,o[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery);