1(globalThis.webpackChunk_sv_portlet=globalThis.webpackChunk_sv_portlet||[]).push([[4496],{6096(t,a,e){"use strict";e(5020),e(9357),e(1484)},5020(t,a,e){"use strict";e(9014)},9014(){var t;(t=window.$svjq).fn.pagination=function(a){if("number"==typeof a)return;const e=this,n=`.${a.hitContainer}`,i=Math.ceil((a.hitCount||0)/a.hitsPerPage),s=`${a.hitContainer.replace("hits","result")}`,r=document.getElementById(s);let l=a.startAtHit?Math.floor(parseInt(a.startAtHit,10)/a.hitsPerPage)+1:1;function o(t){return`<li><a\n href="#${s}"\n data-page="${t}">\n <span class="env-assistive-text">${a.text.goToPage}</span>\n ${t}\n </a></li>`}function c(t){return`<li><span aria-current="page" class="current"><span class="env-assistive-text">${a.text.currentPage}</span> ${t}</span></li>`}function p(t){const e=`#${s}`,n=a.text.prev,r=a.text.next,p=a.text.paginationLabel;let u="";return u+=l<=1?`<li><span class="current prev">${n}</span></li>`:`<li><a href="${e}" class="prev" data-page="prev">${n}</a></li>`,u+=function(t,e){let n="",s=1;if(t<2)for(s=1;s<t;s++)n+=s===l?c(s):o(s);else n+=o(s),n+=`<li aria-label="${a.text.morePages}"><span aria-hidden="true">...</span></li>`;for(s=t;s<=e;s++)n+=s===l?c(s):o(s);if(e>=i-2)for(s=e+1;s<=i;s++)n+=o(s);else n+=`<li aria-label="${a.text.morePages}"><span aria-hidden="true">...</span></li>`,n+=o(i);return n}(t.rangeStart,t.rangeEnd),u+=l>=i?`<li><span class="current next">${r}</span></li>`:`<li><a href="${e}" class="next" data-page="next">${r}</a></li>`,`<nav aria-labelledby="${a.hitContainer}_pagination"><h2 class="env-assistive-text" id="${a.hitContainer}_pagination">${p}</h2><ul class="pagination env-list env-list--horizontal env-flex--wrap">${u}</ul></nav>`}function u(){let t=l-2,a=l+2;return a>i&&(a=i,t=i-4,t=t<1?1:t),t<=1&&(t=1,a=Math.min(5,i)),{rangeStart:t,rangeEnd:a}}e.html(p(u())),t(r).off("click",".pagination a").on("click",".pagination a",function(i){i.preventDefault();const s=t(i.target).closest("[data-page]").data("page");switch(s){case"prev":l--;break;case"next":l++;break;default:l=s}const o=a.baseUrl+(l-1)*a.hitsPerPage;e.html(p(u())),a.callback instanceof Function&&a.callback(o),sv.PortletUtil.doGetWithFade(n,o,()=>{window.requestAnimationFrame(()=>{r&&r.scrollIntoView()})})})}}}]); 2//# sourceMappingURL=tagcloudresult-portlet.js.map
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.