"use strict";function gtm4wp_prepare_cf7_data(t){var e={formid:"(not set)",inputs:[]};return t&&t.detail&&t.detail.contactFormId&&(e.formid=t.detail.contactFormId),event&&event.detail&&event.detail.inputs&&(e.inputs=event.detail.inputs),e}var gtm4wp_ctf7_event_pairs={wpcf7invalid:"gtm4wp.contactForm7InvalidInput",wpcf7spam:"gtm4wp.contactForm7SpamDetected",wpcf7mailsent:"gtm4wp.contactForm7MailSent",wpcf7mailfailed:"gtm4wp.contactForm7MailFailed",wpcf7submit:"gtm4wp.contactForm7Submitted"};!function(n,t,a){for(var e in a)!function(e){t.addEventListener(e,function(t){t=gtm4wp_prepare_cf7_data(t);n[gtm4wp_datalayer_name].push({event:a[e],formid:t.formid,inputs:t.inputs})})}(e)}(window,document,gtm4wp_ctf7_event_pairs);