PageSourceSearch

https://epaper.willisauerbote.ch/js/epaper/dashboard.js?v=8.2.4

js willisauerbote.ch collected 2026-09-25 06:47:37 UTC 3,639 bytes, 9 lines download raw bytes

1function getAccessToken(){return fetch(issueHomeUrl+"accessToken.act").then(b=>b.json()).then(b=>b.accessToken)}function setIframeSrc(b,a,c){c&&null!=c&&(a=-1==a.indexOf("?")?a+"?":a+"\x26",a+="access_token\x3d"+c);-1==a.indexOf("cmpimport")&&"undefined"!==typeof cmpmngr&&"undefined"!==typeof cmpmngr.consentstring&&(a+="#cmpimport\x3d"+__cmp("exportConsent"));$(b).attr("src",a)}
2function seeAllClickhandler(b){statisticsDispatcherEnabled&&statisticsDispatcher.dispatchEventTracking(STATS_EVENTCATEGORY_DASHBOARD_ISSUE_WIDGET,DASHBOARD_ISSUE_WIDGET_SHOW_ALL,b);var a=getRegion();b="widgetshelf.act?widgetId\x3d"+b;a&&(b+="\x26region\x3d"+a);location.href=b}
3if($("#datepicker").length&&"undefined"!==typeof startDate){var date;$("#datepicker").datepicker({format:"dd.mm.yyyy",autoclose:!0,startDate,endDate:new Date}).on("changeDate",function(a){var c=a.date.getDate();c=9<c?""+c:"0"+c;var d=a.date.getMonth()+1;d=9<d?""+d:"0"+d;date=[a.date.getFullYear(),d,c].join("-");document.getElementById("datepicker");document.hasFocus()||setTimeout(function(){$("#datepicker").datepicker("hide")},100)}).on("hide",function(a){null!=date&&b(date)});$("#datepicker").on("keyup",
4function(a){13===a.keyCode&&(dateObj=createDateObj($("#datepicker").val()),date=convertDateForTarget(dateObj+""),b(date))});function b(a){statisticsDispatcherEnabled&&statisticsDispatcher.dispatchEventTracking(STATS_EVENTCATEGORY_GRIDSHELF,GRIDSHELF_CHOOSEDATE,"");setTimeout(function(){if("undefined"!=typeof caller&&"dashboard"==caller){var c=getURLParameter("widgetId");var d="widgetshelf.act?dateTo\x3d"+a;null!=c&&(d+="\x26widgetId\x3d"+c)}else"undefined"!=typeof caller&&"openshelf"==caller?(c=getURLParameter("shelfKey"),
5d="openshelf.act?dateTo\x3d"+a,null!=c&&(d+="\x26shelfKey\x3d"+c)):(d="gridshelf.act?dateTo\x3d"+a,c=getURLParameter("id"),null!=c&&(d+="\x26id\x3d"+c));try{localStorage.setItem(appPrefix+"gridshelfDate",a)}catch(e){}(c=getRegion())&&(d+="\x26region\x3d"+c);document.location.href=d},300)}$(".input-group-addon").click(function(){statisticsDispatcherEnabled&&statisticsDispatcher.dispatchEventTracking(STATS_EVENTCATEGORY_GRIDSHELF,GRIDSHELF_OPEN_DATEPICKER,"");$("#datepicker").focus()})}
6function getLastVisibleDateOnPage(){const b=document.querySelectorAll("div.visible-date");return 0<b.length?createDateObj(b[b.length-1].textContent):null}
7function showMoreIssues(b,a){if("-1"==a)b="undefined"==typeof caller||"dashboard"!=caller&&"openshelf"!=caller?"moreIssues.act?id\x3d"+b:"moreWidgetIssues.act?widgetId\x3d"+b,a=convertDateForTarget(reduceDateObj(getLastVisibleDateOnPage(),1),"ISSUE"),b+="\x26dateTo\x3d"+a,console.log("End of page scrolling, try continue with dateTo\x3d"+a);else{var c=parseInt(a)+1;a=getURLParameter("dateTo");b="undefined"==typeof caller||"dashboard"!=caller&&"openshelf"!=caller?"moreIssues.act?id\x3d"+b:"moreWidgetIssues.act?widgetId\x3d"+
8b;b+="\x26pageNum\x3d"+c;a&&(b+="\x26dateTo\x3d"+a)}$.ajax({url:b,complete:function(d){var e=$("#issues-row .gridshelf .image-container img.thumbnail").attr("src");!d.responseText||""!=e&&-1!=d.responseText.indexOf(e)?($("#lastPageNum").text("-1"),$("#show-more-spinner\x3e.sk-circle").addClass("hidden")):($("#issues-row").append(d.responseText),$("#show-more-spinner\x3e.sk-circle").addClass("hidden"),$("#lastPageNum").text(c),showIssueNameInsteadofDate||convertIssueDates(".issue-container span.issue-date"))}})}
9function getWidgetUrlFromKey(b){if("undefined"!==typeof adsConfig&&0<adsConfig.length)try{return adsConfig.filter(a=>"dashboard_ad_webview"===a.type&&a.key==b)[0].url}catch(a){console.error("Error parsing adsConfig for ArticleTiles: "+a)}return""};

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.