"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8979],{8979:(p,c,a)=>{a.r(c),a.d(c,{startFocusVisible:()=>E});const r="ion-focused",l=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp"],E=()=>{let i=[],o=!0;const s=document,n=t=>{i.forEach(e=>e.classList.remove(r)),t.forEach(e=>e.classList.add(r)),i=t},d=()=>{o=!1,n([])};s.addEventListener("keydown",t=>{o=l.includes(t.key),o||n([])}),s.addEventListener("focusin",t=>{if(o&&t.composedPath){const e=t.composedPath().filter(u=>!!u.classList&&u.classList.contains("ion-focusable"));n(e)}}),s.addEventListener("focusout",()=>{s.activeElement===s.body&&n([])}),s.addEventListener("touchstart",d),s.addEventListener("mousedown",d)}}}]);