{"version":3,"sources":["src/scripts/components/contact-sticky.js"],"names":["$","jQuery","init","contactClose","length","on","event","module","closest","preventDefault","css","promise","done","fadeOut"],"mappings":";;;;;AAAA,IAAIA,IAAIC,MAAR;;AAEA,SAASC,IAAT,GAAgB;AACd,MAAIC,eAAeH,EAAE,wBAAF,CAAnB;;AAEA,MAAIG,aAAaC,MAAjB,EAAyB;AACvBD,iBAAaE,EAAb,CAAgB,OAAhB,EAAyB,UAASC,KAAT,EAAgB;AACvC,UAAIC,SAASP,EAAE,IAAF,EAAQQ,OAAR,CAAgB,iBAAhB,CAAb;AACAF,YAAMG,cAAN;AACAF,aAAOG,GAAP,CAAW,EAAC,aAAa,6CAAd,EAAX,EAAyEC,OAAzE,GAAmFC,IAAnF,CAAwF,YAAW;AACjGL,eAAOM,OAAP;AACD,OAFD;AAGD,KAND;AAOD;AACF;;QAEQX,I,GAAAA,I","file":"contact-sticky.js","sourcesContent":["var $ = jQuery;\n\nfunction init() {\n var contactClose = $('.contact-sticky__close');\n\n if (contactClose.length) {\n contactClose.on('click', function(event) {\n let module = $(this).closest('.contact-sticky');\n event.preventDefault();\n module.css({'animation': 'contact-sticky__hide-animation .5s forwards'}).promise().done(function() {\n module.fadeOut();\n });\n });\n }\n}\n\nexport { init };\n"]}