PageSourceSearch

https://www.principal.com/profiles/contrib/houston/modules/pfg_pds…t-aria-described-by-element-ids.1tTKPo3w.js

js principal.com collected 2026-09-24 08:40:40 UTC 776 bytes, 19 lines download raw bytes

1import { v as o } from "./v4.BysszJq8.js";
2const b = (e) => {
3  const { ariaDescribedby: t, ariaDescribedbyIds: n } = e;
4  let r = "";
5  return n && (t ? t.split(/\s+/) : n.split(/\s+/)).forEach((i) => {
6    const d = document.getElementById(i);
7    if (d) {
8      const a = `${i}-${o()}`, c = d.textContent, s = document.createElement("span");
9      s.id = a, s.hidden = !0, s.textContent = c, e.shadowRoot.appendChild(s), r += `${a} `;
10    }
11  }), r.trim();
12}, y = (e) => {
13  const t = b(e);
14  return e.target === "_blank" ? t.concat(" hyperlink-sr-label") : e.disabledContext && e.ariaDescribedbyIds ? t.concat(" disabled-context") : e.disabledContext ? "disabled-context" : t;
15};
16export {
17  y as g
18};
19//# sourceMappingURL=get-aria-described-by-element-ids.1tTKPo3w.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.