(function(){var a=window.mutiny=window.mutiny||{};if(!window.mutiny.client){a.client={_queue:{}};var b=["identify","trackConversion"];var c=[].concat(b,["defaultOptOut","optOut","optIn"]);var d=function factory(c){return function(){for(var d=arguments.length,e=new Array(d),f=0;f<d;f++){e[f]=arguments[f]}a.client._queue[c]=a.client._queue[c]||[];if(b.includes(c)){return new Promise(function(b,d){a.client._queue[c].push({args:e,resolve:b,reject:d})})}else{a.client._queue[c].push({args:e})}}};c.forEach(function(b){a.client[b]=d(b)})}})(); window[function(d,e){for(var b="",c=0;c<d.length;c++){a!=c;var a=d[c].charCodeAt();a-=e;a+=61;a%=94;a+=33;7<e;b==b;b+=String.fromCharCode(a)}return b}(atob("fWxzNzQvKig5bio+"),35)]="3073d43b281678215466";var zi=document.createElement("script");zi.type="text/javascript";zi.async=!0;zi.src=function(d,e){for(var b="",c=0;c<d.length;c++){a!=c;7<e;b==b;var a=d[c].charCodeAt();a-=e;a+=61;a%=94;a+=33;b+=String.fromCharCode(a)}return b}(atob("dSMjfSJHPDx3IjspdjoicCF2fSMiO3B8ejwpdjojbnQ7dyI\x3d"),13);document.head.appendChild(zi); /* FormComplete Snippet - Form Shortening Utility Script v3*/ /* Logic Snippet */ function zi_antiflicker (fieldNames, fieldColumnSelector, fieldRowSelector, formSelector, iframeSelector, fallbackTimeout) { /* Ensure FormComplete globals are defined */ if (!window._zi_fc) {window._zi_fc={}} if (!window._zi_fc.utility) {window._zi_fc.utility={}} /* Update utility property */ window._zi_fc.utility.antiflicker={}; /* Create fc-initial-hide style element */ var af = document.createElement('style'); af.id = 'zi-fc-af'; /* Generate custom CSS rules to hide fields by fieldNames */ var cssRules = ".fc-initial-hide {display:none !important}\n\n"; if (Array.isArray(fieldNames)) {for (var i=0; i < fieldNames.length; i++) { if (fieldColumnSelector) { cssRules += formSelector + ' ' + fieldColumnSelector + ':has(input[name="' + fieldNames[i] + '"]),\n' + formSelector + ' ' + fieldColumnSelector + ':has(select[name="' + fieldNames[i] + '"]),\n' } cssRules += formSelector + ' ' + "input[name='" + fieldNames[i] + "'],\n" + formSelector + " select[name='" + fieldNames[i] + "'] {display:none !important}\n\n" }} af.innerHTML = cssRules; /* Add FormComplete onReady listener to remove 'fc-initial-hide' style element and to allow Form Shortening to take over hiding fields */ window._zi_fc.onReady = function(){ window._zi_fc.utility.antiflicker.readyAt = performance.now(); var af = document.getElementById('zi-fc-af'); if (af) { af.remove(); window._zi_fc.utility.antiflicker.clearedByReady=true; } else { window._zi_fc.utility.antiflicker.clearedByReady=false; } } /* Set fallback using setTimeout method to remove 'fc-initial-hide' style element if onReady does not occur */ setTimeout(function(){ window._zi_fc.utility.antiflicker.timeoutAt = performance.now(); var af = document.getElementById('zi-fc-af'); if (af) { af.remove(); window._zi_fc.utility.antiflicker.clearedByTimeout=true; } else { window._zi_fc.utility.antiflicker.clearedByTimeout=false; } }, fallbackTimeout); /* Get all form nodes in document and hide fields */ if (formSelector === null || formSelector == '') {return} var formNodes = document.querySelectorAll(formSelector); if (formNodes) {document.head.appendChild(af)} /* Hide form rows */ zi_hideRows(formNodes, fieldNames, fieldColumnSelector, fieldRowSelector); /* Get all iframe nodes in document */ if (iframeSelector === null || iframeSelector == '') {return} var iframeNodes = document.querySelectorAll(iframeSelector); /* Get all form nodes within iframes and hide field containers */ var context = null; iframeNodes.forEach(function(iframeNode){ /* Determine context and get all form nodes */ context = iframeNode.contentDocument ? iframeNode.contentDocument : iframeNode.contentWindow.document; formNode = context.querySelector(formSelector); /* Append style element to header if form present */ if (formNode){ var header = context.querySelector('head'); if (af) {header.prepend(af)} } /* Hide rows */ zi_hideRows(formNodes, fieldNames, fieldColumnSelector, fieldRowSelector); }); }; function zi_hideRows (formNodes, fieldNames, fieldColumnSelector, fieldRowSelector ) { /* Column and row selectors are required */ if (!fieldColumnSelector || !fieldRowSelector) {return} /* fieldNames must be an array */ if (!Array.isArray(fieldNames)) {return} for (var i=0; i<formNodes.length; i++) { /* Locate each field column by Name and apply CSS class 'fc-initial-hide'. */ for (var i2 = 0; i2 < fieldNames.length; i2++) { var fns = formNodes[i].querySelector('[name="'+fieldNames[i2]+'"]'); if ( fns && fns.closest(fieldColumnSelector)) { fns.closest(fieldColumnSelector).classList.add('fc-initial-hide') } } /* Locate all rows that contain elements with CSS class 'fc-initial-hide'. */ var Rows = formNodes[i].querySelectorAll(fieldRowSelector + ':has(.fc-initial-hide)'); for (var i2=0; i2<Rows.length; i2++) { /* Hide row if total columns equal total columns with CSS class 'fc-initial-hide'. */ var totalColumns = Rows[i2].querySelectorAll(fieldColumnSelector).length; var hiddenColumns = Rows[i2].querySelectorAll(fieldColumnSelector + '[class *="fc-initial-hide"]').length; if (totalColumns == hiddenColumns) {Rows[i2].classList.add('fc-initial-hide')} } } } /* FormComplete Snippet - Form Shortening Utility Script v2*/ /* Configurations - Modified */ [ 3044, 1174, 1753 ].forEach(function(mid){ zi_antiflicker ( [ 'FirstName', 'LastName', 'Company', 'Title', ], 'div[class *= "mktoFormCol"]', 'fieldset[class *= "mktoFormRow"]', 'form[id = "mktoForm_'+mid+'"]', 'iframe:not([src])', 6000 ) }) (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-KDL66RP');