import"./p-BTBbFFOR.js";import{K as t}from"./p-C0Fa3S9y.js";function n(n){return i=>{const{connectedCallback:o,componentDidLoad:s,disconnectedCallback:e}=i;i.connectedCallback=function(){{const{keyboardEventListeners:n=[]}=this;t.register(n)}return null==o?void 0:o.call(this)},i.componentDidLoad=function(){return this.keyboardEventListeners=n(this),t.register(this.keyboardEventListeners),null==s?void 0:s.call(this)},i.disconnectedCallback=function(){{const{keyboardEventListeners:n=[]}=this;t.deregister(n)}return null==e?void 0:e.call(this)}}}export{n as I}