1"use strict";(self.webpackChunkuon_2020_scripts=self.webpackChunkuon_2020_scripts||[]).push([[816],{426:function(t,e,s){s.r(e),e.default=class{constructor(){this.subject_sessions=document.querySelector(".ve-subject-sessions"),this.session_groups=document.querySelectorAll(".ve-subject-session-group"),this.session_pagination_btns=document.querySelectorAll(".ve-subject-sessions-pagination-btn"),this.prev_btn=document.querySelector(".ve-subject-sessions-prev-btn"),this.next_btn=document.querySelector(".ve-subject-sessions-next-btn"),this.pagination_updated=document.getElementById("pagination-status"),this.current_page=1,this.events()}events(){this.session_pagination_btns.forEach((t=>{t.addEventListener("click",(()=>{this.getPageNumber(t)}))})),this.prev_btn.addEventListener("click",(()=>{this.getPageNumber(this.prev_btn)})),this.next_btn.addEventListener("click",(()=>{this.getPageNumber(this.next_btn)}))}transition=t=>document.startViewTransition?document.startViewTransition(t):(t(),{finished:Promise.resolve()});getPageNumber(t){this.current_page=parseInt(t.dataset.page),this.doPagination()}doPagination(){parseInt(this.current_page)>1?(this.prev_btn.parentNode.classList.remove("d-none"),this.prev_btn.dataset.page=parseInt(this.current_page)-1,this.prev_btn.setAttribute("title","Go to page "+(parseInt(this.current_page)-1))):this.prev_btn.parentNode.classList.add("d-none"),parseInt(this.current_page)!==parseInt(this.subject_sessions.dataset.totalPages)?(this.next_btn.parentNode.classList.remove("d-none"),this.next_btn.dataset.page=parseInt(this.current_page)+1,this.next_btn.setAttribute("title",`Go to page ${parseInt(this.current_page)+1}`)):this.next_btn.parentNode.classList.add("d-none"),this.transition((()=>{this.session_groups.forEach((t=>{t.classList.remove("active"),t.dataset.page==this.current_page&&(t.classList.add("active"),this.session_pagination_btns.forEach((t=>{t.parentNode.classList.remove("active"),t.dataset.page==this.current_page&&t.parentNode.classList.add("active")})))})),this.pagination_updated.textContent=`Showing page ${this.current_page} of ${this.subject_sessions.dataset.totalPages}`}))}}}}]);
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.