1"use strict";(self.webpackChunkbarratt_rebuild=self.webpackChunkbarratt_rebuild||[]).push([[2730],{46340(e,t,r){r.d(t,{default:()=>n});var i=r(98967),a=r(95747);const n=class{constructor(e){this.context=e,this.headings=null,this.children=null,this.headings=this.context.querySelectorAll("h1, h2, h3, h4, h5, h6"),(0,i.A)()||this.init()}init(){this.context.querySelector(".button-wrapper a")&&(0,a.A)(this.context,this.headings)}};(Object.getOwnPropertyDescriptor(n,"name")||{}).writable||Object.defineProperty(n,"name",{value:"default",configurable:!0})},95747(e,t,r){r.d(t,{A:()=>a});const i=e=>{e&&!e.id&&(e.id=`heading-${Math.random().toString(36).slice(2,9)}`)},a=(e,t)=>{if(!e?.querySelector(".button-wrapper a"))return;const r=e.querySelectorAll("h1, h2, h3, h4, h5, h6");if(!t&&0===r.length)return;t&&i(t),r?.forEach(e=>i(e));const a=Array.from(r).reverse(),n=Array.from(e.querySelectorAll("*")),l=new Set;e.querySelectorAll(".button-wrapper a").forEach((e,r)=>{if(e.hasAttribute("aria-labelledby"))return;const i=n.indexOf(e),s=a.find(e=>n.indexOf(e)<i&&!l.has(e.id));if(s&&s.id)e.setAttribute("aria-labelledby",s.id),l.add(s.id);else if(0===r&&t&&!l.has(t.id))e.setAttribute("aria-labelledby",t.id),l.add(t.id);else{if(!e.textContent)return;const t=e.textContent.trim();e.setAttribute("aria-label",t)}})};(Object.getOwnPropertyDescriptor(a,"name")||{}).writable||Object.defineProperty(a,"name",{value:"default",configurable:!0})}}]);
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.