PageSourceSearch

https://www.chiadegracia.fi/cdn/shop/t/14/assets/details-disclosure.js?v=118626640824924522881644090281

js chiadegracia.fi collected 2026-09-26 21:15:00 UTC 569 bytes, 21 lines download raw bytes

1class DetailsDisclosure extends HTMLElement {
2  constructor() {
3    super();
4    this.mainDetailsToggle = this.querySelector('details');
5
6    this.mainDetailsToggle.addEventListener('focusout', this.onFocusOut.bind(this));
7  }
8
9  onFocusOut() {
10    setTimeout(() => {
11      if (!this.contains(document.activeElement)) this.close();
12    })
13  }
14
15  close() {
16    this.mainDetailsToggle.removeAttribute('open');
17    this.mainDetailsToggle.querySelector('summary').setAttribute('aria-expanded', false);
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.