PageSourceSearch

https://datilim.co.il/wp-content/plugins/pojo-lightbox/assets/js/app.min.js?ver=6.7.9

js datilim.co.il collected 2026-09-30 06:08:02 UTC 3,646 bytes, 2 lines download raw bytes

1/*! pojo-lightbox - v2.0.8 - 06-08-2017 */
2!function(t,e,i,n){"use strict";var o={cache:{$document:t(i),$window:t(e)},cacheElements:function(){var t=!1;e.elementorFrontend&&elementorFrontend.getGeneralSettings&&(t="yes"===elementorFrontend.getGeneralSettings("elementor_global_image_lightbox")),this.cache.elementorLightbox=t},buildElements:function(){},bindEvents:function(){switch(PojoLightboxOptions.script_type){case"prettyPhoto":this._bindEventsPrettyPhoto();break;case"magnific":this._bindEventsMagnificPopup();break;case"photoswipe":this._bindEventsPhotoSwipe()}},_bindEventsPrettyPhoto:function(){var e=this,i=Modernizr.mq("only screen and (max-width: 600px)");if("disable"!==PojoLightboxOptions.smartphone||!i){i&&(PojoLightboxOptions.lightbox_args.allow_expand=!1);var n,o=PojoLightboxOptions.lightbox_args,r="";"disable"===PojoLightboxOptions.woocommerce&&(r+=":not(.woocommerce)"),e.cache.elementorLightbox&&(r+=":not(.elementor-page)"),n=t("body"+r),t("a",n).filter(function(){return/\.(jpg|jpeg|gif|png)$/i.test(t(this).attr("href"))}).has("img").prettyPhoto(o),t('a[rel^="lightbox"]',n).prettyPhoto(PojoLightboxOptions.lightbox_args)}},_bindEventsMagnificPopup:function(){var e,i=this,n="";"disable"===PojoLightboxOptions.woocommerce&&(n+=":not(.woocommerce)"),i.cache.elementorLightbox&&(n+=":not(.elementor-page)"),e=t("body"+n),t("a",e).filter(function(){return/\.(jpg|jpeg|gif|png)$/i.test(t(this).attr("href"))}).filter(function(){return 0===t(this).closest("div.gallery").length}).has("img").magnificPopup({type:"image"}),t("div.gallery").magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})},_bindEventsPhotoSwipe:function(){var n,o=this,r=t(".pswp")[0],a=PojoLightboxOptions.lightbox_args,h=function(t){var e,i=t.data("size"),n=0,o=0,r="";void 0!==i&&(n=(i=i.split("x"))[0],o=i[1]);var a=t.closest(".gallery-item");return 1<=a.length&&1<=(e=a.find(".wp-caption-text")).length&&(r=e.text()),1<=(e=t.next(".wp-caption-text")).length&&(r=e.text()),{src:t.attr("href"),w:n,h:o,title:r,el:t[0]}},s=function(t,n){var o=n[t].el.children[0];if(void 0===o)return null;var r=e.pageYOffset||i.documentElement.scrollTop,a=o.getBoundingClientRect();return{x:a.left,y:a.top+r,w:a.width}},l="";"disable"===PojoLightboxOptions.woocommerce&&(l+=":not(.woocommerce)"),o.cache.elementorLightbox&&(l+=":not(.elementor-page)"),n=t("body"+l),t("a",n).filter(function(){return/\.(jpg|jpeg|gif|png)$/i.test(t(this).attr("href"))}).filter(function(){return 0===t(this).closest("div.gallery").length}).has("img").on("click",function(e){e.preventDefault();var i=[h(t(this))],n={getThumbBoundsFn:function(t){return s(t,i)}};n=t.extend({},a,n);var o=new PhotoSwipe(r,PhotoSwipeUI_Default,i,n);o.listen("gettingData",function(t,e){if(e.w<1||e.h<1){var i=new Image;i.onload=function(){e.w=this.width,e.h=this.height,o.invalidateCurrItems(),o.updateSize(!0)},i.src=e.src}}),o.init()}),t("div.gallery, div.pojo-gallery",n).each(function(){var e=t(this),i=function(){var i=[],n=0;return e.find("a").each(function(){i.push(h(t(this))),t(this).data("lightbox_index",n++)}),i}();e.on("click","a",function(e){e.preventDefault();var n={index:t(this).data("lightbox_index"),getThumbBoundsFn:function(t){return s(t,i)}};n=t.extend({},a,n);var o=new PhotoSwipe(r,PhotoSwipeUI_Default,i,n);o.listen("gettingData",function(t,e){if(e.w<1||e.h<1){var i=new Image;i.onload=function(){e.w=this.width,e.h=this.height,o.invalidateCurrItems(),o.updateSize(!0)},i.src=e.src}}),o.init()})})},init:function(){this.cacheElements(),this.buildElements(),this.bindEvents()}};t(i).ready(function(t){o.init()})}(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.