PageSourceSearch

https://oliviakate.nl/cdn/shop/t/102/assets/details-disclosure.js?v=130383321174778955031728561643

js oliviakate.nl collected 2026-09-25 14:00:15 UTC 529 bytes, 21 lines download raw bytes

1class DetailsDisclosure extends HTMLElement {
2  constructor() {
3    super();
4    this.mainDetailsToggle = this.querySelector('details');
5
6    this.addEventListener('keyup', onKeyUpEscape);
7    this.mainDetailsToggle.addEventListener('focusout', this.onFocusOut.bind(this));
8  }
9
10  onFocusOut() {
11    setTimeout(() => {
12      if (!this.contains(document.activeElement)) this.close();
13    })
14  }
15
16  close() {
17    this.mainDetailsToggle.removeAttribute('open')
18  }
19}
20
21customElements.define('details-disclosure', DetailsDisclosure);

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.