1"function"!=typeof Object.create&&(Object.create=function(n){function t(){}return t.prototype=n,new t}),function(n){var t={init:function(t,i){var r=this;r.elem=i;r.$elem=n(i);r.imageSrc=r.$elem.data("zoom-image")?r.$elem.data("zoom-image"):r.$elem.attr("src");r.options=n.extend({},n.fn.elevateZoom.options,t);r.options.tint&&(r.options.lensColour="none",r.options.lensOpacity="1");"inner"==r.options.zoomType&&(r.options.showLens=!1);r.$elem.parent().removeAttr("title").removeAttr("alt");r.zoomImage=r.imageSrc;r.refresh(1);n("#"+r.options.gallery+" a").click(function(t){return r.options.galleryActiveClass&&(n("#"+r.options.gallery+" a").removeClass(r.options.galleryActiveClass),n(this).addClass(r.options.galleryActiveClass)),t.preventDefault(),r.zoomImagePre=n(this).data("zoom-image")?n(this).data("zoom-image"):n(this).data("image"),r.swaptheimage(n(this).data("image"),r.zoomImagePre),!1})},refresh:function(n){var t=this;setTimeout(function(){t.fetch(t.imageSrc)},n||t.options.refresh)},fetch:function(n){var t=this,i=new Image;i.onload=function(){t.largeWidth=i.width;t.largeHeight=i.height;t.startZoom();t.currentImage=t.imageSrc;t.options.onZoomedImageLoaded(t.$elem)};i.src=n},startZoom:function(){var t=this;t.nzWidth=t.$elem.width();t.nzHeight=t.$elem.height();t.nzOffset=t.$elem.offset();t.widthRatio=t.largeWidth/t.options.zoomLevel/t.nzWidth;t.heightRatio=t.largeHeight/t.options.zoomLevel/t.nzHeight;"window"==t.options.zoomType&&(t.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;text-align:center;background-color: "+String(t.options.zoomWindowBgColour)+";width: "+String(t.options.zoomWindowWidth)+"px;height: "+String(t.options.zoomWindowHeight)+"px;float: left;background-size: "+t.largeWidth/t.options.zoomLevel+"px "+t.largeHeight/t.options.zoomLevel+"px;display: none;z-index:100px;border: "+String(t.options.borderSize)+"px solid "+t.options.borderColour+";background-repeat: no-repeat;position: absolute;");"inner"==t.options.zoomType&&(t.zoomWindowStyle="overflow: hidden;background-position: 0px 0px;width: "+String(t.nzWidth)+"px;height: "+String(t.nzHeight)+"px;float: left;display: none;cursor:"+t.options.cursor+";px solid "+t.options.borderColour+";background-repeat: no-repeat;position: absolute;");"window"==t.options.zoomType&&(lensHeight=t.nzHeight<t.options.zoomWindowWidth/t.widthRatio?t.nzHeight:String(t.options.zoomWindowHeight/t.heightRatio),lensWidth=t.largeWidth<t.options.zoomWindowWidth?t.nzWidth:t.options.zoomWindowWidth/t.widthRatio,t.lensStyle="background-position: 0px 0px;width: "+String(t.options.zoomWindowWidth/t.widthRatio)+"px;height: "+String(t.options.zoomWindowHeight/t.heightRatio)+"px;float: right;display: none;overflow: hidden;z-index: 999;-webkit-transform: translateZ(0);opacity:"+t.options.lensOpacity+";filter: alpha(opacity = "+100*t.options.lensOpacity+"); zoom:1;width:"+lensWidth+"px;height:"+lensHeight+"px;background-color:"+t.options.lensColour+";cursor:"+t.options.cursor+";border: "+t.options.lensBorderSize+"px solid "+t.options.lensBorderColour+";background-repeat: no-repeat;position: absolute;");t.tintStyle="display: block;position: absolute;background-color: "+t.options.tintColour+";filter:alpha(opacity=0);opacity: 0;width: "+t.nzWidth+"px;height: "+t.nzHeight+"px;";t.lensRound="";"lens"==t.options.zoomType&&(t.lensStyle="background-position: 0px 0px;float: left;display: none;border: "+String(t.options.borderSize)+"px solid "+t.options.borderColour+";width:"+String(t.options.lensSize)+"px;height:"+String(t.options.lensSize)+"px;background-repeat: no-repeat;position: absolute;");"round"==t.options.lensShape&&(t.lensRound="border-top-left-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;border-top-right-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;border-bottom-left-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;border-bottom-right-radius: "+String(t.options.lensSize/2+t.options.borderSize)+"px;");t.zoomContainer=n('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+t.nzOffset.left+"px;top:"+t.nzOffset.top+"px;height:"+t.nzHeight+"px;width:"+t.nzWidth+'px;"><\/div>');n("body").append(t.zoomContainer);t.options.containLensZoom&&"lens"==t.options.zoomType&&t.zoomContainer.css("overflow","hidden");"inner"!=t.options.zoomType&&(t.zoomLens=n("<div class='zoomLens' style='"+t.lensStyle+t.lensRound+"'> <\/div>").appendTo(t.zoomContainer).click(function(){t.$elem.trigger("click")}));t.options.tint&&(t.tintContainer=n("<div/>").addClass("tintContainer"),t.zoomTint=n("<div class='zoomTint' style='"+t.tintStyle+"'><\/div>"),t.zoomLens.wrap(t.tintContainer),t.zoomTintcss=t.zoomLens.after(t.zoomTint),t.zoomTintImage=n('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+t.nzWidth+"px; height: "+t.nzHeight+'px;" src="'+t.imageSrc+'">').appendTo(t.zoomLens).click(function(){t.$elem.trigger("click")}));t.zoomWindow=isNaN(t.options.zoomWindowPosition)?n("<div style='z-index:999;left:"+t.windowOffsetLeft+"px;top:"+t.windowOffsetTop+"px;"+t.zoomWindowStyle+"' class='zoomWindow'> <\/div>").appendTo("body").click(function(){t.$elem.trigger("click")}):n("<div style='z-index:999;left:"+t.windowOffsetLeft+"px;top:"+t.windowOffsetTop+"px;"+t.zoomWindowStyle+"' class='zoomWindow'> <\/div>").appendTo(t.zoomContainer).click(function(){t.$elem.trigger("click")});t.zoomWindowContainer=n("<div/>").addClass("zoomWindowContainer").css("width",t.options.zoomWindowWidth);t.zoomWindow.wrap(t.zoomWindowContainer);"lens"==t.options.zoomType&&t.zoomLens.css({backgroundImage:"url('"+t.imageSrc+"')"});"window"==t.options.zoomType&&t.zoomWindow.css({backgroundImage:"url('"+t.imageSrc+"')"});
1"inner"==t.options.zoomType&&t.zoomWindow.css({backgroundImage:"url('"+t.imageSrc+"')"});t.$elem.bind("touchmove",function(n){n.preventDefault();t.setPosition(n.originalEvent.touches[0]||n.originalEvent.changedTouches[0])});t.zoomContainer.bind("touchmove",function(n){"inner"==t.options.zoomType&&(t.options.zoomWindowFadeIn?t.zoomWindow.stop(!0,!0).fadeIn(t.options.zoomWindowFadeIn):t.zoomWindow.show());n.preventDefault();t.setPosition(n.originalEvent.touches[0]||n.originalEvent.changedTouches[0])});t.zoomContainer.bind("touchend",function(){t.zoomWindow.hide();t.options.showLens&&t.zoomLens.hide();t.options.tint&&t.zoomTint.hide()});t.$elem.bind("touchend",function(){t.zoomWindow.hide();t.options.showLens&&t.zoomLens.hide();t.options.tint&&t.zoomTint.hide()});t.options.showLens&&(t.zoomLens.bind("touchmove",function(n){n.preventDefault();t.setPosition(n.originalEvent.touches[0]||n.originalEvent.changedTouches[0])}),t.zoomLens.bind("touchend",function(){t.zoomWindow.hide();t.options.showLens&&t.zoomLens.hide();t.options.tint&&t.zoomTint.hide()}));t.$elem.bind("mousemove",function(n){(t.lastX!==n.clientX||t.lastY!==n.clientY)&&t.setPosition(n);t.lastX=n.clientX;t.lastY=n.clientY});t.zoomContainer.bind("mousemove",function(n){(t.lastX!==n.clientX||t.lastY!==n.clientY)&&t.setPosition(n);t.lastX=n.clientX;t.lastY=n.clientY});"inner"!=t.options.zoomType&&t.zoomLens.bind("mousemove",function(n){(t.lastX!==n.clientX||t.lastY!==n.clientY)&&t.setPosition(n);t.lastX=n.clientX;t.lastY=n.clientY});t.options.tint&&t.zoomTint.bind("mousemove",function(n){(t.lastX!==n.clientX||t.lastY!==n.clientY)&&t.setPosition(n);t.lastX=n.clientX;t.lastY=n.clientY});"inner"==t.options.zoomType&&t.zoomWindow.bind("mousemove",function(n){(t.lastX!==n.clientX||t.lastY!==n.clientY)&&t.setPosition(n);t.lastX=n.clientX;t.lastY=n.clientY});t.zoomContainer.mouseenter(function(){"inner"==t.options.zoomType&&(t.options.zoomWindowFadeIn?t.zoomWindow.stop(!0,!0).fadeIn(t.options.zoomWindowFadeIn):t.zoomWindow.show());"window"==t.options.zoomType&&(t.options.zoomWindowFadeIn?t.zoomWindow.stop(!0,!0).fadeIn(t.options.zoomWindowFadeIn):t.zoomWindow.show());t.options.showLens&&(t.options.lensFadeIn?t.zoomLens.stop(!0,!0).fadeIn(t.options.lensFadeIn):t.zoomLens.show());t.options.tint&&(t.options.zoomTintFadeIn?t.zoomTint.stop(!0,!0).fadeIn(t.options.zoomTintFadeIn):t.zoomTint.show())}).mouseleave(function(){t.zoomWindow.hide();t.options.showLens&&t.zoomLens.hide();t.options.tint&&t.zoomTint.hide()});t.$elem.mouseenter(function(){"inner"==t.options.zoomType&&(t.options.zoomWindowFadeIn?t.zoomWindow.stop(!0,!0).fadeIn(t.options.zoomWindowFadeIn):t.zoomWindow.show());"window"==t.options.zoomType&&(t.options.zoomWindowFadeIn?t.zoomWindow.stop(!0,!0).fadeIn(t.options.zoomWindowFadeIn):t.zoomWindow.show());t.options.showLens&&(t.options.lensFadeIn?t.zoomLens.stop(!0,!0).fadeIn(t.options.lensFadeIn):t.zoomLens.show());t.options.tint&&(t.options.zoomTintFadeIn?t.zoomTint.stop(!0,!0).fadeIn(t.options.zoomTintFadeIn):t.zoomTint.show())}).mouseleave(function(){t.zoomWindow.hide();t.options.showLens&&t.zoomLens.hide();t.options.tint&&t.zoomTint.hide()});"inner"!=t.options.zoomType&&t.zoomLens.mouseenter(function(){"inner"==t.options.zoomType&&(t.options.zoomWindowFadeIn?t.zoomWindow.stop(!0,!0).fadeIn(t.options.zoomWindowFadeIn):t.zoomWindow.show());"window"==t.options.zoomType&&t.zoomWindow.show();t.options.showLens&&t.zoomLens.show();t.options.tint&&t.zoomTint.show()}).mouseleave(function(){t.options.zoomWindowFadeOut?t.zoomWindow.stop(!0,!0).fadeOut(t.options.zoomWindowFadeOut):t.zoomWindow.hide();"inner"!=t.options.zoomType&&t.zoomLens.hide();t.options.tint&&t.zoomTint.hide()});t.options.tint&&t.zoomTint.mouseenter(function(){"inner"==t.options.zoomType&&t.zoomWindow.show();"window"==t.options.zoomType&&t.zoomWindow.show();t.options.showLens&&t.zoomLens.show();t.zoomTint.show()}).mouseleave(function(){t.zoomWindow.hide();"inner"!=t.options.zoomType&&t.zoomLens.hide();t.zoomTint.hide()});"inner"==t.options.zoomType&&t.zoomWindow.mouseenter(function(){"inner"==t.options.zoomType&&t.zoomWindow.show();"window"==t.options.zoomType&&t.zoomWindow.show();t.options.showLens&&t.zoomLens.show()}).mouseleave(function(){t.options.zoomWindowFadeOut?t.zoomWindow.stop(!0,!0).fadeOut(t.options.zoomWindowFadeOut):t.zoomWindow.hide();"inner"!=t.options.zoomType&&t.zoomLens.hide()})},setPosition:function(n){this.nzHeight=this.$elem.height();this.nzWidth=this.$elem.width();this.nzOffset=this.$elem.offset();this.options.tint&&(this.zoomTint.css({top:0}),this.zoomTint.css({left:0}));this.options.responsive&&(lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio),lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzHWidth:this.options.zoomWindowWidth/this.widthRatio,this.widthRatio=this.largeWidth/this.nzWidth,this.heightRatio=this.largeHeight/this.nzHeight,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px",height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"}));this.zoomContainer.css({top:this.nzOffset.top});this.zoomContainer.css({left:this.nzOffset.left});this.mouseLeft=parseInt(n.pageX-this.nzOffset.left);
1this.mouseTop=parseInt(n.pageY-this.nzOffset.top);"window"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.zoomLens.height()/2,this.Eboppos=this.mouseTop>this.nzHeight-this.zoomLens.height()/2-2*this.options.lensBorderSize,this.Eloppos=this.mouseLeft<0+this.zoomLens.width()/2,this.Eroppos=this.mouseLeft>this.nzWidth-this.zoomLens.width()/2-2*this.options.lensBorderSize);"inner"==this.options.zoomType&&(this.Etoppos=this.mouseTop<this.nzHeight/2/this.heightRatio,this.Eboppos=this.mouseTop>this.nzHeight-this.nzHeight/2/this.heightRatio,this.Eloppos=this.mouseLeft<0+this.nzWidth/2/this.widthRatio,this.Eroppos=this.mouseLeft>this.nzWidth-this.nzWidth/2/this.widthRatio-2*this.options.lensBorderSize);0>this.mouseLeft||0>=this.mouseTop||this.mouseLeft>this.nzWidth||this.mouseTop>this.nzHeight?(this.zoomWindow.hide(),this.options.showLens&&this.zoomLens.hide(),this.options.tint&&this.zoomTint.hide()):("window"==this.options.zoomType&&this.zoomWindow.show(),this.options.tint&&this.zoomTint.show(),this.options.showLens&&(this.zoomLens.show(),this.lensLeftPos=String(this.mouseLeft-this.zoomLens.width()/2),this.lensTopPos=String(this.mouseTop-this.zoomLens.height()/2)),this.Etoppos&&(this.lensTopPos=0),this.Eloppos&&(this.tintpos=this.lensLeftPos=this.windowLeftPos=0),"window"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize)),"inner"==this.options.zoomType&&(this.Eboppos&&(this.lensTopPos=Math.max(this.nzHeight-2*this.options.lensBorderSize,0)),this.Eroppos&&(this.lensLeftPos=this.nzWidth-this.nzWidth-2*this.options.lensBorderSize)),"lens"==this.options.zoomType&&(this.windowLeftPos=String(-1*((n.pageX-this.nzOffset.left)*this.widthRatio-this.zoomLens.width()/2)),this.windowTopPos=String(-1*((n.pageY-this.nzOffset.top)*this.heightRatio-this.zoomLens.height()/2)),this.zoomLens.css({backgroundPosition:this.windowLeftPos+"px "+this.windowTopPos+"px"}),this.setWindowPostition(n)),this.options.tint&&this.setTintPosition(n),"window"==this.options.zoomType&&this.setWindowPostition(n),"inner"==this.options.zoomType&&this.setWindowPostition(n),this.options.showLens&&this.zoomLens.css({left:this.lensLeftPos+"px",top:this.lensTopPos+"px"}))},setLensPostition:function(){},setWindowPostition:function(t){var i=this;if(isNaN(i.options.zoomWindowPosition))i.externalContainer=n("#"+i.options.zoomWindowPosition),i.externalContainerWidth=i.externalContainer.width(),i.externalContainerHeight=i.externalContainer.height(),i.externalContainerOffset=i.externalContainer.offset(),i.windowOffsetTop=i.externalContainerOffset.top,i.windowOffsetLeft=i.externalContainerOffset.left;else switch(i.options.zoomWindowPosition){case 1:i.windowOffsetTop=i.options.zoomWindowOffety;i.windowOffsetLeft=+i.nzWidth;break;case 2:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=i.nzWidth);break;case 3:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize;i.windowOffsetLeft=i.nzWidth;break;case 4:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=i.nzWidth;break;case 5:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 6:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=i.nzHeight,i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 7:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=0;break;case 8:i.windowOffsetTop=i.nzHeight;i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 9:i.windowOffsetTop=i.nzHeight-i.zoomWindow.height()-2*i.options.borderSize;i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 10:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.options.zoomWindowHeight/2-i.nzHeight/2),i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize));break;case 11:i.windowOffsetTop=i.options.zoomWindowOffety;i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 12:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=-1*(i.zoomWindow.width()+2*i.options.borderSize);break;case 13:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=0;break;case 14:i.options.zoomWindowHeight>i.nzHeight&&(i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize),i.windowOffsetLeft=-1*(i.options.zoomWindowWidth/2-i.nzWidth/2+2*i.options.borderSize));break;case 15:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=i.nzWidth-i.zoomWindow.width()-2*i.options.borderSize;break;case 16:i.windowOffsetTop=-1*(i.zoomWindow.height()+2*i.options.borderSize);i.windowOffsetLeft=i.nzWidth;break;default:i.windowOffsetTop=i.options.zoomWindowOffety;i.windowOffsetLeft=i.nzWidth}i.windowOffsetTop+=i.options.zoomWindowOffety;i.windowOffsetLeft+=i.options.zoomWindowOffetx;i.zoomWindow.css({top:i.windowOffsetTop});i.zoomWindow.css({left:i.windowOffsetLeft});"inner"==i.options.zoomType&&(i.zoomWindow.css({top:0}),i.zoomWindow.css({left:0}));i.windowLeftPos=String(-1*((t.pageX-i.nzOffset.left)*i.widthRatio-i.zoomWindow.width()/2));
1i.windowTopPos=String(-1*((t.pageY-i.nzOffset.top)*i.heightRatio-i.zoomWindow.height()/2));i.Etoppos&&(i.windowTopPos=0);i.Eloppos&&(i.windowLeftPos=0);i.Eboppos&&(i.windowTopPos=-1*(i.largeHeight/i.options.zoomLevel-i.zoomWindow.height()));i.Eroppos&&(i.windowLeftPos=-1*(i.largeWidth/i.options.zoomLevel-i.zoomWindow.width()));("window"==i.options.zoomType||"inner"==i.options.zoomType)&&(1>=i.widthRatio&&(i.windowLeftPos=0),1>=i.heightRatio&&(i.windowTopPos=0),i.largeHeight<i.options.zoomWindowHeight&&(i.windowTopPos=0),i.largeWidth<i.options.zoomWindowWidth&&(i.windowLeftPos=0),i.options.easing?(i.xp||(i.xp=0),i.yp||(i.yp=0),i.loop||(i.loop=setInterval(function(){i.xp+=(i.windowLeftPos-i.xp)/i.options.easingAmount;i.yp+=(i.windowTopPos-i.yp)/i.options.easingAmount;i.zoomWindow.css({backgroundPosition:i.xp+"px "+i.yp+"px"})},16))):i.zoomWindow.css({backgroundPosition:i.windowLeftPos+"px "+i.windowTopPos+"px"}))},setTintPosition:function(n){this.nzOffset=this.$elem.offset();this.tintpos=String(-1*(n.pageX-this.nzOffset.left-this.zoomLens.width()/2));this.tintposy=String(-1*(n.pageY-this.nzOffset.top-this.zoomLens.height()/2));this.Etoppos&&(this.tintposy=0);this.Eloppos&&(this.tintpos=0);this.Eboppos&&(this.tintposy=-1*(this.nzHeight-this.zoomLens.height()-2*this.options.lensBorderSize));this.Eroppos&&(this.tintpos=-1*(this.nzWidth-this.zoomLens.width()-2*this.options.lensBorderSize));this.options.tint&&(this.zoomTint.css({opacity:this.options.tintOpacity}).animate().fadeIn("slow"),this.zoomTintImage.css({left:this.tintpos-this.options.lensBorderSize+"px"}),this.zoomTintImage.css({top:this.tintposy-this.options.lensBorderSize+"px"}))},swaptheimage:function(n,t){var i=this,r=new Image;i.options.onImageSwap(i.$elem);r.onload=function(){i.largeWidth=r.width;i.largeHeight=r.height;i.zoomImage=t;i.zoomWindow.css({"background-size":i.largeWidth+"px "+i.largeHeight+"px"});i.swapAction(n,t)};r.src=t},swapAction:function(n,t){var i=this,r=new Image;r.onload=function(){i.nzHeight=r.height;i.nzWidth=r.width;i.options.onImageSwapComplete(i.$elem);i.doneCallback()};r.src=n;i.zoomWindow.css({backgroundImage:"url('"+t+"')"});i.currentImage=t;i.$elem.attr("src",n)},doneCallback:function(){this.options.tint&&(this.zoomTintImage.attr("src",largeimage),this.zoomTintImage.attr("height",this.$elem.height()),this.zoomTintImage.css({height:this.$elem.height()}),this.zoomTint.css({height:this.$elem.height()}));this.nzOffset=this.$elem.offset();this.nzWidth=this.$elem.width();this.nzHeight=this.$elem.height();this.widthRatio=this.largeWidth/this.nzWidth;this.heightRatio=this.largeHeight/this.nzHeight;lensHeight=this.nzHeight<this.options.zoomWindowWidth/this.widthRatio?this.nzHeight:String(this.options.zoomWindowHeight/this.heightRatio);lensWidth=this.largeWidth<this.options.zoomWindowWidth?this.nzHWidth:this.options.zoomWindowWidth/this.widthRatio;this.zoomLens&&(this.zoomLens.css("width",lensWidth),this.zoomLens.css("height",lensHeight))},getCurrentImage:function(){return this.zoomImage},getGalleryList:function(){var t=this;return t.gallerylist=[],t.options.gallery?n("#"+t.options.gallery+" a").each(function(){var i="";n(this).data("zoom-image")?i=n(this).data("zoom-image"):n(this).data("image")&&(i=n(this).data("image"));i==t.zoomImage?t.gallerylist.unshift({href:""+i+"",title:n(this).find("img").attr("title")}):t.gallerylist.push({href:""+i+"",title:n(this).find("img").attr("title")})}):t.gallerylist.push({href:""+t.zoomImage+"",title:n(this).find("img").attr("title")}),t.gallerylist},changeZoomLevel:function(n){this.widthRatio=this.largeWidth/n/this.nzWidth;this.heightRatio=this.largeHeight/n/this.nzHeight;this.zoomWindow.css({"background-size":this.largeWidth/n+"px "+this.largeHeight/n+"px"});this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px",height:String(this.options.zoomWindowHeight/this.heightRatio)+"px"});this.options.zoomLevel=n},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()}};n.fn.elevateZoom=function(i){return this.each(function(){var r=Object.create(t);r.init(i,this);n.data(this,"elevateZoom",r)})};
1n.fn.elevateZoom.options={zoomLevel:1,easing:!1,easingAmount:12,lensSize:200,zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:.4,gallery:!1,galleryActiveClass:"zoomGalleryActive",cursor:"default",responsive:!1,onComplete:n.noop,onZoomedImageLoaded:function(){},onImageSwap:n.noop,onImageSwapComplete:n.noop}}(jQuery,window,document)
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.