1import{K as l,Ra as h,da as k,r as u}from"./chunk-LZGEQQYD.js";import{bc as o,n as c}from"./chunk-BW2TMJN6.js";var D=(()=>{let e=class e{constructor(){this.throttleTime=500,this.enterKey=!1,this.debounceClick=new l,this.clicks=new c}ngOnInit(){this.key=Date.now(),e.keys.unshift(this.key),this.subscription=this.clicks.pipe(o(this.throttleTime)).subscribe(t=>this.debounceClick.emit(t))}ngOnDestroy(){var t;(t=this.subscription)==null||t.unsubscribe(),e.keys=e.keys.filter(i=>{if(i!=this.key)return!0})}clickEvent(t){t.preventDefault(),t.stopPropagation(),this.clicks.next(t)}keyboardInput(t){this.enterKey&&t.keyCode==13&&this.key==e.keys[0]&&this.clicks.next(t)}};e.keys=[],e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=u({type:e,selectors:[["","app-debounce-click",""]],hostBindings:function(i,r){i&1&&h("click",function(s){return r.clickEvent(s)})("keydown",function(s){return r.keyboardInput(s)},!1,k)},inputs:{throttleTime:"throttleTime",enterKey:"enterKey"},outputs:{debounceClick:"debounceClick"},standalone:!0});let n=e;return n})();export{D as a};
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.