1var monthFullNames=["January","February","March","April","May","June","July","August","September","October","November","December"],monthShortNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ZCMP_RedirUrl=ZCMP_RedirUrl||"maillist-manage.com",ZC_URL=ZC_URL||"campaigns.zoho.com",ZCSF_Arr=ZCSF_Arr||new Array,ZCSF={},ZCSFGLB1={mLeave:!1,scr:!1,tmOnSite:!1,zcSignedUp:!1},ZCSFGLB2=ZCSFGLB2||{};ZCSFGLB2.SFLen=ZCSFGLB2.SFLen||0,ZCSFGLB2.onLd=ZCSFGLB2.onLd||!1,ZCSFGLB2.flag=ZCSFGLB2.flag||!1;var ZCSF_timer=(new Date).getTime(),ZCMH_sfid=[],ajaxUrl="",zcexp_date=new Date;zcexp_date.setTime(zcexp_date.getTime()+26784e5),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r},writable:!0,configurable:!0}),"function"!=typeof document.querySelectorAll&&(document.querySelectorAll=function(e){var t,r=document.createElement("style"),n=[];for(document.documentElement.firstChild.appendChild(r),document._qsa=[],r.styleSheet.cssText=e+"{x-qsa:expression(document._qsa && document._qsa.push(this))}",window.scrollBy(0,0),r.parentNode.removeChild(r);document._qsa.length;)(t=document._qsa.shift()).style.removeAttribute("x-qsa"),n.push(t);return document._qsa=null,n}),"function"!=typeof document.querySelector&&(document.querySelector=function(e){var t=document.querySelectorAll(e);return t.length?t[0]:null});var new_optin_response_in=0,duplicate_optin_response_in=0,signedup=!1,ZCWA={},loadreCaptcha=function(e,t){void 0===e&&(e="light"),void 0===t&&window.theme&&(e=window.theme),void 0===t&&(t="");var r=document.querySelector(t+"#recapDiv");try{var n=grecaptcha.render(r,{sitekey:"6LdNeDUUAAAAABpwRBYbCMJvQoxLi4d31Oho0EBw",theme:e}),o=t.trim().replace("#sf","").replace(/(\[.*signupform)|(\"\])/g,"");window[o+"_recaptcha"]=n}catch(e){return}},_setOptin=function(e,t,r,n,o,i){void 0===r&&(r=""),void 0===n&&(n=!1);var a=getElementVal(document.querySelector(r+"#formType")),c=getElementVal(document.querySelector(r+"#zc_Url"));if("QuickForm"!==a){var l=document.querySelector(r+"table#listRelTable");if(void 0!==l&&l){var s=l.querySelectorAll('input[type="checkbox"][name="listCheckBox"]');if(s)for(var d=0;d<s.length;d++){var u=s[d];u.removeEventListener("click",getcheckedListIds),u.addEventListener("click",getcheckedListIds)}}var p=document.querySelectorAll(r+".dateClass");if(p&&p.length>0)if("undefined"==typeof flatpickr){var m=document.createElement("script"),f=document.createElement("link"),y="https://"+c+"/css/flatpickr.min.css",S="https://"+c+"/js/flatpickr.min.js";m.src=S,f.href=y,f.rel="stylesheet";var v="loadDatePicker_"+r.trim().replace("#sf","");window[v]=function(){flatpickr(r+".dateClass",{dateFormat:"m/d/Y"}),delete window[v]},m.onload=window[v],document.head.appendChild(m),document.head.appendChild(f)}else flatpickr(r+".dateClass",{dateFormat:"m/d/Y"});if(2!=i){var h=!0;if(document.getElementById("isCaptchaNeeded")&&(h=document.getElementById("isCaptchaNeeded").value),"true"==h||1==h)if("undefined"==typeof grecaptcha||void 0===grecaptcha.render){m=document.createElement("script");var g=r.trim().replace("#sf","").replace(/(\[.*signupform)|(\"\])/g,"");m.src="https://www.google.com/recaptcha/api.js?onload=loadCaptcha_"+g,window["loadCaptcha_"+g]=function(){loadreCaptcha(o,r),delete window["loadCaptcha_"+g]},document.head.appendChild(m)}else loadreCaptcha(o,r)}else{var C="https://"+c+"/campaigns/CaptchaVerify.zc?mode=generate",_=document.getElementById("captchaDiv");loadCaptcha(C,_,r)}}var b=document.querySelector(r+"[id='zcWebOptin2']"),F=document.querySelector(r+"[id='zcWebOptin']");!b||"button"==b.getAttribute("type")&&"input"===F.getAttribute("type")||(n?b.addEventListener("click",function(e){return e.stopPropagation(),e.preventDefault(),!1}):b.addEventListener("click",function(n){return saveOptin(document.querySelector(r+"#contactcreateform"),e,t,r,n),n.stopPropagation(),n.preventDefault(),!1})),!F||"button"===F.getAttribute("type")&&"input"===F.getAttribute("type")?F&&F.addEventListener("click",function(n){saveOptin(F,e,t,r,n)}):n?(F.setAttribute("onclick","return false;"),F.addEventListener("click",function(e){return e.stopPropagation(),e.preventDefault(),!1})):F.setAttribute("onclick","saveOptin(this,"+e+","+t+",'"+r+"',event);");var w=document.querySelector(r+"[id='zcampaignOptinForm']");w&&(n?w.addEventListener("keypress",function(e){if(13==e.keyCode)return e.stopPropagation(),e.preventDefault(),!1}):w.addEventListener("keypress",function(n){if(13==n.keyCode&&"textarea"!=n.target.type)return saveOptin(F,e,t,r,n),!1}));try{var O=w.querySelector("#new_optin_response_in"),x=w.querySelector("#duplicate_optin_response_in");if(!O||!x){var Z=getElementVal(w.querySelector("#zc_Url")),z=getElementVal(w.querySelector("#zc_formIx"));sendAjaxReq("https://"+Z+"/ua/Optin?r=t&zc_formIx="+z,z,"GET",!0,function(e){if(e)try{var t=JSON.parse(e);void 0!==t.new_optin_response_in&&w.appendChild(document.createElement("<input type='hidden' value='"+t.
1new_optin_response_in+"' id='new_optin_response_in' />")),void 0!==t.duplicate_optin_response_in&&w.appendChild(document.createElement("<input type='hidden' value='"+t.duplicate_optin_response_in+"' id='duplicate_optin_response_in' />"))}catch(e){w.appendChild(document.createElement("<input type='hidden' value='"+e+"' id='zcOptinError' />"))}})}}catch(e){w&&w.appendChild(document.createElement("<input type='hidden' value='"+e+"' id='zcOptinError' />"))}b&&(b.removeEventListener("click",webOptinSuccessMessageEvent),b.addEventListener("click",webOptinSuccessMessageEvent)),F&&(F.removeEventListener("click",webOptinSuccessMessageEvent),F.addEventListener("click",webOptinSuccessMessageEvent));var q=document.querySelector("#zcOptinOverLay"),k=document.querySelector("#closeSuccess");document.body.addEventListener("keyup",function(e){27!==e.keyCode&&"27"!==e.keyCode||closeSuccessPopup()}),q&&q.addEventListener("click",function(){closeSuccessPopup()}),k&&k.addEventListener("click",function(){closeSuccessPopup()});var A="none"===w.querySelector("[changeitem='SIGNUP_FORM_FIELD']").style.borderStyle,I=getElementVal(w.querySelector("#fieldBorder")),T=w.querySelectorAll("input[name]"),L=w.querySelectorAll("textarea");if(T&&T.length>0){var E=function(e){var t=T[e];return t.name?"none"==t.style.display?"continue":void(A?t.addEventListener("keyup",function(e){testIfValidChar(e)&&(t.style.borderStyle="none")}):t.addEventListener("keyup",function(e){testIfValidChar(e)&&(t.style.borderColor=I)})):"continue"};for(d=0;d<T.length;d++)E(d)}if(L&&L.length>0){var P=function(e){var t=L[e];return t.name?"none"==t.style.display?"continue":void(A?t.addEventListener("keyup",function(e){testIfValidChar(e)&&(t.style.borderStyle="none")}):t.addEventListener("keyup",function(e){testIfValidChar(e)&&(t.style.borderColor=I)})):"continue"};for(d=0;d<L.length;d++)P(d)}},bindMultiSelectToggle=function(e){e.addEventListener("mousedown",function(t){"OPTION"===t.target.tagName&&(t.preventDefault(),t.target.selected=!t.target.selected,e.dispatchEvent(new Event("change")))})},setupSF=function(e,t,r,n,o,i){void 0===t&&(t=void 0),void 0===r&&(r=!1),void 0==o&&(o=!1);var a=function(){},c=function(){var c=document.querySelectorAll("#"+e),l=[];if(c&&c.length>0)for(var s=0;s<c.length;s++){var d=c[s];if(-1==d.getAttribute("data-type").indexOf("signupform_")){d.setAttribute("data-type","signupform_"+s);var u="#"+e+'[data-type="signupform_'+s+'"] ',p=document.querySelector(u+"#zcampaignOptinForm").getAttribute("action");if(null!=p){var m=p.indexOf("maillist-manage"),f=p.indexOf("/weboptin");-1!=m&&(ZCMP_RedirUrl=p.substring(m,f))}var y=document.querySelector(u+"#customForm div");r||null==y||(null==y.getAttribute("name")||"FORM_CLOSE"==y.getAttribute("name")?document.querySelector(u+"#customForm [name=SIGNUP_BODY]")?document.querySelector(u+"#customForm [name=SIGNUP_BODY]").addEventListener("click",zcSFImpressions,!0):document.querySelector(u+"#customForm [id=SIGNUP_BODY]").addEventListener("click",zcSFImpressions,!0):"SIGNUP_PAGE"==y.getAttribute("name")?y.querySelector("form").addEventListener("click",zcSFImpressions,!0):"SIGNUP_BODY"==y.getAttribute("name")&&y.addEventListener("click",zcSFImpressions,!0));var S=document.querySelector(u+"#zc_trackCode");S&&t&&S.setAttribute("value",t);var v=document.querySelector(u+"#fieldBorder"),h=document.querySelector(u+"[changeItem='SIGNUP_FORM_FIELD']");if(v&&h){var g=h.style.borderColor;v.setAttribute("value",g)}var C="runOnFormSubmit_"+e;void 0===window[C]&&(window[C]=a);var _=document.querySelector(u+"form");_&&l.push(_),_setOptin(!1,window[C],u,r,n,i);var b=document.querySelector(u+"select[multiple]");b&&bindMultiSelectToggle(b),r||0!=s||o||trackSignupEvent(t,"view",u)}}if(l&&l.length>0){var F=function(){for(var e=0;e<l.length;e++)sap(l[e])};if("function"!=typeof sap){var w=l[0].getAttribute("action"),O="";try{O=new URL(w).origin+"/js/dig.js"}catch(e){}var x=document.createElement("script");x.onload=F,x.type="application/javascript",x.src=O,document.head.appendChild(x)}else F()}};"complete"!=document.readyState?1==o?c():document.addEventListener("DOMContentLoaded",function(e){c()}):c()},zcSFImpressions=function(e){this.removeEventListener("click",zcSFImpressions,!0);var t={category:"updImpression"};if(t.signupFormIx=this.querySelector("#zc_formIx").value,t.trackingCode=this.querySelector("#zc_trackCode").value,t.action="impression",t.orgId=document.querySelector("#zcOrgIx").value,t.actId=document.querySelector("#zcActIx").value,t.custId=document.querySelector("#zcCustIx").value,t.zx=document.querySelector("#cmpZuid").value,t.visitorType=0,null!=this.querySelector("#zcFormType")){var r="POPUPFORM"==this.querySelector("#zcFormType").value;t.fromPopup=r}var n=ZCMP_RedirUrl;window.location.protocol;makeAjaxReq("https://"+n+"/ua/TrailEvent"+"?callback=processData&"+serializeJson(t))},saveOptin=function(e,t,r,n,o){var i;if(void 0===n&&(n=""),void 0===o&&(o=void 0),validateSignupForm("saveoptin",e,n)){if((i=""!=n?document.querySelector(n+"form"):close
1st(e,"form"))&&(r&&(t||r()),"_zcSignup"==i.getAttribute("target"))){var a=null,c='<style>*{padding:0;margin:0;}.spinner {margin: 10% auto; width: 70px; text-align: center; }.spinner > div { width: 18px; height: 18px; background-color: #3aba79; border-radius: 100%; display: inline-block; -webkit-animation: bouncedelay 1.4s infinite ease-in-out; animation: bouncedelay 1.4s infinite ease-in-out; -webkit-animation-fill-mode: both; animation-fill-mode: both; }.spinner .bounce1 { -webkit-animation-delay: -0.32s; animation-delay: -0.32s; }.spinner .bounce2 { -webkit-animation-delay: -0.16s; animation-delay: -0.16s; }@keyframes bouncedelay { 0%, 80%, 100% { transform: scale(0.0); -webkit-transform: scale(0.0); } 40% { transform: scale(1.0); -webkit-transform: scale(1.0); } }</style><div class="spinner"> <div class="bounce1"></div> <div class="bounce2"></div> <div class="bounce3"></div></div>',l=i.querySelector("#new_optin_response_in"),s=i.querySelector("#duplicate_optin_response_in");l&&s?"0"==l.getAttribute("value")&&((a=window.open("")).document.body.innerHTML=c,a.focus()):void 0!==new_optin_response_in&&void 0!==duplicate_optin_response_in&&0==new_optin_response_in&&((a=window.open("")).document.body.innerHTML=c,a.focus());var d=i.querySelector("#Zc_SignupSuccess");d&&(d.style.display="none");var u=i.querySelector("[name='CONTACT_EMAIL']");if(u){var p=u.value;if(p&&""!=p){if(p=p.trim(),u.value=p,p.length>99){var m=i.querySelector("#errorMsgDiv");m&&(m.style.display=""),u.classList.add("zcerrortxt");var f=i.querySelector("#SIGNUP_BODY");if(f){var y=f.style.backgroundColor;y&&""!=y&&y.indexOf("rgb")>-1&&y.split(",")[0].split("(")[1]>200&&(u.style.background="rgba(255,255,0,1)")}return!1}var S=serializeFormData(i),v=(S+="&responseMode=inline").indexOf("zc_formIx")+10,h=S.substring(v,S.indexOf("&",v));if(S.indexOf("zc_formIx")>-1&&null!=document.querySelector("#zc"+h)){var g;try{g=window.top.location.href}catch(e){g=window.location.href}S+="&sourceURL="+encodeURIComponent(g),S+="&tpIx="+document.querySelector("#zc"+h).value,null!=document.querySelector("#zcCustIx")&&(S+="&custIx="+document.querySelector("#zcCustIx").value),null!=document.querySelector("#zcCntr"+h)&&(S+="&cntrIx="+document.querySelector("#zcCntr"+h).value)}i.querySelector("#p_from")&&"WA"==ZCWA.from&&(S+="&popupInfoMap_Id="+ZCWA.CurrUser+"_"+ZCWA.popupInfoMap_Id+"&FROM_POPUP=true");var C=i.getAttribute("action");if(C&&0!=C.indexOf("https")){var _="https:";0!=C.indexOf("//")&&(_+="//"),C=_+C}sendAjaxReq(C,S,"GET",!0,function(e){if(dataParsing(e,t,r,i,a),resetSignupForm(i,n),window.location.href.indexOf("zoho.com/academy-subscriber.html")>-1){var o=document.querySelector("[name=COUNTRY]").selectedIndex;i.reset(),document.querySelector("[name=COUNTRY]").selectedIndex=o}else i.reset();if("undefined"!=typeof grecaptcha)try{if(n){var c=n.trim().replace("#sf","").replace(/(\[.*signupform)|(\"\])/g,""),l=window[c+"_recaptcha"];l?grecaptcha.reset(l):grecaptcha.reset()}else grecaptcha.reset()}catch(e){}});var b=i.querySelector("#zc_trackCode"),F=getElementVal(b);null!=F&&""!=F||(F="ZCFORMVIEW"),1==signedup?trackSignupEvent(F):signedup=!0}
1}t&&r&&t&&r()}}else if(o)return o.preventDefault(),o.stopPropagation(),!1},referenceSetter=function(e){imgRef=e},trackSignupEvent=function(e,t,r){void 0===e&&(e=""),void 0===t&&(t="view"),void 0===r&&(r="");var n,o,i,a=document.querySelector(r+"#zc_formIx"),c=document.querySelector(r+"#cmpZuid"),l=document.querySelector(r+"#viewFrom"),s=document.querySelector(r+"[name=zcvers]"),d=!1;if(null!=document.querySelector(r+"#zcFormType")&&(d="POPUPFORM"==document.querySelector(r+"#zcFormType").value),void 0==l?n="URL_ACTION":null!==(n=l.getAttribute("value"))&&void 0!==n&&""!==n||(n="URL_ACTION"),o={},""==e){var u=document.querySelector(r+"#zc_trackCode");u&&(e=u.getAttribute("value"))}o.category="update",o.action=t,o.trackingCode=e,o.viewFrom=n,o.zx=getElementVal(c),o.signupFormIx=getElementVal(a),o.zcvers=getElementVal(s);try{i=window.top.location.href}catch(e){i=window.location.href}o.source=encodeURIComponent(i),d&&(o.fromPopup=d);var p=getZCookie("zc_wa");null!=p&&(o.waCookie=p);var m=document.referrer;void 0!=m&&""!=m&&(o.ref=encodeURIComponent(m));var f=window.location.href.split("?");new Array;if(f[1]&&f.indexOf("socialshare=")>-1){var y=f.indexOf("socialshare="),S=f.indexOf("=",y)+1;y=S,S=f.indexOf("&",y)>-1?f.indexOf("&",y):f.length-1,o.socialshare=f.substring(y,S)}var v={};v.zx=getElementVal(c),v.signupFormIx=getElementVal(a),v.refurl=encodeURIComponent(document.referrer),v.url=encodeURIComponent(window.location.href);var h=document.querySelector(r+"#zc_Url"),g=getElementVal(h);if(void 0!=g&&g.indexOf("http")<0){var C=window.location.protocol;C.indexOf("http")<0&&(C="http:"),g=(C="https:")+"//"+g}makeAjaxReq(ajaxUrl=g+"/ua/TrailEvent"+"?"+serializeJson(o))};function zc_form_data(e){var t=e;if(t.signupFormIx){var r=document.querySelectorAll("#zc_formIx[value='"+t.signupFormIx+"']");if(r)for(var n=0;n<r.length;n++){var o=r[n];if(o){var i=o.form,a=i.querySelector("[name='zcTP']");if(a)a.value=JSON.stringify(e);else{var c=document.createElement("input");c.type="hidden",c.value=JSON.stringify(e),c.name="zcTP",i.appendChild(c)}}}}}function zcVisitorExpCallback(){}var getElementVal=function(e){return e?e.value:void 0};function makeAjaxReq(e){var t=document.createElement("script");t.setAttribute("src",e),t.setAttribute("id","jsonp"),t.setAttribute("async",!1),t.type="application/javascript";var r=document.getElementById("jsonp"),n=document.getElementsByTagName("head")[0];null==r?n.appendChild(t):n.replaceChild(t,r)}var sendAjaxReq=function(e,t,r,n,o){var i,a;void 0===r&&(r="GET"),void 0===n&&(n=!0),void 0===o&&(o=function(e){});try{i=new XMLHttpRequest}catch(e){i=new window.ActiveXObject("Microsoft.XMLHTTP")}a="object"==typeof t?serializeJson(t):t,"GET"==r&&(a&&""!=a&&null!=a&&(e+="?"+a),a=null,e.indexOf("/weboptin.zc")>-1&&(i.withCredentials=!0,i.crossDomain=!0)),i.open(r,e,n),n&&(i.onreadystatechange=function(){4==this.readyState&&o&&o(i.responseText)});try{if("POST"==r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.send(a),!n)return o?o(i.responseText):i.responseText}catch(e){}},serializeJson=function(e){void 0===e&&(e={});for(var t=Object.keys(e),r="",n=0;n<t.length;n++)r+=t[n]+"="+e[t[n]],r+="&";return r.substring(0,r.length-1)};function getcheckedListIds(e){var t=[],r=this.form?this.form:void 0;if(r){var n=r.querySelectorAll("[name='listCheckBox']");if(n&&n.length>0)for(var o=0;o<n.length;o++){var i=n[o];i.checked&&t.push(i.getAttribute("value"))}var a=r.querySelector("#allCheckedListIds");a&&a.setAttribute("value",t.join(",").toString())}}function closeSuccessPopup(e){void 0===e&&(e="");var t=document.querySelector(e+"#zcOptinSuccessPopup"),r=document.querySelector(e+"#zcOptinOverLay");if(t&&fade(t),r&&(r.style.display="none"),void 0!=ZCSF.formId){var n=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId);n&&(n.style.display="none"),document.querySelector("#popup_SF_"+ZCSF.formId).style.display="none"}hideSFPopup()}function fade(e,t,r){void 0===t&&(t=50),void 0===r&&(r=void 0);var n=1,o=e.style.opacity;void 0!==o&&""!=o||(o=1);var i=setInterval(function(){if(n<=.1)return clearInterval(i),e.style.display="none",e.style.opacity=o,e.style.filter="alpha(opacity="+100*o+")",void(r&&r());e.style.opacity=n,e.style.filter="alpha(opacity="+100*n+")",n-=.1*n},t)}function closest(e,t){var r,n;for(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some(function(e){return"function"==typeof document.body[e]&&(r=e,!0)});e;){if((n=e.parentElement)&&n[r](t))return n;e=n}return null}var webOptinSuccessMessageEvent=function(e){var t=closest(e.target,"[zc-signupform]"),r=document.querySelector(t+"#zcOptinOverLay");r&&r.addEventListener("click",function(){closeSuccessPopup(t)});var n=document.querySelector(t+"#closeSuccess");n&&n.addEventListener("click",function(){closeSuccessPopup(t)}),document.body.addEventListener("keyup",function(e){27==e.keyCode&&closeSuccessPopup(t)})};function getZCValidationString(e){switch(e){case"CONTACT_EMAIL":return"1,true,6,Subscriber Email,2";case"LASTNAME":return"1,false,1,Last Name,2"}}var validateSignupForm=function(e,t,r){var n,o=!1;if(window.location.href.indexOf("zoho.com/academy-subscriber.html")>-1){if(o=!0,null!=document.querySelector("#zerr_CONTACT_EMAIL"))document.querySelector("#zerr_CONTACT_EMAIL").style.display="none",document.querySelector("#zerr_listCheckBox").style.display="none";else{var i=document.querySelector("[name=CONTACT_EMAIL]"),a=document.createElement("label");setZcAttributes(a,{for:"CONTACT_EMAIL",id:"zerr_CONTACT_EMAIL",class:"error",style:"display:none;"}),a.innerText="Please enter a valid email address",i.parentNode.insertBefore(a,i.firstChild),i=document.querySelector("[id=listRelTable] [name=listCheckBox]"),setZcAttributes(a=document.createElement("label"),{for:"listCheckBox",id:"zerr_listCheckBox",class:"error",style:"display:none;"}),a.innerText="You must select at least 1 topic",i.parentNode.insertBefore(a,i.firstChild)}for(var c=document.querySelectorAll("[name=listCheckBox]"),l=!0,s=0;s<c.length;s++)if(c[s].checked){l=!1;break}l&&(o=!1,document.querySelector("#zerr_listCheckBox").style.display="block");var d=document.querySelector("[name=CONTACT_EMAIL]").value;return 0!=d.length&&emailPatternCheck(d)||(o=!1,document.querySelector("#zerr_CONTACT_EMAIL").style.display="block"),document.querySelector("#selectMailingLists").addEventListener("click",function(){for(var e=document.querySelectorAll("[name=listCheckBox]"),t=!0,r=0;r<e.length;r++)if(e[r].checked){t=!1;break}document.querySelector("#zerr_listCheckBox").style.display=t?"block":"none"}),document.querySelector("[name=CONTACT_EMAIL]").addEventListener("keyup",function(){var e=document.querySelector("[name=CONTACT_EMAIL]").value;0!=e.length&&emailPatternCheck(e)?document.querySelector("#zerr_CONTACT_EMAIL").style.display="none":document.querySelector("#zerr_CONTACT_EMAIL").style.display="block"}),o}if(void 0===r&&(r=""),n=r?document.querySelector(r+"form"):close
1st(t,"form")){var u=n.querySelectorAll("*"),p=getElementVal(n.querySelector("#fieldBorder")),m=n.querySelector('[name="privacyPolicy"]'),f=n.getElementsByTagName("textarea"),y=n.querySelector("#errorMsgDiv"),S=new Array("<",">"),v=n.querySelector("[changeitem='SIGNUP_FORM_FIELD']"),h="none";null!=v&&(h=v.style.borderStyle);var g="none"===h,C="true";if(y&&(y.style.display="none"),m){var _=m.querySelector("input[type='checkbox']");_&&(_.checked?m.style.border="none":(m.focus(),m.style.border="1px red solid",C="false"))}var b=void 0,F=function(e){e.style.borderColor="#f2644d",e.style.borderStyle="solid",e.style.borderWidth="1px"};if(u&&u.length>0){for(s=0;s<u.length;s++){if((D=u[s]).name){var w=D.name,O="";if(null!=(W=n.querySelector("#dt_"+w))&&void 0!=W||void 0!=w&&(O=getZCValidationString(w)),W||""!=O&&void 0!=O){var x=(O=null!=W?W.innerText:O).split(","),Z=parseInt(x[0]),z=x[1],q=parseInt(x[2]),k=(x[3],x[5]);if((G=D.value)&&(G=G.trim()),(j=n.querySelector("#error_"+w))&&(j.innerHTML=""),b=D,g&&(b=closest(b,"div")),4==q||12==q){var A=D.parentNode;A&&(A=A.parentNode),A&&(A=A.parentNode),A&&(A=A.parentNode),A&&(b=A)}if(e&&"saveoptin"==e.toLowerCase()&&b&&(b.style.borderColor=p,4!=q&&12!=q||(b.style.border="none")),k==G&&b&&(b.value=""),"true"!=z||4!=q&&12!=q||D.checked||(F(b),C="false"),"true"==z&&10==q){for(var I=!1,T=n.querySelectorAll('[name="'+w+'"]'),L=0;L<T.length&&!(I=T[L].checked);L++);I||(F(b),C="false")}else if("true"!=z||""!=G&&"dummy"!=G||3!=q)if("true"==z&&13==q){var E="",P=D.querySelectorAll("option");if(P&&P.length>0){for(L=0;L<P.length;L++){(x=P[L]).selected&&(E+=x.value+",")}""!=E&&E.indexOf(",")>0&&(E=E.substring(0,E.lastIndexOf(",")))}""==E&&(F(b),C="false")}else"true"==z&&""==G&&10!=q&&4!=q&&12!=q&&(F(b),C="false");else F(b),C="false";if(splCharValidationForSignupForm(G,S,b.getAttribute("id"),n)||(F(b),C="false"),2==Z||5==Z){var N=parseInt(G);("true"==z&&(NaN==N||isNaN(N))||"true"!=z&&""!=G&&(NaN==N||isNaN(N)))&&(F(b),C="false")}else if(9==q){""!=G&&G.indexOf("http")<0&&(G="http://"+G),G&&""!=G&&!RegExp("((?:www\\.)?(?:[a-zA-Z0-9\\-]+\\.)+(?:(?:[a-zA-Z]{2,3}\\.[a-zA-Z]{2,5})|[a-zA-Z]{2,5}))").test(G)&&(F(b),C="false")}else if("true"==z&&1==Z&&6==q)G&&emailPatternCheck(G)||(F(b),C="false");else if(1==Z&&6==q)G&&(emailPatternCheck(G)||(F(b),C="false"));else if(1==Z&&22==q){var R,M;if(w.indexOf("_dd")>-1){var U=w.substring(0,w.length-3);R=n.querySelector('[name="'+w+'"]'),M=n.querySelector('[name="'+U+'"]')}else{var B=w+"_dd";R=n.querySelector('[name="'+B+'"]'),M=n.querySelector('[name="'+w+'"]')}if(R.value&&M.value){var H=R.value,J=M.value;if(""!=J&&""!=H)(5!=(E=J+"/"+H).length||5==E.length&&!new RegExp("^((0[1-9]|1[0-2])/([01][1-9]|10|2[0-8]))|((0[13-9]|1[0-2])/(29|30))|((0[13578]|1[02])/31)|(02/29)$").test(E))&&(5!=E.length?(2!=J.length&&F(M),2!=H.length&&F(R)):new RegExp("^(0[1-9]|1[0-2])$").test(J)?F(R):F(M),C="false")}else(M.value&&""!=M.value&&""==R.value||R.value&&""!=R.value&&""==M.value)&&(M.value&&""!=M.value&&""==R.value&&F(R),R.value&&""!=R.value&&""==M.value&&F(M),C="false")}}}}if(f)for(s=0;s<f.length;s++){var D,W;w=(D=f[s]).name;if(W=n.querySelector("dt_"+w)){var G,j;x=(O=W.innerText).split(","),Z=parseInt(x[0]),z=x[1],q=parseInt(x[2]),x[3],k=x[5];(G=D.value)&&(G=G.trim()),(j=n.querySelector("#error_"+w))&&(j.innerHTML=""),b=D,g&&(b=closest(b,"div")),"saveOptin"==e&&b&&(b.style.borderColor=p),k==G&&b&&(b.value=""),"true"!=z||10!=q&&4!=q&&12!=q||(F(b),C="false"),splCharValidationForSignupForm(G,S,b.getAttribute("id"),n)||(F(b),C="false"),1==Z&&6==q&&G&&""!=G&&(emailPatternCheck(G)||(F(b),C="false"))}}}var V=n.querySelector("#captchaText"),Y=n.querySelector("#captcha"),X=n.querySelector("#recapDiv");if(V&&"none"!=V.style.display&&n.querySelector("#captchaOld")&&"none"!=n.querySelector("#captchaOld").style.display){var K=n.querySelector("#captchaDiv"),$=K.querySelector("img").getAttribute("src"),Q=$.indexOf("digest=")+7;(te=captchaCheckForOptin($.substring(Q,$.length),getElementVal(V),n))||(F(V),C="false",loadCaptcha("",K,n))}else if(Y&&"none"!=Y.style.display&&X&&"none"!=X.style.display||!Y&&X&&"none"!=X.style.display){var ee=n.querySelector("[name='g-recaptcha-response']"),te=!!getElementVal(ee),re=n.querySelector("#new_optin_response_in"),ne=n.querySelector("#duplicate_optin_response_in");re&&ne?"0"!=re.getAttribute("value")&&"0"!=ne.getAttribute("value")||(te=checkReCaptcha(n)):void 0!==new_optin_response_in&&void 0!==duplicate_optin_response_in&&(0!=new_optin_response_in&&0!=duplicate_optin_response_in||(te=checkReCaptcha(n))),te?(X.style.borderColor="",X.style.borderStyle="",X.style.borderWidth=""):(F(X),C="false")}if("false"==C){if(unfade(y),X&&"none"!=X.style.display&&"undefined"!=typeof grecaptcha)try{if
1(r){var oe=r.trim().replace("#sf","").replace(/(\[.*signupform)|(\"\])/g,""),ie=window[oe+"_recaptcha"];ie?grecaptcha.reset(ie):grecaptcha.reset()}else grecaptcha.reset()}catch(e){}var ae=n.querySelector("#workInfoDetails");ae&&(ae.style.display=""),o=!1}else o=!0}return o},serializeFormData=function(e){for(var t=e.querySelectorAll("input[name],select[name],textarea[name]"),r="",n=0;n<t.length;n++){var o=t[n];if(o.name&&""!=o.name){var i=o.tagName,a=o.value;if("SELECT"==i&&"multiple"==o.getAttribute("multiple")){if(a="",(s=o.querySelectorAll("option"))&&s.length>0){for(var c=0;c<s.length;c++){var l=s[c];l.selected&&(a+=l.value+";")}a=a.substring(0,a.lastIndexOf(";"))}}else if("SELECT"==i){var s;(s=o.options)&&(a=s[o.selectedIndex].value)}else o.type&&"radio"==o.type?o.checked&&(a=o.getAttribute("identity")):o.type&&"checkbox"==o.type&&(a&&""!=a||(a=o.checked),a||(r+=o.name+"="+encodeURIComponent(a),r+="&"));a&&""!=a&&(r+=o.name+"="+encodeURIComponent(a),r+="&")}}return""!=r&&(r=r.substring(0,r.length-1)),r},resetSignupForm=function(e,t){var r=e.querySelectorAll(".drpdwnmnusel");if(r)for(var n=0;n<r.length;n++){(m=r[n]).querySelector("p").innerText("--Select--")}var o=e.querySelectorAll(".zcrdoslct");if(o)for(n=0;n<o.length;n++){(m=o[n]).classList.add("zcrdounslct"),m.classList.remove("zcrdoslct")}var i=e.querySelectorAll(".zcicon-checkbox-marked");if(i)for(n=0;n<i.length;n++){(m=i[n]).classList.add("zcicon-checkbox-blank-outline"),m.classList.remove("zcicon-checkbox-marked")}var a=e.querySelectorAll(".mlslct");if(a)for(n=0;n<a.length;n++){(m=a[n]).querySelector("i").click()}var c=e.querySelector("[name='captchaContainer']"),l=e.querySelector("#captcha");if(c&&"none"!=c.style.display)loadCaptcha("",e.querySelector("#captchaDiv"),e);else if(l&&"none"!=l.style.display){var s=e.querySelector("#recapDiv");if(s&&"none"!=s.style.display&&"undefined"!=typeof grecaptcha)try{if(t){var d=t.trim().replace("#sf","").replace(/(\[.*signupform)|(\"\])/g,""),u=window[d+"_recaptcha"];u?grecaptcha.reset(u):grecaptcha.reset()}else grecaptcha.reset()}catch(e){}l.style.borderColor="",l.style.borderStyle="",l.style.borderWidth=""}var p=e.querySelectorAll("input");if(p)for(n=0;n<p.length;n++){var m;if("none"==(m=p[n]).style.display)return!1;var f=m.type,y=m.tagName.toLowerCase();"text"==f||"textarea"==y||"file"==f?m.value="":"checkbox"==f||"radio"==f?m.checked=!1:"checkbox"!=f&&"radio"!=f||(m.checked=!1)}},dataParsing=function(e,t,r,n,o){var i;i={};var a=n.querySelector("[name='zcTP']"),c=a?a.value:null,l=document.cookie,s=-1,d=1,u="ua";if(l.indexOf("zc_cu=")>-1&&(d=2,u="wa",s=l.indexOf("zc_cu=")),l.indexOf("zc_wa=")>-1&&(d=1,u="ua",s=l.indexOf("zc_wa=")),-1==s)l=null;else{s=l.indexOf("=",s)+1;var p=l.indexOf(";",s);-1==p&&(p=l.length),l=unescape(l.substring(s,p))}c&&(l=(c=JSON.parse(c)).zc_ck,i.zc_tp=c.zc_tp,isFromWebsite="false"),i.cookie=l,i.isFromWebsite="true",i.srvc_Type=d;var m=document.querySelector("#p_from"),f=document.querySelector("#popup_SF_"+ZCWA.SFLen),y=document.querySelector("#popup_WA_"+ZCWA.WALen),S=document.querySelector("#popup_SF_"+ZCSF.formId);if(("string"==typeof e&&e.indexOf("ZCERRORJSON")<=-1||"object"==typeof e&&"ZCERRORJSON"!=e.responseType)&&m&&(f||y)){if(y&&(y.style.display="block"),f&&(f.style.display="block"),i.popupInfoMap_Id=ZCWA.popupInfoMap_Id,"SF"==ZCWA.from)addPopupHistory("response");else{var v=i.cookie,h=v.indexOf("-");if("v"==v.substring(h+1,h+2))addPopupHistory("response");else{var g="{}";g=JSON.parse(g),null!=(H=getZCookie("zc_tp"))&&(g.zc_tp=H);var C=e;if("string"==typeof C&&C.indexOf("ZC_TYPEJSON")>-1||"object"==typeof C&&"ZC_TYPEJSON"==C.responseType)"string"==typeof C&&(w=JSON.parse(C)),g.emailId=w.emailid,g.isNewContact=w.isNewContact,g.listKey=w.listId;else if("string"==typeof C&&C.indexOf("ZC_TYPE_2_JSON")>-1||"object"==typeof C&&"ZC_TYPE_2_JSON"==C.responseType){var _=C.indexOf("##ZCJSON##</div>"),b=C.indexOf("##ZCJSONSTART##")+15,F=C.substring(b,_);C=C.substring(_+10),void 0!==(w=JSON.parse(F)).ZC_NEWOPTINRESPONSE&&0===w.ZC_NEWOPTINRESPONSE&&(g.emailId=w.emailid,g.isNewContact=w.isNewContact,g.listKey=w.listId)}g.customerID=v.substring(v.indexOf("-")+2),g.action="contactCheck",(I=window.location.protocol).indexOf("http")<0&&(I="http:"),sendAjaxReq(I+"//maillist-manage.com/campaigns/PopupAction.do",g,"POST",!0,function(e){if(e.indexOf("###DIFF_")>-1){var t=e.substring(e.indexOf("_")+1);addPopupHistory("response"),setTimeout(function(){addPopupHistory("view","response",t)},250)}else addPopupHistory("response","signup")})}}setAchievedCookie()}var w,O=n.querySelector("#zcFormType");if(S&&null!=O&&0!=ZCSF.isCkReq&&setZCCookieLifeTime(!0),t&&r&&t&&r(),"string"==typeof e&&e.indexOf("ZC_TYPEJSON")>-1||"object"==typeof e&&"ZC_TYPEJSON"==e.responseType){if("string"==typeof e)w=JSON.parse(e);else if("object"!=typeof e)try{w=JSON.parse(e)}catch(e){var x=document.createElement("input");x.type="hidden",x.value=e,x.id="zcError",n.appendChild(x)}else w=e;i.emailid=encodeURIComponent(w.emailid),i.zsoid=w.zsoid;var Z=void 0!=w.spmSubmit&&w.spmSubmit,z=w.isMANewui,q=void 0!=w.cntrIx?w.cntrIx:null,k=void 0!=w.encryptSFI
1d?w.encryptSFId:null;if(w.hasOwnProperty("isNewContact")&&(i.isNewContact=w.isNewContact),w.hasOwnProperty("listId")&&(i.listKey=w.listId),null!=q)if(null==document.querySelector('[id="zcCntr'+k+'"]')){var A=document.getElementsByTagName("body")[0];setZcAttributes(D=document.createElement("input"),{type:"hidden",id:"zcCntr"+k,value:q}),A.appendChild(D)}else document.querySelector('[id="zcCntr'+k+'"]').value=q;var I=window.location.protocol;if(void 0!==w.newOptinResponse&&2===w.newOptinResponse){if(o&&o.close(),!Z)if(z&&window._zps)window._zps.api("setMHIdentifierInfo",[i.emailid]);else if(l&&null!=l&&""!=l){(J=document.createElement("script")).type="application/javascript",i.url=window.location.href;var T=zc_serializeJson(i);J.src=I+"//"+ZCMP_RedirUrl+"/"+u+"/addmappingforanonymousandcontacts"+T,J.setAttribute("onload","this.parentNode.removeChild(this);"),document.body.appendChild(J)}var L=n.querySelector("#Zc_SignupSuccess");if(!L){var E=document.querySelector("#Zc_SignupSuccess");if(E.style.zIndex="99999",E){var P=E.parentElement.cloneNode(!0),N=n.querySelector("input[name]");if(N){var R=N.parentElement;R?R.insertBefore(P,N):n.insertBefore(P,n.children[0])}else n.insertBefore(P,n.children[0]);L=n.querySelector("#Zc_SignupSuccess")}}if(L){var M=L.querySelector("#signupSuccessMsg");M&&(M.innerText=w.inlineMessage),unfade(L,10,function(){setTimeout(function(){(fade(L),void 0!=ZCSF.formId)&&((e=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId))&&(e.style.display="none"),S.style.display="none");if(void 0!=ZCWA.SFLen)f&&((e=document.querySelector("#PopupOverLay_SF_"+ZCWA.SFLen))&&(e.style.display="none"),f.style.display="none");else if(void 0!=ZCWA.WALen){var e;if(y)(e=document.querySelector("#PopupOverLay_WA_"+ZCWA.WALen))&&(e.style.display="none"),y.style.display="none"}},3e3)})}}else if(void 0!==w.newOptinResponse&&1===w.newOptinResponse){var U=w.targetUrl;if(void 0!=ZCSF.formId)(Q=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId))&&(Q.style.display="none"),S.style.display="none";if(void 0!=ZCWA.SFLen){if(f)(Q=document.querySelector("#PopupOverLay_SF_"+ZCWA.SFLen))&&(Q.style.display="none"),f.style.display="none"}else if(void 0!=ZCWA.WALen){if(y)(Q=document.querySelector("#PopupOverLay_WA_"+ZCWA.WALen))&&(Q.style.display="none"),y.style.display="none"}if(!Z)if(z&&window._zps)window._zps.api("setMHIdentifierInfo",[i.emailid]);else if(l&&null!=l&&""!=l){(J=document.createElement("script")).type="application/javascript";T=zc_serializeJson(i);J.src=I+"//"+ZCMP_RedirUrl+"/"+u+"/addmappingforanonymousandcontacts"+T,J.setAttribute("onload","this.parentNode.removeChild(this);"),document.body.appendChild(J)}void 0!==w.targetWindow&&"_self"===w.targetWindow?(o&&o.close(),window.location.href=U):o?o.window.location.href=U:window.open(U)}}else if(e.indexOf("##ZCJSON##</div>")>-1){_=e.indexOf("##ZCJSON##</div>"),b=e.indexOf("##ZCJSONSTART##")+15,F=e.substring(b,_);e=e.substring(_+10);var B=document.createElement("div");if(B.setAttribute("id","zcJSONDiv"),B.innerHTML=F,document.getElementsByTagName("head")[0].appendChild(B),void 0!==(w=JSON.parse(document.querySelector("#zcJSONDiv").innerText)).ZC_NEWOPTINRESPONSE&&0===w.ZC_NEWOPTINRESPONSE){i.emailid=encodeURIComponent(w.emailid),i.zsoid=w.zsoid;var H;Z=void 0!=w.spmSubmit&&w.spmSubmit,z=w.isMANewui,q=void 0!=w.cntrIx?w.cntrIx:null,k=void 0!=w.encryptSFId?w.encryptSFId:null;w.hasOwnProperty("isNewContact")&&(i.isNewContact=w.isNewContact),w.hasOwnProperty("listId")&&(i.listKey=w.listId),null!=(H=getZCookie("zc_tp"))&&(i.zc_tp=H);I=window.location.protocol;if(void 0!=ZCWA.SFLen){if(f)(Q=document.querySelector("#PopupOverLay_SF_"+ZCWA.SFLen))&&(Q.style.display="none"),f.style.display="none"}else if(void 0!=ZCWA.WALen){if(y)(Q=document.querySelector("#PopupOverLay_WA_"+ZCWA.WALen))&&(Q.style.display="none"),y.style.display="none"}if(!Z)if(z&&window._zps)window._zps.api("setMHIdentifierInfo",[i.emailid]);else if(l&&null!=l&&""!=l){var J;(J=document.createElement("script")).type="application/javascript",i.url=window.location.href;T=zc_serializeJson(i);J.src=I+"//"+ZCMP_RedirUrl+"/"+u+"/addmappingforanonymousandcontacts"+T,J.setAttribute("onload","this.parentNode.removeChild(this);"),document.body.appendChild(J)}if(null!=q)if(null==document.querySelector('[id="zcCntr'+k+'"]')){var D;A=document.getElementsByTagName("body")[0];setZcAttributes(D=document.createElement("input"),{type:"hidden",id:"zcCntr"+k,value:q}),A.appendChild(D)}else document.querySelector('[id="zcCntr'+k+'"]').value=q;if(void 0!==w.ZC_TARGETWINDOW&&"_self"===w.ZC_TARGETWINDOW){if(void 0!=ZCSF.formId)(Q=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId))&&(Q.style.display="none"),S.style.display="none";o&&o.close();var W=closest(n,"#signUpFormInline"),G=n.querySelector("#new_optin_response_in");if(G&&"1"==G.getAttribute("value"))document.body.innerHTML=e,zc_runResponseJS(e),window.parent.postMessage(e,"*");else if(W&&"none"!=W.style.display){document.querySelector("head").remove();var j=document.querySelector("#zc_close").cloneNode(!0);W.innerHTML="",W.appendChild(document.createElement(e)),W.prependChild(j),W.querySelector("#zc_close").style.zIndex="2",W.style.height="240px",W.style.width="700px"}else document.body.innerHTML=e,zc_runResponseJS(e),window.parent.postMessage(e,"*")}else if(void 0!==w.ZC_TARGETWINDOW&&"_blank"===w.ZC_TARGETWINDOW){if(void 0!=ZCSF.formId)(Q=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId))&&(Q.style.display="none"),S&&(S.style.display="none");var V=null;V=o||window.open("");var Y=document.title;V.document.write("<!DOCTYPE HTML><html><head><title>"+Y+"</title></head>"),V.document.write("<body>"+e+"</body>"),V.document.write("</html>"),V.window.history.pushState({html:"",pageTitle:""},"",window.location.href),V.document.close(),document.querySelector("#signUpFormInline")&&(document.querySelector("#zc_popoverlay").style.display="none",document.querySelector("#signUpFormInline").style.display="none")}else{o&&o.close();var X=getElementVal(document.querySelector("#zc_trackCode"));
1if(window.self!==window.top&&"fbSignUp"!=X){document.querySelector("#zcOptinSuccessPanel").innerHTML=e,zc_runResponseJS(e),window.parent.postMessage(document.body.innerHTML,"*")}else{var K=document.querySelector("#zcOptinOverLay"),$=document.querySelector("#zcOptinSuccessPanel");K&&(K.style.height="100%",K.style.width="100%",unfade(K,10,function(){$.innerHTML=e,zc_runResponseJS(e),unfade(document.querySelector("#zcOptinSuccessPopup"))}))}}}}else if(e.lastIndexOf("##ZCJSON##")>-1){if(void 0!=ZCSF.formId)(Q=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId))&&(Q.style.display="none"),S.style.display="none";if(void 0!=ZCWA.SFLen){if(f)(Q=document.querySelector("#PopupOverLay_SF_"+ZCWA.SFLen))&&(Q.style.display="none"),f.style.display="none"}else if(void 0!=ZCWA.WALen){var Q;if(y)(Q=document.querySelector("#PopupOverLay_WA_"+ZCWA.WALen))&&(Q.style.display="none"),y.style.display="none"}o&&o.close();_=e.lastIndexOf("##ZCJSON##"),b=e.indexOf("##ZCJSONSTART##")+15;e=e.substring(_+10),unfade(document.querySelector("#zcOptinSuccessPopup"));var ee=document.body,te=document.documentElement,re=Math.max(ee.scrollHeight,ee.offsetHeight,te.clientHeight,te.scrollHeight,te.offsetHeight);(K=document.querySelector("#zcOptinOverLay")).style.height=re.toString(),K.style.display="",document.querySelector("#zcOptinSuccessPanel").innerHTML=e,zc_runResponseJS(e),-1!=e.indexOf("###ZCJSON#")&&(themeParse(signupTheme),themeParse(thanksPageTheme))}else if(e.indexOf("isResubscription")>-1){var ne=!1;if((ae=n.querySelector("#new_optin_response_in"))?"0"!=ae.getAttribute("value")&&"2"!=ae.getAttribute("value")||(ne=!0):void 0!==new_optin_response_in&&(0!=new_optin_response_in&&2!=new_optin_response_in||(ne=!0)),ne){var oe=null;(oe=o||window.open("")).document.write(e),oe.window.history.pushState({html:"",pageTitle:""},"",""),oe.document.close()}else{if(o&&o.close(),le=document.querySelectorAll("style,link"))for(var ie=0;ie<le.length;ie++)le[ie].remove();document.body.innerHTML=e,zc_runResponseJS(e),window.parent.postMessage(e,"*")}}else{ne=!1;var ae,ce=!1;if((ae=n.querySelector("#new_optin_response_in"))?"0"!=ae.getAttribute("value")&&"2"!=ae.getAttribute("value")||(ne=!0,"2"==ae.getAttribute("value")&&(ce=!0)):void 0!==new_optin_response_in&&(0!=new_optin_response_in&&2!=new_optin_response_in||(ne=!0)),ce){o&&o.close();X=getElementVal(document.querySelector("#zc_trackCode"));if(window.self!==window.top&&"fbSignUp"!=X){document.querySelector("#zcOptinSuccessPanel").innerHTML=e,zc_runResponseJS(e),window.parent.postMessage(document.body.innerHTML,"*")}else{K=document.querySelector("#zcOptinOverLay"),$=document.querySelector("#zcOptinSuccessPanel");K&&(K.style.height="100%",K.style.width="100%",unfade(K,10,function(){$.innerHTML=e,zc_runResponseJS(e),unfade(document.querySelector("#zcOptinSuccessPopup"))}))}}else if(ne){oe=null;(oe=o||window.open("")).document.write(e),oe.window.history.pushState({html:"",pageTitle:""},"",""),oe.document.close()}else{var le;if(o&&o.close(),le=document.querySelectorAll("style,link"))for(ie=0;ie<le.length;ie++)le[ie].remove();document.body.innerHTML=e,zc_runResponseJS(e),window.parent.postMessage(e,"*")}}},loadCaptcha=function(e,t,r){var n;if(void 0===r&&(r=void 0),void 0!==e&&""!==e?n=e:""!==e&&e&&"undefined"!==e&&"null"!==e||void 0==r||(n=getElementVal(r.querySelector("#zc_Url"))+"/campaigns/CaptchaVerify.zc?mode=generate"),void 0==n)return!1;if(n.indexOf("http")<0){n="https://"+n}else n.replace("http:","https:");sendAjaxReq(n,{},"GET",!0,function(e){if(t){t.id;"object"==typeof r?t=document.getElementById("captchaDiv"):null!=r&&"null"!=r&&(t=document.querySelector(r+" #captchaDiv")),t.innerHTML=e;var n=t.querySelector("img");n.style.maxWidth="200px",n.style.width="100%"}})};function unfade(e,t,r){void 0===t&&(t=10),void 0===r&&(r=void 0);var n=.1,o=e.style.opacity;void 0!==o&&""!=o||(o=1),e.style.display="";var i=setInterval(function(){if(n==o)return e.style.opacity=n,e.style.filter="alpha(opacity="+100*n+")",clearInterval(i),void(r&&r());e.style.opacity=n,e.style.filter="alpha(opacity="+100*n+")",(n+=.1*n)>o&&(n=o)},t)}var themeParse=function(e,t){void 0===t&&(t=void 0);var r,n=JSON.stringify(e),o=!1;if(!t&&-1==n.indexOf("THANKSPAGE")){var i=document.querySelector("[name='SIGNUP_PAGE']");
1i&&(t=i.parentNode)}"tm_subscribe_thanks"==t||"tm_subscribe_thanks_duplicate"==t||"tm_doptin_thanks"==t||"tm_doptin_thanks_exist"==t?r=closest(document.querySelector("#"+t),"#customForm"):t=r=closest(t,"#customForm");for(var a=Object.keys(e),c=0;c<a.length;c++){var l,s=a[c],d=e[s];if("DUPLICATE_THANKS_PAGE_BODY"==s?s="THANKS_PAGE_BODY":"DUPLICATE_THANKSPAGE"==s?s="THANKSPAGE":"DUPLICATE_THANKS_HEADER"==s&&(s="THANKS_HEADER"),!o&&d){var u=d;"object"==typeof d&&(u=JSON.stringify(d)),o=(u=u.toLowerCase()).indexOf("open sans")>-1}if(t)(l=t.querySelectorAll("#"+s))&&l.length>0&&zc_ApplyStyles(l,d),(l=t.querySelectorAll("[name="+s+"]"))&&l.length>0&&zc_ApplyStyles(l,d);else if(r)(l=r.querySelectorAll("#"+s))&&l.length>0&&zc_ApplyStyles(l,d),(l=r.querySelectorAll("[name="+s+"]"))&&l.length>0&&zc_ApplyStyles(l,d);else(l=(r=document).querySelectorAll("#"+s))&&l.length>0&&zc_ApplyStyles(l,d),(l=r.querySelectorAll("[name="+s+"]"))&&l.length>0&&zc_ApplyStyles(l,d);var p=r.querySelectorAll("[changeItem="+s+"]");if(p&&p.length>0&&zc_ApplyStyles(p,d),"SIGNUP_FORM_FIELD"==s&&d.height){var m=d.height;
1if(m&&""!=m&&(m=m.replace("px",""),!isNaN(parseInt(m)))){m=3*parseInt(m)<90?3*parseInt(m):90;var f=r.querySelectorAll("select[multiple='multiple'],textarea");f&&f.length>0&&zc_ApplyStyles(f,{height:m+"px"})}}}if(o){var y="";y='@font-face {font-family: "Open Sans";font-style: normal;font-weight: 400; src: url("https://webfonts.zohostatic.com/opensans/font.woff") format("woff");}',y+='\n@font-face {font-family: "Open Sans";font-style: normal;font-weight: 600; src: url("https://webfonts.zohostatic.com/opensanssemibold/font.woff") format("woff");}',y+='\n@font-face {font-family: "Open Sans";font-style: normal;font-weight: 300; src: url("https://webfonts.zohostatic.com/opensanslight/font.woff") format("woff");}',y+='\n@font-face {font-family: "Open Sans";font-style: normal;font-weight: 700; src: url("https://webfonts.zohostatic.com/opensansbold/font.woff") format("woff");}\n';var S=void 0;r&&(S=r.querySelector("style")),S||(S=document.querySelector("style")),S&&-1==S.innerHTML.indexOf("@font-face")&&(S.innerHTML+=y)}if("undefined"!=typeof isReady){isReady=!0;var v=document.querySelector("[name='SIGNUP_PAGE']"),h=document.querySelector("[name='SIGNUP_BODY']");r&&(v=r.querySelector("[name='SIGNUP_PAGE']"),h=r.querySelector("[name='SIGNUP_BODY']")),v&&unfade(v),h&&unfade(h)}};function splCharValidationForSignupForm(e,t,r,n){for(var o=0;o<t.length;o++)if(e.indexOf(t[o])>=0)return r&&n.querySelector("#"+r).focus(),!1;return!0}function emailPatternCheck(e){return!!new RegExp("^[_a-zA-Z0-9](?:[\\w-.+&\\'&]*)@(?:(?:[a-zA-Z0-9]+\\.)|(?:[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]\\.))+(?:[a-zA-Z]{2,25})$").test(e)}function captchaCheckForOptin(e,t,r){var n=getElementVal(r.querySelector("#zc_Url"));if(void 0!=n&&n.indexOf("http")<0){n="https://"+n}var o=n+"/campaigns/CaptchaVerify.zc",i={};return i.digest=e,i.capText=t,i.mode="verify",sendAjaxReq(o,i,"GET",!1,function(e){return!(e.indexOf("failure")>-1)})}function checkReCaptcha(e){var t=e.querySelector("[name='g-recaptcha-response']"),r=getElementVal(t),n=getElementVal(e.querySelector("#secretid")),o=getElementVal(e.querySelector("#zc_Url"));if(void 0!=o&&o.indexOf("http")<0){o="https://"+o}var i=o+"/campaigns/ReCaptchaVerify.zc",a={};return a.secret=n,a.response=r,sendAjaxReq(i,a,"POST",!1,function(e){var t=e;return!(t.indexOf("failure")>-1)&&(t.indexOf("success")>-1||void 0)})}var testIfValidChar=function(e){return!!/[a-zA-Z0-9-_ ]/.test(e.keyCode)};function getZCookie(e){var t=document.cookie,r=t.indexOf(" "+e+"=");if(-1==r&&(r=t.indexOf(e+"=")),-1==r)t=null;else{r=t.indexOf("=",r)+1;var n=t.indexOf(";",r);-1==n&&(n=t.length),t=unescape(t.substring(r,n))}return t}function zcCallback(e){var t=JSON.parse(JSON.stringify(e)).zc_cu;document.cookie="zc_cu="+t+";expires=Thu, 15 Dec 2072 12:00:00 UTC; path=/"}function checkBoxSelected(e,t){var r=e.getAttribute("check"),n=e.value?e.value:"",o=e.form;if(o){var i="#checkBoxValue_"+t,a=o.querySelector(i);if("notChecked"==r?(e.setAttribute("check","checked"),e.setAttribute("checked","checked")):(e.removeAttribute("checked"),e.setAttribute("check","notChecked")),"checked"!=r)a&&""==a.value?a.value+=n:a&&(a.value+=";"+n);else{var c=a.value.split(";"),l=n;c.splice(c.indexOf(l),1),a.value=c.join(";")}}}function zc_ApplyStyles(e,t){for(var r=0;r<e.length;r++)Object.assign(e[r].style,t)}function zc_runResponseJS(e){var t=document.createElement("div");t.innerHTML=e;for(var r=t.getElementsByTagName("script"),n=r.length,o=null,i=[],a=[],c=0;c<n;c++){var l=r[c];l.src?l.src.indexOf("jquery")>-1&&-1==l.src.indexOf("migrate")?o=l:i.push(l):a.push(l)}var s=function(){if(window.zcmhJSCount=i.length,0==i.length)d();else for(var e=0;e<i.length;e++){var t=i[e],r=document.createElement("script");r.onload=d,r.onerror=d,r.type="text/javascript",r.innerHTML=t.innerHTML,r.src=t.src;try{document.body.appendChild(r)}catch(e){d()}}},d=function(){if(window.zcmhJSCount&&window.zcmhJSCount<=1||!window.zcmhJSCount)for(var e=0;e<a.length;e++){var t=a[e],r=document.createElement("script");r.type="text/javascript",r.innerHTML=t.innerHTML;try{document.body.appendChild(r)}catch(e){}}else window.zcmhJSCount--};if(o){var u=document.createElement("script");u.onload=s,u.onerror=s,u.src=o.src,u.type="text/javascript",u.innerHTML=o.innerHTML;try{document.body.appendChild(u)}catch(e){s()}}else s()}function zc_serializeJson(e){var t="";if(e){var r=Object.keys(e);if(r.length>-1){t="?";for(var n=0;n<r.length;n++){var o=r[n];t+=o+"="+e[o],n<r.length-1&&(t+="&")}}}return t}function setAchievedCookie(){if(zc_expiry=new Date,null!=getZCookie("zc_cu")){var e=getZCookie("zc_cu"),t=e.indexOf("-");e.substring(t+1,t+2);getNextPopupInterval()}else getZCookie("zcc"),getNextPopupInterval();var r,n=(new Date).getTime()+15768e8,o=ZCWA.formId.indexOf("_")>-1?encodeURIComponent(ZCWA.formId.substring(0,ZCWA.formId.indexOf("_"))):encodeURIComponent(ZCWA.formId),i=getZCookie("zc_"+ZCWA.CurrUser+"ach");null!=i?(r=JSON.parse(i))[o]=n:(r={})[o]=n,document.cookie="zc_"+ZCWA.CurrUser+"ach="+JSON.stringify(r)+";expires=Thu, 15 Dec 2072 12:00:00 UTC; path=/"}var zcmpsendAjaxReq=function(e,t,r,n,o){var i,a;void 0===r&&(r="GET"),void 0===n&&(n=!0),void 0===o&&(o=function(e){});try{i=new XMLHttpRequest}catch(e){i=new window.ActiveXObject("Microsoft.XMLHTTP")}
1a="object"==typeof t?serializeJson(t):t,"GET"==r&&(e+="?"+a,a=null),i.open(r,e,n),n&&(i.onreadystatechange=function(){4==this.readyState&&o&&o(i.responseText)});try{if("POST"==r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.withCredentials=!0,i.send(a),!n)return o?o(i.responseText):i.responseText}catch(e){o()}};function setZcAttributes(e,t){for(var r in t)e.setAttribute(r,t[r])}function zcSFCallback(e){var t=JSON.parse(JSON.stringify(e)),r=t.zc_wa;if("201"!=t.status){var n=getZCookie("zc_wa");if(null!=n){for(var o=n.split("_"),i=!1,a=r.split("-")[0],c=0;c<o.length;c++)if(o[c].indexOf(a)>-1){r=n.replace(o[c],r),i=!0;break}i||(r=n+"_"+r)}document.cookie="zc_wa="+r+";expires="+zcexp_date.toGMTString()+"; path=/"}else document.cookie="zc_wa="+r+";expires="+zcexp_date.toGMTString()+"; path=/"}function zcParamsCallback(e){var t=JSON.parse(JSON.stringify(e)),r=t.orgIx,n=t.actIx,o=t.custIx;if(null!=r&&null==document.querySelector('[id="zcOrgIx"]')){var i=document.getElementsByTagName("body")[0],a=document.createElement("input");setZcAttributes(a,{type:"hidden",id:"zcOrgIx",value:r}),i.appendChild(a),setZcAttributes(a=document.createElement("input"),{type:"hidden",id:"zcActIx",value:n}),i.appendChild(a),setZcAttributes(a=document.createElement("input"),{type:"hidden",id:"zcCustIx",value:o}),i.appendChild(a)}else null!=o&&""!=o&&(document.querySelector("#zcCustIx").value=o)}function zcSFReferrerCallback(e){var t=JSON.parse(JSON.stringify(e)),r=t.zc_ref,n=t.encryptSFId,o=t.cntrIx;if(null==document.querySelector('[id="zc'+n+'"]')){var i=document.getElementsByTagName("body")[0];setZcAttributes(a=document.createElement("input"),{type:"hidden",id:"zc"+n,value:r}),i.appendChild(a)}else document.querySelector('[id="zc'+n+'"]').value=r;if(null==document.querySelector('[id="zcCntr'+n+'"]')){var a;i=document.getElementsByTagName("body")[0];setZcAttributes(a=document.createElement("input"),{type:"hidden",id:"zcCntr"+n,value:o}),i.appendChild(a)}}function loadZCPopup(e,t,r,n){void 0==n&&(n=!1);var o=document.querySelector("#ZC_Forms_Popup");if(null!=o){var i=o.getAttribute("src");-1!=i.indexOf("campaigns.zoho.in")?(ZCMP_RedirUrl="maillist-manage.in",ZC_URL="campaigns.zoho.in"):-1!=i.indexOf("campaigns.zoho.eu")?(ZCMP_RedirUrl="maillist-manage.eu",ZC_URL="campaigns.zoho.eu"):-1!=i.indexOf("campaigns.zoho.com.cn")?(ZCMP_RedirUrl="maillist-manage.com.cn",ZC_URL="campaigns.zoho.com.cn"):-1!=i.indexOf("campaigns.zoho.com.au")?(ZCMP_RedirUrl="maillist-manage.com.au",ZC_URL="campaigns.zoho.com.au"):-1!=i.indexOf("campaigns.zoho.jp")?(ZCMP_RedirUrl="maillist-manage.jp",ZC_URL="campaigns.zoho.jp"):-1!=i.indexOf("campaigns.zohocloud.ca")&&(ZCMP_RedirUrl="maillist-manage.ca",ZC_URL="campaigns.zohocloud.ca")}var a=document.createElement("link");setZcAttributes(a,{id:"animateCss",rel:"stylesheet",type:"text/css",href:"https://"+ZC_URL+"/css/animate.css",media:"all"}),document.querySelector("head").appendChild(a);var c,l=window.location.protocol;l.indexOf("about")>-1?l="https:":l.indexOf("http")<0&&(l="http:"),c="&category=loadPopups&zx="+r+"&signupFormIx="+e+"&trackingCode="+t+"&isPreview="+n+"&source="+encodeURIComponent(window.location.href),makeAjaxReq(ajaxUrl=l+"//"+ZCMP_RedirUrl+"/ua/TrailEvent?callback=processData"+c)}function isZCFormVisible(){for(var e="",t=document.querySelectorAll("[name=signupFormContainer]"),r=0;r<t.length;r++)if(null!=t[r].querySelector("#zcFormType")&&"POPUPFORM"==t[r].querySelector("#zcFormType").value&&("none"!=(e=t[r].parentElement.parentElement).style.display||e.offsetWidth>0||e.offsetHeight>0))return!0;return!1}function checkZCCookie(e,t){var r=getZCookie(e);if(null!=r){var n=JSON.parse(r);d=(new Date).getTime();var o=encodeURIComponent(t.formId);if(void 0!=n[o])return(n[o]<=d||"0"==t.isCkReq)&&(delete n[o],document.cookie=e+"=;expires=Thu, 12 Dec 2012 12:00:00 UTC; path=/",0!=Object.keys(n).length&&(document.cookie=e+"="+JSON.stringify(n)+";expires="+zcexp_date.toGMTString()+"; path=/"),!0);if(1==t.onLd||1==t.scr||1==t.mLeave||1==t.tmOnSite)return!1}else if(1==t.onLd||1==t.scr||1==t.mLeave||1==t.tmOnSite)return!1;return!0}function tmopFunc(e,t,r){ZCSFGLB1.tmOnSite||ZCSF_timer!=t||ZCSFGLB1.zcSignedUp||isZCFormVisible()||1!=checkZCCookie("zc_dis",r[e])||((ZCSF=r[e]).tmOnSite=!0,ZCSFGLB1.tmOnSite=!0,zcPopupOpenUtil(r[e].formId))}function timeOnPage(){if(ZCSF.history="timeOnPage",!ZCSF.isPreview&&null!=ZCSF.CurrUser){var e=0;if(ZCSF_timer=(new Date).getTime(),ZCSF_Arr.length>0)for(e=0;e<ZCSF_Arr.length;e++){var t=getZCCriteria(ZCSF_Arr[e].criteria,"timeonsite_");null!=t&&(t*=1e3,setTimeout(tmopFunc,t,e,ZCSF_timer,ZCSF_Arr))}}}function addEvent(e,t,r){e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent&&e.attachEvent("on"+t,r)}
1function zcExitIntent(e){if(ZCSF.history="zcExitIntent",!ZCSF.isPreview&&null!=ZCSF.CurrUser&&ZCSF_Arr.length>0&&!ZCSFGLB1.mLeave)for(var t=0;t<ZCSF_Arr.length;t++){if(null!=getZCCriteria(ZCSF_Arr[t].criteria,"exit intent_")&&!ZCSFGLB1.zcSignedUp&&!isZCFormVisible()&&1==checkZCCookie("zc_dis",ZCSF_Arr[t])){zcPopupOpenUtil((ZCSF=ZCSF_Arr[t]).formId),ZCSF.mLeave=!0,ZCSFGLB1.mLeave=!0;break}}}function zcOnScroll(){if(ZCSF.history="onscroll",!ZCSF.isPreview&&null!=ZCSF.CurrUser){var e,t=document,r=window.innerHeight||(document.documentElement||document.body).clientHeight,n=Math.max(t.body.scrollHeight,t.documentElement.scrollHeight,t.body.offsetHeight,t.documentElement.offsetHeight,t.body.clientHeight,t.documentElement.clientHeight),o=window.pageYOffset||(document.documentElement||document.body.parentNode||document.body).scrollTop,i=n-r;if(e=Math.floor(o/i*100),ZCSF_Arr.length>0)for(var a=0;a<ZCSF_Arr.length;a++)if(scroll_criteria=getZCCriteria(ZCSF_Arr[a].criteria,"on scroll_"),null!=scroll_criteria&&(scroll_criteria=Number(scroll_criteria),(scroll_criteria==e||e>scroll_criteria&&e<=scroll_criteria+5)&&!ZCSFGLB1.zcSignedUp&&!isZCFormVisible()&&1==checkZCCookie("zc_dis",ZCSF_Arr[a]))){zcPopupOpenUtil((ZCSF=ZCSF_Arr[a]).formId),ZCSF.scr=!0,ZCSFGLB1.scr=!0;break}}}function popupOnEntry(){var e=1e3;timeOnPage(),setTimeout(function(){if(ZCSF_Arr.length>0&&!ZCSFGLB2.onLd)for(var t=0;t<ZCSF_Arr.length;t++)if(ZCSF=ZCSF_Arr[t],null!=(e=getZCCriteria(ZCSF.criteria,"on enter_"))&&!ZCSFGLB1.zcSignedUp&&!isZCFormVisible()&&1==checkZCCookie("zc_dis",ZCSF_Arr[t])){ZCSF.onLd=!0,ZCSFGLB2.onLd=!0,zcPopupOpenUtil(ZCSF.formId);break}},e)}function addZCPopupHistory(e){if("view"!=e){var t=document.querySelector("#popup_SF_"+ZCSF.formId).querySelector("[name=signupFormContainer]").querySelector("[name=zx]"),r={category:"updHistory"};r.signupFormIx=ZCSF.formId,r.trackingCode=ZCSF.trackingCode,r.action="close",r.orgId=document.querySelector("#zcOrgIx").value,r.actId=document.querySelector("#zcActIx").value,r.custId=document.querySelector("#zcCustIx").value,r.zx=getElementVal(t),r.visitorType=0;var n=ZC_URL;makeAjaxReq(window.location.protocol+"//"+n+"/ua/TrailEvent"+"?callback=processData&"+serializeJson(r))}else{var o=document.querySelector("#popup_SF_"+ZCSF.formId).querySelector("[name=signupFormContainer]").querySelector("div"),i="#"+o.getAttribute("id")+'[data-type="'+o.getAttribute("data-type")+'"] ';trackSignupEvent(ZCSF.trackingCode,"view",i)}}function getZCCriteria(e,t){ZCSF.history="getZCCriteria";var r=e.indexOf(t);if(-1!=r){r=e.indexOf("_",r)+1;var n=e.indexOf(":",r);return-1==n&&(n=e.length),e.substring(r,n)}return null}function setZCCookieLifeTime(e){var t;e?(t=(new Date).getTime()+15768e8,ZCSFGLB1.zcSignedUp=!0):ZCSF.interval.substring(0,ZCSF.interval.indexOf("_")).indexOf("timeinterval")>-1?(time=ZCSF.interval.substring(ZCSF.interval.indexOf("_")+1),t=(new Date).getTime()+60*time*60*1e3):(day=ZCSF.interval.substring(ZCSF.interval.indexOf("_")+1),t=(new Date).getTime()+24*day*60*60*1e3);var r,n=encodeURIComponent(ZCSF.formId),o=getZCookie("zc_dis");null!=o?(r=JSON.parse(o))[n]=t:(r={})[n]=t,document.cookie="zc_dis="+JSON.stringify(r)+";expires="+zcexp_date.toGMTString()+"; path=/"}function setZCTabChange1(){ZCSF.history="setZCTabChange1",ZCSFGLB1.mLeave=!1,ZCSFGLB1.scr=!1,ZCSFGLB1.tmOnSite=!ZCSFGLB1.tmOnSite,timeOnPage||timeOnPage()}setTimeout(function(){addEvent(document.body,"mouseleave",function(e){(e=e||window.event).clientY<=0&&zcExitIntent
1()})},100),addEvent(document,"scroll",function(e){zcOnScroll()}),window.onbeforeunload=function(){var e,t,r;e=document.querySelector("#popup_SF_"+ZCSF.formId),t=document.querySelector("#PopupOverLay_SF_"+ZCSF.formId),r="popup_SF_"+ZCSF.formId,(null!=e&&("none"!=e.style.display||e.offsetWidth>0||e.offsetHeight>0)||null!=t&&("none"!=t.style.display||t.offsetWidth>0||t.offsetHeight>0))&&ZCSF.interval&&zcPopupPageclspopUpUtil(r)};var tabChange=function(){var e,t,r={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(e in r)if(e in document){t=r[e];break}return function(r){return r&&(window.addEventListener?document.addEventListener(t,r):window.attachEvent(t,r)),!document[e]}}();function setZcHiddenFields(e,t){ZCSF.history="setZcHiddenFields";var r=document.createElement("div"),n=document.querySelector("#"+e.frameId).querySelector("#zcHiddenFields");r.innerHTML=n.innerHTML,document.querySelector("#"+t).querySelector("#customForm form").appendChild(r),document.querySelector("#"+t).querySelector("#customForm form").setAttribute("action","https://"+ZC_URL+"/weboptin.zc");var o=n;o.parentNode.removeChild(o)}function zcLoadPopupForms(e,t,r,n){var o;r.history="zcLoadPopupForms",(o=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).open("GET",e,!0),o.send(),o.onreadystatechange=function(){if(4==this.readyState&&200==this.status){document.querySelector("#"+t.frameId).innerHTML=o.responseText;var e=document.querySelector("#"+t.frameId).querySelector("script"),i=e.getAttribute("onload"),a=i.substring(9,i.indexOf("'",9));e.parentNode.removeChild(e);var c=i.replace(/setupSF\(|\)/g,"");c=c.split(",");for(var l=0;l<c.length;l++)c[l]=c[l].replace(/\"|\'/g,"");setupSF(c[0],r.trackingCode,r.isPreview,void 0,!0),setZcHiddenFields(t,a),n(o.responseText,t,r)}}}function zcFormCallback(e,t,r){r.history="zcFormCallback",r.resp=0;var n=document.querySelector("#"+t.frameId),o=n.querySelector("#zh_close,.zh_close");r.clsConfig=o.style.visibility;var i=document.createElement("div"),a={};if(null!=n.querySelector("#zh_overlayNeeded")&&"1"==n.querySelector("#zh_overlayNeeded").value?(a.color=n.querySelector("#zh_overlayColor").value,a.opacity=n.querySelector("#zh_overlayOpacity").value,r.overlay=a):null==n.querySelector("#zh_overlayNeeded")&&(a.color="#576981",a.opacity="0.6",r.overlay=a),""!=r.overlay){setZcAttributes(i,{id:t.overlayId,style:"background:"+a.color+";display:none;opacity:"+a.opacity+";position:fixed; width:100%; z-index:9999; !important; height:100%; overflow:hidden;left:0px;top:0px"});var c=document.getElementsByTagName("body")[0];c.insertBefore(i,c.firstChild)}if(""!=r.clsConfig&&"visible"!=r.clsConfig||(o.setAttribute("id","zh_close"),window.addEventListener?o.addEventListener("click",function(){zcPopupPageclspopUpUtil(t.popId)}):o.attachEvent("click",function(){zcPopupPageclspopUpUtil(t.popId)}),""!=r.overlay&&(window.addEventListener?document.querySelector("#"+t.overlayId).addEventListener("click",function(){zcPopupPageclspopUpUtil(t.popId)}):document.querySelector("#"+t.overlayId).attachEvent("click",function(){zcPopupPageclspopUpUtil(t.popId)}))),null!=document.querySelector("#customForm")){var l,s,d,u=parseInt(document.querySelector("#"+t.popId).querySelector("#customForm").clientHeight),p=parseInt(document.querySelector("#"+t.popId).querySelector("#customForm").clientWidth);(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)||"true"==sessionStorage.getItem("isMobilePrvw"))&&"classic_popup"===r.mgFormType?document.querySelector("#"+t.popId).style.cssText="height:100%;margin:0 4%;":document.querySelector("#"+t.popId).style.cssText="height:"+(u=u+43+"px")+";width:"+(p=p+10+"px")+";",window.innerHeight<=document.querySelector("#"+t.popId).querySelector("#customForm").clientHeight?(l=0,d=0):(u=parseInt(document.querySelector("#"+t.popId).querySelector("#customForm").clientHeight),l=(window.innerHeight-(u-50))/2,d=window.innerHeight-u-10),p=parseInt(document.querySelector("#"+t.popId).querySelector("#customForm").clientWidth),window.innerWidth>p&&(s=(window.innerWidth-p)/2),r.height=l,r.bl=d,r.width=s,document.querySelector("#"+t.popId).style.cssText+="opacity:1;display:none;transition-duration:1.5s;transition-timing-function:ease-in-out;position:fixed;z-index:99999"}var m=document.querySelector("#"+t.popId),f=r.pos,y=r.eff;if("blanket_popup"!=r.mgFormType){if("TopLeft"==f)switch(y){case"SlideFromLeft":m.style.cssText+="top:10px;right:100%;bottom:100%;left:-100%;";break;case"SlideFromRight":m.style.cssText+="top:10px;right:-100%;bottom:100%;left:100%;";break;case"SlideFromTop":m.style.cssText+="top:-100%;right:100%;bottom:100%;left:0%;";break;case"SlideFromBottom":m.style.cssText+="top:100%;right:100%;bottom:100%;left:0%;"}if("TopRight"==f)switch(y){case"SlideFromLeft":m.style.cssText+="top:10px;right:100%;";break;case"SlideFromRight":m.style.cssText+="top:10px;right:-100%;";break;case"SlideFromTop":m.style.cssText+="top:-100%;right:0%;";break;case"SlideFromBottom":m.style.cssText+="top:100%;right:0%;"}if("BottomLeft"==f)switch(y){case"SlideFromLeft":m.style.cssText+="top:"+d+";right:100%;bottom:0%;left:-100%;";break;case"SlideFromRight":m.style.cssText+="top:"+d+";right:-100%;bottom:0%;left:100%;";break;case"SlideFromTop":m.style.cssText+="top:-100%;right:100%;bottom:100%;left:0%;";break;case"SlideFromBottom":m.style.cssText+="top:100%;right:100%;bottom:-100%;left:0%;"}if("BottomRight"==f)switch(y){case"SlideFromLeft":m.style.cssText+="top:"+d+";right:100%;";break;case"SlideFromRight":m.style.cssText+="top:"+d+";right:-100%;";break;case"SlideFromTop":m.style.cssText+="top:-100%;right:0%;";break;case"SlideFromBottom":m.style.cssText+="top:100%;right:0%;"}if("Center"==f)switch(y){case"SlideFromLeft":m.style.cssText+="left:-100%;";break;case"SlideFromRight":m.style.cssText+="left:100%;"}}ZCSFGLB2.flag||(r.isPreview?(ZCSFGLB1.tmOnSite=!0,ZCSFGLB1.scr=!0,ZCSFGLB1.mLeave=!0,zcPopupOpenUtil(r.formId)):(ZCSFGLB2.flag=!0,popupOnEntry()))}function zcPopupUrlCallback(e){ZCSF.history="zcPopupUrlCallback";var t=JSON.parse(JSON.stringify(e)),r=t.url,n=t.ind;ZCSF=ZCSF_Arr[n];var o={};o.overlayId="PopupOverLay_SF_"+ZCSF.formId,o.popId="popup_SF_"+ZCSF.formId,o.frameId="pframe_SF_"+ZCSF.formId;var i=document.getElementsByTagName("body")[0],a=document.createElement("div");if(""!=ZCSF.overlay){for(var c={},l=ZCSF.overlay.split(":"),s=0;s<l.length;s++){var d=l[s].split("_");
1switch(d[0]){case"color":c.color=d[1];break;case"z-index":c.zindex=d[1]}}setZcAttributes(a,{id:o.overlayId,style:"background:"+c.color+";display:none;opacity:0.6;position:fixed; width:100%; z-index:"+c.zindex+" !important; height:100%; overflow:hidden;left:0px;top:0px"}),i.appendChild(a)}setZcAttributes(a=document.createElement("div"),{id:o.popId,style:""}),a.innerHTML="<div id='"+o.frameId+"' style=''></div>",i.appendChild(a),zcLoadPopupForms(r,o,ZCSF,zcFormCallback)}function migrateCkVal(){var e=getZCookie("zc_suc");e=JSON.parse(e);var t=getZCookie("zc_dis"),r={};null!=t&&(r=JSON.parse(t));for(var n=0;n<Object.keys(e).length;n++){r[Object.keys(e)[n]]=Object.values(e)[n]}document.cookie="zc_suc=;expires=Thu, 12 Dec 2012 12:00:00 UTC; path=/",document.cookie="zc_dis="+JSON.stringify(r)+";expires="+zcexp_date.toGMTString()+"; path=/"}function zcSFPopupCallback(e){(ZCSF={}).history="zcSFPopupCallback";var t=JSON.parse(JSON.stringify(e));ZCSF.formId=t.form_id,ZCSF.isPreview="true"==t.isPrvw,ZCSF.criteria=t.criteria,cust=t.cust,ZCSF.interval=t.trigger_interval,ZCSF.succ_interval=t.succ_interval,ZCSF.pos=cust.substring(0,cust.indexOf("_")),ZCSF.eff=cust.substring(cust.indexOf("_")+1,cust.length),ZCSF.overlay="",ZCSF.mgFormType=t.mgFormType,ZCSF.trackingCode=t.trackingCode,ZCSF.isCkReq=t.isCkReq,null!=getZCookie("zc_suc")&&migrateCkVal(),ZCSF.scr=!1,ZCSF.mLeave=!1,ZCSF.onLd=!1,ZCSF.isPreview||(ZCSF.CurrUser="v");var r="{}";(r=JSON.parse(r)).category="getPopupUrl",r.signupFormIx=ZCSF.formId,r.ind=ZCSFGLB2.SFLen,ZCSF.SFLen=ZCSFGLB2.SFLen++,ZCSF_Arr.push(ZCSF);var n=window.location.protocol;n.indexOf("about")>-1?n="https:":n.indexOf("http")<0&&(n="http:"),stringParams=serializeJson(r),makeAjaxReq(ajaxUrl=n+"//"+ZC_URL+"/ua/TrailEvent?callback=processData&"+stringParams)}function setZcStyles(e,t){for(var r=t.split(";"),n=0;n<r.length;n++){var o=r[n].split(":");switch(o[0]){case"top":e.style.top=o[1];break;case"bottom":e.style.bottom=o[1];break;case"left":e.style.left=o[1];break;case"right":e.style.right=o[1];break;case"height":e.style.height=o[1];break;case"width":e.style.width=o[1];break;case"opacity":e.style.opacity=o[1]}}}function zcPopupPageclspopUpUtil(e,t){ZCSF.isPreview||addZCPopupHistory("close"),ZCSF.history="zcPopupPageclspopUpUtil";var r=ZCSF.formId;void 0==t&&(t=!1);var n=document.querySelector("#"+e);if("none"!==n.style.display){var o=1,i=n.style.opacity;void 0!==i&&""!=i||(i=1);var a=setInterval(function(){if(o<=.1)return clearInterval(a),n.style.display="none",n.style.opacity=i,n.style.filter="alpha(opacity="+100*i+")",document.querySelector("#"+e).style.display="none",void(0==t&&""!=ZCSF.overlay&&(document.querySelector("#PopupOverLay_SF_"+r).style.display="none"));n.style.opacity=o,n.style.filter="alpha(opacity="+100*o+")",o-=.1*o},25)}var c="popup_SF_"+r,l="";if("TopLeft"==ZCSF.pos)switch(ZCSF.eff){case"SlideFromLeft":l="top:10px;right:100%;bottom:100%;left:-100%;";break;case"SlideFromRight":l="top:10px;right:-100%;bottom:100%;left:100%;";break;case"SlideFromTop":l="top:-100%;right:100%;bottom:100%;left:0%;";break;case"SlideFromBottom":l="top:100%;right:100%;bottom:100%;left:0%;"}if("TopRight"==ZCSF.pos)switch(ZCSF.eff){case"SlideFromLeft":l="top:10px;right:100%;";break;case"SlideFromRight":l="top:10px;right:-100%;";break;case"SlideFromTop":l="top:-100%;right:0%;";break;case"SlideFromBottom":l="top:100%;right:0%;"}if("BottomLeft"==ZCSF.pos)switch(ZCSF.eff){case"SlideFromLeft":l="top:"+ZCSF.bl+";right:100%;bottom:0%;left:-100%;";break;case"SlideFromRight":l="top:"+ZCSF.bl+";right:-100%;bottom:0%;left:100%;";break;case"SlideFromTop":l="top:-100%;right:100%;bottom:100%;left:0%;";break;case"SlideFromBottom":l="top:100%;right:100%;bottom:-100%;left:0%;"}if("BottomRight"==ZCSF.pos)switch(ZCSF.eff){case"SlideFromLeft":l="top:"+ZCSF.bl+";right:100%;";break;case"SlideFromRight":l="top:"+ZCSF.bl+";right:-100%;";break;case"SlideFromTop":l="top:-100%;right:0%;";break;case"SlideFromBottom":l="top:100%;right:0%;"}if("Center"==ZCSF.pos)switch(ZCSF.eff){case"SlideFromLeft":l="left:"+-ZCSF.width+"px;";break;case"SlideFromRight":l="left:100%;"}setZcStyles(document.querySelector("#"+c),l),!ZCSF.isPreview&&0!=ZCSF.isCkReq&&ZCSF.interval&&"nolimit_1"!=ZCSF.interval&&0==ZCSF.resp&&setZCCookieLifeTime(!1)}function zcPopupOpenUtil(e){var t,r,n,o,i;ZCSF.history="zcPopupOpenUtil",o=ZCSF.pos,i=ZCSF.eff;var a={};a.overlayId="PopupOverLay_SF_"+e,a.popId="popup_SF_"+e,a.frameId="pframe_SF_"+e;var c="",l=document.querySelector("#"+a.popId);if(""!=ZCSF.overlay&&(document.querySelector("#"+a.overlayId).style.display="block"),l.style.display="block",null!=document.querySelector("#customForm")){var s=parseInt(document.querySelector("#"+a.popId).querySelector("#customForm").clientHeight),d=parseInt(document.querySelector("#"+a.popId).querySelector("#customForm").clientWidth);(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)||"true"==sessionStorage.getItem("isMobilePrvw"))&&"classic_popup"===ZCSF.mgFormType?(c="height:"+(s=s+43+"px")+";opacity:1;",r=0):(c="height:"+(s=s+43+"px")+";width:"+(d=d+10+"px")+";opacity:1;",d=parseInt(document.querySelector("#"+a.popId).querySelector("#customForm").clientWidth),window.outerWidth>d&&(r=(window.innerWidth-d)/2)),window.innerHeight<=document.querySelector("#customForm").clientHeight?(t=0,n=0):(s=parseInt(document.querySelector("#"+a.popId).querySelector("#customForm").clientHeight),t=(window.innerHeight-(s-50))/2,n=window.innerHeight-s-10)}if("blanket_popup"!=ZCSF.mgFormType){if("TopLeft"==o&&(c+="top:10px;right:0px;bottom:0px;left:0px;"),"TopRight"==o&&(c+="top:10px;right:0%;"),"BottomLeft"==o&&(c+="top:"+n+"px;right:0px;bottom:0px;left:0px;"),"BottomRight"==o&&(c+="top:"+n+"px;right:0px;"),"Center"==o)switch("SlideFromLeft"!=i&&"SlideFromRight"!=i&&(c+="top:"+t+"px;right:0px;bottom:0px;left:"+r+"px;"),i){case"SlideFromLeft":case"SlideFromRight":c+="top:"+t+"px;left:"+r+"px;";break;case"BounceIn":l.className="zc_animated zc_bounceIn";break;case"BounceInDown":l.className="zc_animated zc_bounceInDown";break;case"BounceInUp":l.className="zc_animated zc_bounceInUp";break;case"FadeIn":l.className="zc_animated zc_fadeIn";break;case"FadeInDown":l.className="zc_animated zc_fadeInDown";break;case"FadeInUp":l.className="zc_animated zc_fadeInUp";break;
1case"FlipInX":l.className="zc_animated zc_flipInX";break;case"FlipInY":l.className="zc_animated zc_flipInY";break;case"ZoomIn":l.className="zc_animated zc_zoomIn"}}else l.className+="zc_animated zc_zoomIn",c="width:100%;height:100%;top:0px;right:0px;bottom:0px;left:0px;";setZcStyles(document.querySelector("#"+a.popId),c),ZCSF.isPreview||null==l||(0!=ZCSF.isCkReq&&ZCSF.interval&&"nolimit_1"!=ZCSF.interval&&setZCCookieLifeTime(!1),addZCPopupHistory("view"))}function setZCSuccessCookie(){zc_expiry=new Date;var e,t=(new Date).getTime()+15768e8,r=encodeURIComponent(ZCSF.formId),n=getZCookie("zc_suc");null!=n?(e=JSON.parse(n))[r]=t:(e={})[r]=t,document.cookie="zc_suc="+JSON.stringify(e)+";expires="+zcexp_date.toGMTString()+"; path=/",sessionStorage.setItem("zcSignedUp",!0)}function changeDateFormatInForm(e){var t="",r="",n=new Array,o=document.getElementsByName("userDateFormat")[0].value,i=new Date(document.getElementsByName(e)[0].value);"MMM dd, yyyy"===o?(n[0]="MMM ",n[1]="dd,",n[2]="yyyy"):(-1!==o.indexOf("-")?r="-":-1!==o.indexOf(".")?r=".":-1!==o.indexOf(" ")?r=" ":-1!==o.indexOf("/")&&(r="/"),n=o.split(r));for(var a=0;a<n.length;a++){var c="";if(-1!==n[a].indexOf(".")?c=".":-1!==n[a].indexOf(" ")?c=" ":-1!==n[a].indexOf(",")&&(c=","),-1!==n[a].indexOf("m")||-1!==n[a].indexOf("M")){var l=i.getMonth();3==n[a].toLocaleString().trim().length?l=monthShortNames[l]:4==n[a].toLocaleString().length?l=monthFullNames[l]:1==(l+=1).toLocaleString().length&&2==n[a].toLocaleString().length&&(l="0"+l),t=t+(0!=a?r:"")+l}else if(-1!==n[a].indexOf("Y")||-1!==n[a].indexOf("y")){var s=i.getFullYear();2==n[a].toLocaleString().length&&(s=i.getFullYear().toString().substr(-2)),t=t+(0!=a?r:"")+s}else if(-1!==n[a].indexOf("D")||-1!==n[a].indexOf("d")){var d=i.getDate();1==d.toLocaleString().length&&n[a].toLocaleString().length>1&&(d="0"+d),t=t+(0!=a?r:"")+d}c.length>0&&(t+=c),"MMM dd, yyyy"===o&&-1!==n[a].indexOf("d")&&(t+=" "),-1===t.indexOf("undefined")&&-1===t.indexOf("NaN")||(t="")}document.getElementsByName(e)[0].value=t}function zcDelCallback(e){var t=JSON.parse(JSON.stringify(e)).ckName;document.cookie=t+"=;expires=Thu, 12 Dec 2012 12:00:00 UTC; path=/"}tabChange(function(){setZCTabChange1()})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.