{"version":3,"sources":["eyes.js"],"names":["openEyes","self","$","this","parent","find","prop","addClass","closeEyes","removeClass","focusEyes","blurEyes","on"],"mappings":"AAAA,aAEA,IAAMA,SAAW,WACb,IAAMC,EAASC,EAAAC,MACfF,EAAKG,SAASC,KAAK,SAASC,KAAK,OAAQ,QACzCL,EAAKG,SAASC,KAAK,kBAAkBE,SAAS,cAG5CC,UAAY,WACd,IAAMP,EAASC,EAAAC,MACfF,EAAKG,SAASC,KAAK,SAASC,KAAK,OAAQ,YACzCL,EAAKG,SAASC,KAAK,kBAAkBI,YAAY,cAG/CC,UAAY,WACCR,EAAAC,MACVC,SAASC,KAAK,kBAAkBE,SAAS,aAG5CI,SAAW,WACET,EAAAC,MACVC,SAASC,KAAK,kBAAkBI,YAAY,aAGrDP,EAAE,WACEA,EAAE,kBAAkBU,GAAG,uBAAwBZ,UAC/CE,EAAE,kBAAkBU,GAAG,kDAAmDJ,WAC1EN,EAAE,SAASU,GAAG,QAASF,WACvBR,EAAE,SAASU,GAAG,OAAQD","file":"eyes.js","sourcesContent":["\"use strict\";\r\n\r\nconst openEyes = function () {\r\n const self = $(this);\r\n self.parent().find('input').prop('type', 'text');\r\n self.parent().find('.input-eye-btn').addClass('open-eyes');\r\n}\r\n\r\nconst closeEyes = function () {\r\n const self = $(this);\r\n self.parent().find('input').prop('type', 'password');\r\n self.parent().find('.input-eye-btn').removeClass('open-eyes');\r\n}\r\n\r\nconst focusEyes = function () {\r\n const self = $(this);\r\n self.parent().find('.input-eye-btn').addClass('on-focus');\r\n}\r\n\r\nconst blurEyes = function () {\r\n const self = $(this);\r\n self.parent().find('.input-eye-btn').removeClass('on-focus');\r\n}\r\n\r\n$(function () {\r\n $(\".input-eye-btn\").on('mousedown touchstart', openEyes);\r\n $(\".input-eye-btn\").on('mouseup mouseout touchcancel touchend touchmove', closeEyes);\r\n $(\"input\").on('focus', focusEyes);\r\n $(\"input\").on('blur', blurEyes);\r\n});\r\n"]}