/** This is a delimited source block with an anchor, title, syntax highlighting, and callouts. */
(function () {
function init$5() {
const e = document.querySelector('.header > nav > .navbar-mobile'),
t = e.querySelector(':scope > .close'),
n = e.querySelector(':scope > .open'),
r = document.querySelector('.header > nav > .menu');
t.addEventListener('click', (() =>{
r.classList.remove('is-active'),
e.classList.remove('navbar-open')
})),
n.addEventListener('click', (() =>{
r.classList.add('is-active'),
e.classList.add('navbar-open')
}))
}
function init$4() {
const e = window.location.hash;
function t(e) {
const t = this.tab,
r = this.pane,
i = this.id,
a = this.tabset;
if (i && a) {
const e = a.querySelector('.select > select');
e && (e.value = i)
}
n(':scope > .tabs li', this.tabset).forEach((function (e) {
e === t ? e.classList.add('is-active') : e.classList.remove('is-active') (1)
})),
n(':scope > .content > .tab-pane', this.tabset).forEach((function (e) {
e === r ? e.classList.add('is-active') : e.classList.remove('is-active')
})),
e.preventDefault()
}
function n(e, t) {
return Array.prototype.slice.call((t || document).querySelectorAll(e))
}
function r(e, t) {
return n('.tab-pane', t).find((function (t) {
return t.getAttribute('aria-labelledby') === e
}))
}
n('.tabset').forEach((function (i) {
let a;
const o = i.querySelector('.tabs');
if (o) {
let s;
n('li', o).forEach((function (n, o) {
const l = (n.querySelector('a[id]') || n).id;
if (!l) return;
const c = r(l, i);
o || (s = {
tab: n,
pane: c
}),
!a && e === '#' + l && (a = !0) ? (n.classList.add('is-active'), c && c.classList.add('is-active')) : o || (n.classList.remove('is-active'), c && c.classList.remove('is-active')), (2)
n.addEventListener('click', t.bind({ (3)
tabset: i,
tab: n,
pane: c,
id: l
}))
})),
!a && s && (s.tab.classList.add('is-active'), s.pane && s.pane.classList.add('is-active'))
}
/** This is comment content.
* This is comment content.
* This is comment content.
* This is comment content.
* This is comment content.
*/
/** End of source. */