PageSourceSearch

https://www.jornalcruzeiro.com.br/vendor/jqphotoswipe/jqPhotoSwipe.min.js

js jornalcruzeiro.com.br collected 2026-09-24 09:01:20 UTC 3,165 bytes, 5 lines download raw bytes

1/*!
2jqPhotoSwipe v0.1.1 - jQuery for PhotoSwipe
3https://ergec.github.io/jQuery-for-PhotoSwipe/
4*/
5(function(a){a.fn.jqPhotoSwipe=function(e){if(this.length){var f=function(){var l=window.location.hash.substring(1),n={};var k=l.split("&");for(var j=0;j<k.length;j++){if(!k[j]){continue}var m=k[j].split("=");if(m.length<2){continue}n[m[0]]=m[1]}if(n.gid){n.gid=n.gid}return n};var i={};var g={forceSingleGallery:false,galleryOpen:function(j){}};i.galleries=[];i.galleriesindex=[];var h=0;var d;if($(".pswp[role='dialog']").length){d=$(".pswp[role='dialog']")[0]}else{var b='<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"><div class="pswp__bg"></div><div class="pswp__scroll-wrap"><div class="pswp__container"><div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div><div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter"></div><button class="pswp__button pswp__button--close" title="Close (Esc)"></button><button class="pswp__button pswp__button--share" title="Share"></button><button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button><button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button><div class="pswp__preloader"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div> </div><button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button><button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button><div class="pswp__caption"><div class="pswp__caption__center"></div></div></div></div></div>';d=$(b).appendTo("body")[0]}var c="pswg-forced";this.each(function(){var j=$.extend(g,e);var n=$(this);var m=n.data("fancybox-group");if(!m){if(j.forceSingleGallery){m=c;n.data("fancybox-group",m)}else{m="pswgname"+(i.galleriesindex.length);n.data("fancybox-group",m)}}if(i.galleriesindex.indexOf(m)===-1){h=i.galleriesindex.length;i.galleriesindex.push(m);i.galleries[h]={};i.galleries[h].items=[];i.galleries[h].i=0}else{h=i.galleriesindex.indexOf(m)}var k=h;n.data("i",i.galleries[h].i);n.data("gid",m);i.galleries[k].items.push({src:n.attr("href"),title:n.attr("title"),w:0,h:0});n.off("click").on("click",function(q){q.preventDefault();var o=$(this).data("i");j.index=o;j.galleryUID=$(this).data("gid");i.galleries[k].obj=new PhotoSwipe(d,PhotoSwipeUI_Default,i.galleries[k].items,j);i.galleries[k].obj.init();i.galleries[k].obj.listen("initialZoomInEnd",function(){j.galleryOpen(i.galleries[k].obj)});i.galleries[k].obj.listen("imageLoadComplete",function(r,s){p(r,s)});i.galleries[k].obj.listen("gettingData",function(r,s){p(r,s)});function p(r,s){if(s.w==0&&s.h==0){var t=new Image();t.onload=function(){s.w=this.width;s.h=this.height;s.needsUpdate=true;i.galleries[k].obj.updateSize(true)};t.src=s.src}}});var l=f();if(l.gid){if(l.gid.toString()===m&&l.pid.toString()===(i.galleries[h].i+1).toString()){n.trigger("click")}}i.galleries[h].i++});return i}}})(jQuery);

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.