{"version":3,"file":"EventHandlers.cjs","names":["defaultOnMouseDownHandler","e","preventDefault","document","activeElement","currentTarget","blur","exports"],"sources":["../../src/common/EventHandlers.ts"],"sourcesContent":["export const defaultOnMouseDownHandler = (e: React.MouseEvent<any>) => {\r\n  e.preventDefault();\r\n  if (document.activeElement !== e.currentTarget){\r\n    //@ts-ignore\r\n    document?.activeElement?.blur();\r\n  }\r\n};\r\n"],"mappings":";;;;;;AAAO,MAAMA,yBAAyB,GAAIC,CAAwB,IAAK;EACrEA,CAAC,CAACC,cAAc,CAAC,CAAC;EAClB,IAAIC,QAAQ,CAACC,aAAa,KAAKH,CAAC,CAACI,aAAa,EAAC;IAC7C;IACAF,QAAQ,EAAEC,aAAa,EAAEE,IAAI,CAAC,CAAC;EACjC;AACF,CAAC;AAACC,OAAA,CAAAP,yBAAA,GAAAA,yBAAA","ignoreList":[]}