1if (!window.PhotoSwiperAutoloader) { 2 window.PhotoSwiperAutoloader = true; 3 var url = ""; 4 // parse arguments 5 var scripts = document.getElementsByTagName('script'); 6 var index = scripts.length - 1; 7 var autoloaderScript = scripts[index]; 8 var language = $("meta[name=language]").attr('content'); 9 $(function () { 10 if ($(".photoswipe-open")[0] || $(".photoswipe-gallery-open")[0] || $(".photoswipe-open-single-image")[0]) { 11 url = autoloaderScript.src.replace("photoswipe-autoloader.js", "").replace(/\?.*/, ''); 12 $.getScript(url+"photoswipe.min.js", function success1() { 13 $.getScript(url+"photoswipe-ui-default.min.js", function success2() { 14 $.getScript(url+"jquery.getCSSLazy.js", function success3() { 15 jQuery.getCSSLazy(url+'photoswipe.min.css'); 16 jQuery.getCSSLazy(url+'default-skin.min.css'); 17 $.getScript(url+"photoswipe-translation.js", function success4() { 18 $.getScript(url + "photoswipe-html.js", function success5() { 19 $("body").append(photoSwipeHtml(photoSwipeTranslation(language))); 20 $.getScript(url + "photoswipe-includer.js"); 21 }); 22 }); 23 }); 24 }); 25 }); 26 } 27 }); 28}
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.