PageSourceSearch

https://app.century.tech/assets/focus-visible-CAvgvXnL.js

js century.tech collected 2026-09-24 09:17:17 UTC 3,853 bytes, 1 lines download raw bytes

1import{A as D}from"./index-D83OPrL5.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};o.SENTRY_RELEASE={id:"[email protected]"};var u=new o.Error().stack;u&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[u]="9f6e84c7-5896-418b-932f-c78c57a82eaa",o._sentryDebugIdIdentifier="sentry-dbid-9f6e84c7-5896-418b-932f-c78c57a82eaa")}catch{}})();function _(o,u){for(var s=0;s<u.length;s++){const i=u[s];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in o)){const r=Object.getOwnPropertyDescriptor(i,n);r&&Object.defineProperty(o,n,r.get?r:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}},F=f.exports,E;function O(){return E||(E=1,(function(o,u){(function(s,i){i()})(F,(function(){function s(n){var r=!0,d=!1,l=null,p={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(e){return!!(e&&e!==document&&e.nodeName!=="HTML"&&e.nodeName!=="BODY"&&"classList"in e&&"contains"in e.classList)}function L(e){var A=e.type,b=e.tagName;return!!(b==="INPUT"&&p[A]&&!e.readOnly||b==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function m(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function g(e){e.hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added"))}function w(e){e.metaKey||e.altKey||e.ctrlKey||(a(n.activeElement)&&m(n.activeElement),r=!0)}function c(e){r=!1}function h(e){a(e.target)&&(r||L(e.target))&&m(e.target)}function T(e){a(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(d=!0,window.clearTimeout(l),l=window.setTimeout(function(){d=!1},100),g(e.target))}function N(e){document.visibilityState==="hidden"&&(d&&(r=!0),v())}function v(){document.addEventListener("mousemove",t),document.addEventListener("mousedown",t),document.addEventListener("mouseup",t),document.addEventListener("pointermove",t),document.addEventListener("pointerdown",t),document.addEventListener("pointerup",t),document.addEventListener("touchmove",t),document.addEventListener("touchstart",t),document.addEventListener("touchend",t)}function V(){document.removeEventListener("mousemove",t),document.removeEventListener("mousedown",t),document.removeEventListener("mouseup",t),document.removeEventListener("pointermove",t),document.removeEventListener("pointerdown",t),document.removeEventListener("pointerup",t),document.removeEventListener("touchmove",t),document.removeEventListener("touchstart",t),document.removeEventListener("touchend",t)}function t(e){e.target.nodeName&&e.target.nodeName.toLowerCase()==="html"||(r=!1,V())}document.addEventListener("keydown",w,!0),document.addEventListener("mousedown",c,!0),document.addEventListener("pointerdown",c,!0),document.addEventListener("touchstart",c,!0),document.addEventListener("visibilitychange",N,!0),v(),n.addEventListener("focus",h,!0),n.addEventListener("blur",T,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window<"u"&&typeof document<"u"){window.applyFocusVisiblePolyfill=s;var i;try{i=new CustomEvent("focus-visible-polyfill-ready")}catch{i=document.createEvent("CustomEvent"),i.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(i)}typeof document<"u"&&s(document)}))})()),f.exports}var y=O();const C=D(y),x=_({__proto__:null,default:C},[y]);export{x as f};

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.