{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.blur = blur;\n\nvar _utils = require(\"./utils\");\n\nfunction blur(element) {\n  if (!(0, _utils.isFocusable)(element)) return;\n  const wasActive = (0, _utils.getActiveElement)(element.ownerDocument) === element;\n  if (!wasActive) return;\n  (0, _utils.eventWrapper)(() => element.blur());\n}","map":{"version":3,"sources":["C:/Users/Hp/Portfolio_ATM/Portfolio_ATM/node_modules/@testing-library/user-event/dist/blur.js"],"names":["Object","defineProperty","exports","value","blur","_utils","require","element","isFocusable","wasActive","getActiveElement","ownerDocument","eventWrapper"],"mappings":"AAAA;;AAEAA,MAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,EAA6C;AAC3CC,EAAAA,KAAK,EAAE;AADoC,CAA7C;AAGAD,OAAO,CAACE,IAAR,GAAeA,IAAf;;AAEA,IAAIC,MAAM,GAAGC,OAAO,CAAC,SAAD,CAApB;;AAEA,SAASF,IAAT,CAAcG,OAAd,EAAuB;AACrB,MAAI,CAAC,CAAC,GAAGF,MAAM,CAACG,WAAX,EAAwBD,OAAxB,CAAL,EAAuC;AACvC,QAAME,SAAS,GAAG,CAAC,GAAGJ,MAAM,CAACK,gBAAX,EAA6BH,OAAO,CAACI,aAArC,MAAwDJ,OAA1E;AACA,MAAI,CAACE,SAAL,EAAgB;AAChB,GAAC,GAAGJ,MAAM,CAACO,YAAX,EAAyB,MAAML,OAAO,CAACH,IAAR,EAA/B;AACD","sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.blur = blur;\n\nvar _utils = require(\"./utils\");\n\nfunction blur(element) {\n  if (!(0, _utils.isFocusable)(element)) return;\n  const wasActive = (0, _utils.getActiveElement)(element.ownerDocument) === element;\n  if (!wasActive) return;\n  (0, _utils.eventWrapper)(() => element.blur());\n}"]},"metadata":{},"sourceType":"script"}