{"version":3,"sources":["contactForm.js"],"names":["validateMyForm","document","getElementById","value","checked","hideKing","style","visibility","removeAttribute","load","setTimeout","window","onload"],"mappings":"AAAA,QAAAA,kBAEA,OAAAC,SAAAC,eAAA,UAAAC,QAAAF,SAAAC,eAAA,2BAAAE,QAQA,QAAAC,YACAJ,SAAAC,eAAA,UAAAI,MAAAC,WAAA,SACAN,SAAAC,eAAA,UAAAM,gBAAA,YAEA,QAAAC,QACAC,WAAAL,SAAA,KAEAM,OAAAC,OAAAH","file":"../contactForm-bundle.js","sourcesContent":["function validateMyForm() {\r\n // The field is empty, submit the form.\r\n if (!document.getElementById(\"__king\").value && !document.getElementById(\"agreetermsandconditions\").checked) {\r\n return true;\r\n }\r\n // the field has a value it's a spam bot\r\n else {\r\n return false;\r\n }\r\n}\r\nfunction hideKing() {\r\n document.getElementById('__king').style.visibility = 'hidden';\r\n document.getElementById('__king').removeAttribute(\"required\");\r\n}\r\nfunction load() {\r\n setTimeout(hideKing, 2000);\r\n}\r\nwindow.onload = load;"]}