1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[5578],{12751:function(t,o,e){e.r(o);var s=function(){return s=Object.assign||function(t){for(var o,e=1,s=arguments.length;e<s;e++)for(var r in o=arguments[e])Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);return t},s.apply(this,arguments)},r="lgBeforeOpen",n={margin:40,mediumZoom:!0,backgroundColor:"#000"},i=function(){function t(t,o){var e=this;this.core=t,this.$LG=o,this.core.getMediaContainerPosition=function(){return{top:e.settings.margin,bottom:e.settings.margin}};var r={controls:!1,download:!1,counter:!1,showCloseIcon:!1,extraProps:["lgBackgroundColor"],closeOnTap:!1,enableSwipe:!1,enableDrag:!1,swipeToClose:!1,addClass:this.core.settings.addClass+" lg-medium-zoom"};return this.core.settings=s(s({},this.core.settings),r),this.settings=s(s(s({},n),this.core.settings),r),this}return t.prototype.toggleItemClass=function(){for(var t=0;t<this.core.items.length;t++){this.$LG(this.core.items[t]).toggleClass("lg-medium-zoom-item")}},t.prototype.init=function(){var t=this;this.settings.mediumZoom&&(this.core.LGel.on(r+".medium",(function(){t.core.$backdrop.css("background-color",t.core.galleryItems[t.core.index].lgBackgroundColor||t.settings.backgroundColor)})),this.toggleItemClass(),this.core.outer.on("click.lg.medium",(function(){t.core.closeGallery()})))},t.prototype.destroy=function(){this.toggleItemClass()},t}();o.default=i}}]);
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.