1(()=>{"use strict";const{customElements:e,HTMLElement:t}=window;e.get("pm-side-drawer")||e.define("pm-side-drawer",class extends t{closeButton=null;overlay=null;panel=null;constructor(){super(),this.closeButton=this.querySelector(".side-drawer__close.side-drawer__action"),this.overlay=this.querySelector(".side-drawer__overlay"),this.panel=this.querySelector(".side-drawer__panel"),this.closeButton?.addEventListener("click",this.handleClose),this.overlay?.addEventListener("click",this.handleClose),document.addEventListener("keydown",this.handleKeydown)}static get observedAttributes(){return["open","position"]}connectedCallback(){this.updateAria()}disconnectedCallback(){document.removeEventListener("keydown",this.handleKeydown),document.documentElement.classList.remove("pm-side-drawer-open")}attributeChangedCallback(e,t,n){t!==n&&"open"===e&&(this.updateAria(),this.toggleBodyScroll())}open(){this.setAttribute("open","")}close(){this.removeAttribute("open");const e=this.ownerDocument.activeElement;e instanceof t&&this.contains(e)&&e.blur()}toggle(){this.hasAttribute("open")?this.close():this.open()}handleClose=()=>{this.close()};handleKeydown=e=>{if(this.hasAttribute("open"))return"Escape"===e.key?(e.preventDefault(),void this.close()):void("Tab"===e.key&&this.trapFocus(e))};trapFocus(e){const n=this.getFocusableElements();if(!n.length)return;const s=n[0],i=n[n.length-1],o=this.ownerDocument.activeElement;return o instanceof t&&this.contains(o)?e.shiftKey&&o===s?(e.preventDefault(),void i.focus()):void(e.shiftKey||o!==i||(e.preventDefault(),s.focus())):(e.preventDefault(),void s.focus())}getFocusableElements(){return Array.from(this.querySelectorAll(["a[href]","button:not([disabled])","input:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",")))}updateAria(){const e=this.hasAttribute("open");this.setAttribute("aria-hidden",String(!e)),this.panel&&this.panel.toggleAttribute("inert",!e)}toggleBodyScroll(){const e=this.hasAttribute("open");document.documentElement.classList.toggle("pm-side-drawer-open",e)}}),e.get("pm-side-drawer-trigger")||e.define("pm-side-drawer-trigger",class extends t{constructor(){super(),this.addEventListener("click",this.handleClick)}handleClick=e=>{const t=e.target instanceof Element?e.target:null,n=t?.closest('button, [role="button"], a');
1if(!n||!this.contains(n))return;const s=this.findDrawer();if(!s)return;const i=s;"function"!=typeof i.open?i.setAttribute("open",""):i.open()};findDrawer(){const e=this.getAttribute("drawer-id");if(e)return document.getElementById(e);const t=this.closest(".pmd-header");return(null!=t?t:document).querySelector("pm-side-drawer")}})})();
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.