PageSourceSearch

https://dexthemes.com/dist/assets/chunk-FITSRO75.js

js dexthemes.com collected 2026-10-08 15:15:58 UTC 1,266 bytes, 1 lines download raw bytes

1var f=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"textarea:not([disabled])","select:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function m(e,{dialogSelector:c='[role="dialog"]',onClose:d}={}){if(!e)return()=>{};let n=e.querySelector(c)||e.firstElementChild;if(!n)return()=>{};let o=document.activeElement instanceof HTMLElement?document.activeElement:null;n.setAttribute("role",n.getAttribute("role")||"dialog"),n.setAttribute("aria-modal","true");let a=()=>[...n.querySelectorAll(f)].filter(t=>t instanceof HTMLElement&&!t.hasAttribute("disabled")&&t.offsetParent!==null),r=()=>{let t=a()[0];t?t.focus():n.focus()},l=t=>{if(t.key==="Escape"){t.preventDefault(),d?.();return}if(t.key!=="Tab")return;let i=a();if(!i.length){t.preventDefault(),n.focus();return}let u=i[0],s=i[i.length-1];if(t.shiftKey&&document.activeElement===u){t.preventDefault(),s.focus();return}!t.shiftKey&&document.activeElement===s&&(t.preventDefault(),u.focus())};return e.__modalCleanup?.(),e.__modalCleanup=()=>{e.removeEventListener("keydown",l),o?.isConnected&&o.focus()},e.addEventListener("keydown",l),requestAnimationFrame(r),e.__modalCleanup}function p(e){e?.__modalCleanup?.(),e&&delete e.__modalCleanup}export{m as a,p as b};

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.