UNPKG

homebridge-smartsystem

Version:

SmartServer (Proxy TCP sockets to the cloud, Smappee MQTT, Duotecno IP Nodes, Homekit interface)

1 lines 863 B
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{Tsnu:function(n,t,o){"use strict";o.r(t),o.d(t,"startFocusVisible",(function(){return s}));var e=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp"],s=function(){var n=[],t=!0,o=document,s=function(t){n.forEach((function(n){return n.classList.remove("ion-focused")})),t.forEach((function(n){return n.classList.add("ion-focused")})),n=t},i=function(){t=!1,s([])};o.addEventListener("keydown",(function(n){(t=e.includes(n.key))||s([])})),o.addEventListener("focusin",(function(n){if(t&&n.composedPath){var o=n.composedPath().filter((function(n){return!!n.classList&&n.classList.contains("ion-focusable")}));s(o)}})),o.addEventListener("focusout",(function(){o.activeElement===o.body&&s([])})),o.addEventListener("touchstart",i),o.addEventListener("mousedown",i)}}}]);