PageSourceSearch

https://www.reiseliv.no/wp-content/cache/min/1/wp-content/themes/soledad/js/header-scroll.js?ver=1790587956

js reiseliv.no collected 2026-10-02 13:21:26 UTC 2,346 bytes, 9 lines download raw bytes

1(function($){'use strict';var PENCI=PENCI||{};PENCI.singlepoststyle=function(){if(!$('body').hasClass('single')){return}
2if(ajax_var_more.reading_bar_pos==='side'){return}
3if(!$('body').find('.pencihd-iscroll-bar').length){$('body').prepend('<span class="pencihd-iscroll-bar"></span>')}
4$('.pencihd-iscroll-bar').css({position:'fixed',left:0,width:0,height:parseInt(ajax_var_more.reading_bar_h),backgroundColor:'var(--pcaccent-cl)',zIndex:999999999999,});if(ajax_var_more.reading_bar_pos==='header'){$('.pencihd-iscroll-bar').css({top:0,})}else{$('.pencihd-iscroll-bar').css({bottom:0,})}
5if($('body').hasClass('rtl')){$('.pencihd-iscroll-bar').css({left:'auto',right:0,})}};PENCI.singlepostside=function(){if(!$('body').hasClass('single')){return}
6if(ajax_var_more.reading_bar_pos!=='side'){return}
7if(!$('body').find('.pencihd-progress-container').length){$('body').prepend('<div class="pencihd-progress-container"><svg viewBox="0 0 100 100"><circle class="bg" cx="50" cy="50" r="45"></circle><circle class="progress" cx="50" cy="50" r="45"></circle></svg></div>')}}
8PENCI.singlepostscrollin=function(){$('article.post').bind('inview',function(event,visible,topOrBottomOrBoth){if(visible==!0){var t=$(this),total=0,h=0,entry_content=t.find('.entry-content'),e_top=entry_content.offset().top,header_h=$('.penci-header-wrap').outerHeight(),bottom=e_top+header_h,stop=0,progressCircle=$('.pencihd-progress-container .progress'),circumference=2*Math.PI*45;t.addClass('inview');setTimeout(function(){h=entry_content.get(0).getBoundingClientRect().height;bottom=bottom+h},100);if(ajax_var_more.reading_bar_pos=='side'){progressCircle.css("stroke-dasharray",circumference)}
9$(window).scroll(function(e){stop=$(window).scrollTop()+header_h;if(ajax_var_more.reading_bar_pos=='side'){var progress=bottom>0?(stop/bottom)*100:0;var offset=circumference-(progress/100)*circumference;offset=offset<0?0:offset;progressCircle.css("stroke-dashoffset",offset)}else{if(stop>e_top&&stop<bottom){total=((stop-e_top)/(bottom-e_top))*100;$('.pencihd-iscroll-bar').css('width',total+'%')}else{$('.pencihd-iscroll-bar').css('width','0%')}}})}else{$(this).removeClass('inview')}})};$(document).ready(function(){PENCI.singlepostscrollin();PENCI.singlepoststyle();PENCI.singlepostside();$('body').on('single_loaded_more',function(){PENCI.singlepostscrollin()})})})(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.