var mh_uts_available=void 0===mh_uts_available;!function(mh_uts_available){if(mh_uts_available){var us_logger,mh_uts={};mh_uts.t={i:"UNIFIED_TRACKING_SCRIPT",o:!0,u:"REGULAR",s:"a129e4e636fef1282670aff470de257d28b1f7c21333741f72b57d260e5d44ba",l:"\!clicked",h:180790,p:["derekholt1978@outlook.com"],v:[],m:false,I:null,_:null,g:null,k:false,C:false,S:"null",T:{A:"[UTS]",P:"__mh_tt_e",R:{email:"",productId:0,origin:"",cookieEnabled:!0,sourceLinkTags:"",fbAdsetId:0,googleAdId:0,gClickId:"",wBraId:"",gBraId:"",fbClickId:"",sessionId:"",prevUrl:"",refUrl:"",phoneNumbers:"",tag:"",tiktokAdGroupId:0,uniqueCheckoutId:0,snapchatAdSetId:0,twitterAdgroupId:0,dvfp:"",linkedinCampaignId:0,ttClickId:"",paypalUniqueCheckoutId:""},U:{O:"sl",fbAdSetId:"fbc_id",D:"gc_id",gClickId:"gclid",wBraId:"wbraid",gBraId:"gbraid",fbClickId:"fbclid",F:"el",N:"he",hyrosAdId:"h_ad_id",L:"mch",G:"ttc_id",H:"snc_id",q:"lnk_id",B:"twt_id",j:"pnt_id",ttClickId:"ttclid",paypalUniqueCheckoutId:"tx"},J:["sourceLinkTag","fbAdSetId","googleCampaignId","hyrosAdId","tiktokAdGroupId","snapchatAdSetId","linkedinCampaignId","twitterAdgroupId","pinterestAdGroupId","wrAdId","twAdId"],K:["wickedsource","WickedSource"],M:["wickedid","WickedID"],W:["snapchat"],Y:["fbadid","gadid","ttadid"],X:{sourceLinkTag:"sl",Z:"prev_url",refUrl:"ref_url",fbAdSetId:"fbc_id",D:"gc_id",fbClickId:"fb_cl_id",gClickId:"g_cl_id",wBraId:"w_bra_id",gBraId:"g_bra_id",$:"is_el",V:"is_he",hyrosAdId:"h_ad_id",fbPixelId:"fbp_id",fbPixelEventId:"fbpe_id",sessionId:"usid",tag:"tag",userAgent:"u_agent",tt:"hyros",G:"ttc_id",uniqueCheckoutId:"u_ch_id",H:"snc_id",nt:"embed",dvfp:"fp",q:"lnk_id",ttClickId:"ttclid",it:"h_cart_id",B:"twt_id",j:"pnt_id",et:"wr_source",rt:"wr_ad_id",ot:"tw_ad_id",ct:"tw_source",at:"r_c_id",ut:"transactionId"},st:["Email","email","invitee_email","hemail","he","cemail","payer_email","checkoutemail","customer_email","email-address-lead","email-lead","buyer_email"],dt:["text_reminder_number","sms_number","answer_","inf_custom_PhonenumberorSkypeID","inf_field_Phone1","Phone1","phone","mobile","customer_valid_phone"],ft:[{name:"kartraReferenceIdLoaded",data:null}],lt:["EUIP","BLCK"],ht:{pt:"",vt:"",ut:""},It:void 0,_t:!1},wt:{gt:{kt:"https://app.hyros.com",bt:"https://180790.t.hyros.com/v1/lst"}},Ct:{yt:!1,email:null,St:null,$:!1,V:!1,Tt:[],At:[],Pt:[],Rt:!1,Ut:[],Et:null},Ot:{Dt:["%"],Ft:"==="},Nt:{Lt:""},xt:""},mh_uts.t.wt.Gt={Ht:mh_uts.t.wt.gt.bt+"/pc",qt:mh_uts.t.wt.gt.bt+"/gusid",Bt:mh_uts.t.wt.gt.bt+"/error",jt:mh_uts.t.wt.gt.bt+"/hte",Jt:mh_uts.t.wt.gt.bt+"/pcu"},mh_uts.app=new function(){function t(t,n,i,e){return mh_uts.app.getUrlParam(t,n,i,e)}this.init=function(t){try{us_logger=new function(t,n){this.o=t,this.Kt=n,this.Mt=function(t,n){this.o&&console.log("%c "+this.Kt+" "+t,"color: "+n+";")},this.info=function(t){this.Mt(t,"green")},this.error=function(t){this.Mt(t,"red")},this.warn=function(t){this.Mt(t,"#ff9966")}}(mh_uts.t.o,mh_uts.t.T.A),t()}catch(t){mh_uts.Wt(t,"[init] [UTC]")}},this.getUrlParam=function(t,n,i,e){var r=e||location.href;t=t.toString().replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var o=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(r),c=o?o[1]:null;return n&&(c=this.decodeUrlParam(c)),i&&(c=this.removeNaNFromParam(c)),c},this.decodeUrlParam=function(t){if(null!==t)try{for(;t!==decodeURIComponent(t);)t=decodeURIComponent(t)}catch(n){us_logger.warn("[DCD] Fail: "+t)}return t},this.removeNaNFromParam=function(t){return null!==t&&isNaN(t)&&(t=t.replace(/\D/g,"")),t},this.Yt=function(t,n){var i=this.zt("head")[0],e=document.createElement("script");e.src=t,e.type="text/javascript",e.onreadystatechange=n,e.onload=n,i.appendChild(e)},this.zt=function(t){return document.getElementsByTagName(t)},this.Xt=function(t){var n=t.toLowerCase().split("@")[1];return t.includes("@")&&!t.includes(" ")&&!mh_uts.t.p.includes(t.toLowerCase())&&!mh_uts.t.v.includes(n)},this.Zt=function(t){for(var n=this.zt(t),i=0;i{let i=null!=t?n.detail[t]:n.detail;if(us_logger.info("[uCheckId] "+i),mh_uts.t.T.R.uniqueCheckoutId=i,mh_uts.t.It)if(mh_uts.t._t)await mh_uts.app.Ht(mh_uts.t.T.R.sessionId,()=>{});else{var e={id:mh_uts.t.It.clickId,productId:mh_uts.t.h,uniqueCheckoutId:mh_uts.t.T.R.uniqueCheckoutId,creationDate:mh_uts.t.It.creationDate};mh_uts.t._t=!0,mh_uts.app.vn(e)}}};this.mn=function(){let t=mh_uts.t.T.ft;for(var i=0;i15&&clearInterval(n));clearInterval(n),window.BoltCheckout.setClientCustomCallbacks?window.BoltCheckout.setClientCustomCallbacks({onEmailEnter:function(t){window.dispatchEvent(new CustomEvent("hyros_email",{detail:{email:t}}))},bn:function(t,n){n()}}):"undefined"!=typeof bolt_callbacks&&window.bolt_callbacks.onEmailEnter&&(window.bolt_callback_on_email_enter=window.bolt_callbacks.onEmailEnter,window.bolt_callbacks.onEmailEnter=function(t){window.dispatchEvent(new CustomEvent("hyros_email",{detail:{email:t}})),window.bolt_callback_on_email_enter(t)})}catch(t){us_logger.error("[blt] ",t),clearInterval(n)}},200)},this.Cn=function(){if(mh_uts.t.I){var t=document.URL;window.addEventListener("locationchange",async function(){mh_uts.t.Nt.Lt=t,await mh_uts.app.Ht(mh_uts.t.T.R.sessionId,()=>{}),t=document.URL}),history.pushState=(t=>(function(){var n=t.apply(this,arguments);return window.dispatchEvent(new Event("pushState")),window.dispatchEvent(new Event("locationchange")),n}))(history.pushState),window.addEventListener("popstate",()=>{window.dispatchEvent(new Event("locationchange"))})}},this.hn=function(t){mh_uts.app.rn(t.value)&&!mh_uts.t.Ct.Tt.includes(t)&&mh_uts.app.on(t.value,mh_uts.t.h,mh_uts.app.cn())},this.rn=function(t){var n=String(t).toLowerCase().split("@")[1];return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())&&!mh_uts.t.p.includes(String(t).toLowerCase())&&!mh_uts.t.v.includes(n)},this.an=function(t){return t?t.trim().replace(/[^\d+]/g,""):""},this.sn=function(t){if(t){var n=this.an(t);return n.length>=8&&n.length<=16}},this.on=function(n,i,e){if(!mh_uts.t.Ct.At.includes(n)){mh_uts.t.Ct.At.push(n);var r=mh_uts.t.T.U;mh_uts.t.T.R.productId=i,mh_uts.t.T.R.origin=mh_uts.t.u,mh_uts.t.T.R.cookieEnabled=navigator.cookieEnabled,mh_uts.t.T.R.sourceLinkTags=e,mh_uts.t.T.R.fbAdsetId=t(r.fbAdSetId,!0,!0),mh_uts.t.T.R.googleAdId=t(r.D,!0,!0),mh_uts.t.T.R.gClickId=t(r.gClickId,!0,!1),mh_uts.t.T.R.wBraId=t(r.wBraId,!0,!1),mh_uts.t.T.R.gBraId=t(r.gBraId,!0,!1),mh_uts.t.T.R.fbClickId=this.yn(t(r.fbClickId,!0,!1)),mh_uts.t.T.R.refUrl=document.URL,mh_uts.t.T.R.prevUrl=document.referrer,mh_uts.t.T.R.email=n,mh_uts.t.T.R.phoneNumbers=mh_uts.app.Sn(),mh_uts.t.T.R.tag=mh_uts.t.l,mh_uts.t.T.R.tiktokAdGroupId=t(r.G,!0,!0),mh_uts.t.T.R.snapchatAdSetId=t(r.H,!0,!1),mh_uts.t.T.R.twitterAdgroupId=t(r.B,!0,!0),mh_uts.t.T.R.Tn=t(r.j,!0,!0),mh_uts.t.T.R.linkedinCampaignId=t(r.q,!0,!0),mh_uts.t.T.R.paypalUniqueCheckoutId=t(r.paypalUniqueCheckoutId,!0,!1),mh_uts.t.T.R.ttClickId=t(r.ttClickId,!0,!1),mh_uts.app.An(mh_uts.t.wt.Gt.jt,"POST",mh_uts.app.getObjectAsJson(mh_uts.t.T.R),mh_uts.app.Pn,mh_uts.app.Rn,!0)}},this.An=function(t,n,i,e,r,o){var c;mh_uts.t.C?(c=mh_uts.app.Un(mh_uts.t.T.R.sessionId,mh_uts.t.h),mh_uts.app.En(t,n,i,e,r,c,o)):(c=mh_uts.app.getSessionIdHeaders(mh_uts.t.T.R.sessionId,mh_uts.t.h),"POST"===n?mh_uts.app.requestPost(t,i,e,r,c,o):mh_uts.app.requestGet(t,e,r,c,o))},this.On=function(t,n){return!(mh_uts.t.C||!t||"error"!==t.status||(mh_uts.app.Dn(t.body,n),0))},this.Fn=function(t){if(t&&!mh_uts.t.Ct.Pt.includes(t)){var n={id:mh_uts.t.It.clickId,productId:mh_uts.t.h,phoneNumber:t,creationDate:mh_uts.t.It.creationDate};mh_uts.app.vn(n)}},this.nn=function(t){t=mh_uts.app.an(t),mh_uts.app.sn(t)&&!mh_uts.t.Ct.Pt.includes(t)&&mh_uts.t.It&&(mh_uts.app.Fn(t),mh_uts.t.Ct.Pt.push(t))},this.dn=function(t){if(mh_uts.t.It){var n={id:mh_uts.t.It.clickId,productId:mh_uts.t.h,dniNumber:t,creationDate:mh_uts.t.It.creationDate};mh_uts.app.vn(n)}},this.Pn=function(t){mh_uts.app.On(t,"hte")||us_logger.info("[hte].")},this.Nn=function(){us_logger.info("[pcu].")},this.Rn=function(t){mh_uts.app.Dn(t,"hte")},this.Ln=function(t){mh_uts.app.Dn(t,"pcu")},this.Dn=function(t,n){mh_uts.Wt(t,"["+n+"]"),us_logger.error("[ERROR]["+n+"]: "+t)},this.xn=function(t){try{var n=JSON.parse(t);if(n.body&&mh_uts.t.T.lt.includes(n.body))return void us_logger.error("["+n.body+"]");mh_uts.app.Dn(t,"gusid")}catch(n){mh_uts.app.Dn(t,"gusid")}},this.Gn=function(t,n,i){n?us_logger.info("Hyros Script Disabled"):(mh_uts.t.T.R.sessionId=t,us_logger.info("[gusid]: "+t),mh_uts.app.Ht(t,i))},this.Hn=function(n){var i=new URLSearchParams,e=mh_uts.t.T.X,r=t(mh_uts.t.T.X.tt);r&&i.append(e.tt,r);var o=mh_uts.t.S;o&&"null"!=o&&i.append(e.at,o),mh_uts.app.requestSessionId(mh_uts.t.wt.Gt.qt+"?"+i.toString(),async function(t,i){mh_uts.app.Gn(t,i,n)},function(t){mh_uts.app.xn(t)},[{key:"Product-ID",value:mh_uts.t.h}],!0)},this.qn=function(t){return Object.entries(t).filter(t=>mh_uts.t.T.J.indexOf(t[0])>-1&&null!==t[1]).length>0},this.Bn=function(n,i){var e=mh_uts.t.T.U;n.sourceLinkTag=mh_uts.app.cn(i),n.fbAdSetId=t(e.fbAdSetId,!0,!0,i),n.googleCampaignId=t(e.D,!0,!0,i),n.fbClickId=t(e.fbClickId,!0,!1,i),n.googleClickId=t(e.gClickId,!0,!1,i),n.wBraId=t(e.wBraId,!0,!1,i),n.gBraId=t(e.gBraId,!0,!1,i),n.hyrosAdId=t(e.hyrosAdId,!0,!1,i),n.tiktokAdGroupId=t(e.G,!0,!0,i),n.snapchatAdSetId=t(e.H,!0,!1,i),n.linkedinCampaignId=t(e.q,!0,!0,i),n.jn=t(e.ttClickId,!0,!1,i),n.twitterAdgroupId=t(e.B,!0,!0,i),n.Tn=t(e.j,!0,!0,i),n.paypalUniqueCheckoutId=t(e.paypalUniqueCheckoutId,!0,!1,i)},this.Jn=function(t){t.et=this.Kn(),t.rt=this.Mn()},this.Kn=function(){var t=this.Wn();return t||this.Yn()},this.Wn=function(){for(var n,i=mh_uts.t.T.K,e=0;eObject.values(n).some(function(n){return t.name.includes(n)}));e.length>0&&(i.refUrl=e[0].name,this.Bn(i,i.refUrl))}if(i.fbClickId=this.yn(i.fbClickId),!this.qn(i))for(var r=mh_uts.t.T.X,o=decodeURIComponent(t(n.L)).split(mh_uts.t.Ot.Ft),c=0;c{const t=document.getElementById("hyros-cart-id");if(t){const n=t.textContent;return us_logger.info("[cartId] "+n),n}}),this.Vn=(()=>this.getUrlParam(mh_uts.t.T.U.N,!1,!1)),this.ti=(()=>this.getUrlParam(mh_uts.t.T.U.F,!1,!1)),this.ni=async function(){var t=mh_uts.app.$n(),n=mh_uts.t.T.X,i=new URLSearchParams,e=mh_uts.t.wt.Gt.Ht;t.fbAdSetId&&i.append(n.fbAdSetId,t.fbAdSetId),t.googleCampaignId&&i.append(n.D,t.googleCampaignId),t.hyrosAdId&&(t.fbAdSetId||t.googleCampaignId||t.tiktokAdGroupId||t.Tn)&&i.append(n.hyrosAdId,t.hyrosAdId),t.fbClickId&&i.append(n.fbClickId,t.fbClickId),t.googleClickId&&i.append(n.gClickId,t.googleClickId),t.wBraId&&i.append(n.wBraId,t.wBraId),t.gBraId&&i.append(n.gBraId,t.gBraId),t.sourceLinkTag&&i.append(n.sourceLinkTag,t.sourceLinkTag),t.$&&i.append(n.$,t.$),t.Z&&i.append(n.Z,t.Z),t.refUrl&&i.append(n.refUrl,t.refUrl),t.fbPixelId&&i.append(n.fbPixelId,t.fbPixelId),t.fbPixelEventId&&i.append(n.fbPixelEventId,t.fbPixelEventId),t.userAgent&&i.append(n.userAgent,t.userAgent),t.tiktokAdGroupId&&i.append(n.G,t.tiktokAdGroupId),t.uniqueCheckoutId&&i.append(n.uniqueCheckoutId,t.uniqueCheckoutId),t.snapchatAdSetId&&i.append(n.H,t.snapchatAdSetId),t.twitterAdgroupId&&i.append(n.B,t.twitterAdgroupId),t.Tn&&i.append(n.j,t.Tn),t.nt&&i.append(n.nt,t.nt),t.linkedinCampaignId&&i.append(n.q,t.linkedinCampaignId),t.jn&&i.append(n.ttClickId,t.jn),t.et&&i.append(n.et,t.et),t.rt&&i.append(n.rt,t.rt),t.ot&&i.append(n.ot,t.ot),t.ct&&i.append(n.ct,t.ct),t.paypalUniqueCheckoutId&&i.append(n.uniqueCheckoutId,t.paypalUniqueCheckoutId),t.ut&&i.append(n.ut,t.ut);const r=await mh_uts.app.ii();null!=r&&i.append(n.dvfp,r);const o=this.Qn();return o&&i.append(n.it,o),this.Vn()&&this.ti()&&i.append(n.V,!0),e+"?"+i.toString()},this.Ht=async function(t,n){var i=await this.ni(t);this.An(i,"GET",{},function(t){mh_uts.app.On(t,"pc")||(us_logger.info("[pc]"),mh_uts.t.It=t,mh_uts.app.ei().then(),n())},function(t){mh_uts.app.Dn(t,"pc"),n()},!0)},this.ri=function(t){var n=("; "+document.cookie).split("; "+t+"=");if(2===n.length)return n.pop().split(";").shift()},this.oi=function(){for(var t={},n=window.location.search.substring(1).split("&"),i=0;i=0))return"";if(t=t.substring(e+n.length),i){if(!((e=t.indexOf(i))>=0))return"";t=t.substring(0,e)}return t},this.fi=function(t){var n;if(n=mh_uts.app.getSubstringBetween(t,"fbq('init',",")"),n=mh_uts.app.getSubstringBetween(n,"'","'"))return us_logger.info("[fb_pi]: "+n.toString()),n},this.li=function(t){let n;return t=mh_uts.app.getSubstringBetween(t,"gtag('event',",")"),""===(n=mh_uts.app.getSubstringBetween(t,"'transaction_id':",","))&&(n=mh_uts.app.getSubstringBetween(t,"'transaction_id':","}")),""!==(n=n.toString().replace(/'/g,""))&&(n=n.trim(),us_logger.info("[gl_t_id]: "+n)),n},this.hi=function(){for(var t=document.getElementsByTagName("script"),n=0;n{setTimeout(n,t)})},this.pi=async function(){var n=performance.getEntriesByType("resource").filter(t=>t.name.includes("facebook")&&t.name.includes("/tr")&&t.name.includes("eid="));n.length>0?(mh_uts.t.T.ht.vt=t("eid",!1,!1,n[0].name),us_logger.info("[fb_ei]: "+mh_uts.t.T.ht.vt)):(await mh_uts.app.vi(1e3),await mh_uts.app.pi())},this.yn=function(t){var n=mh_uts.t.Ot.Dt;if(null!=t)for(var i=0;i{try{if(mh_uts.t.k){let t=document.createElement("script");t.text=mh_uts.t.xt,document.head.appendChild(t),this.Ci(),us_logger.info("[fp] init")}}catch(t){us_logger.error("[fp] init: "+t.stack),mh_uts.t.k=!1}}),this.Ci=(()=>{FPJS?mh_uts.t.Ct.Et=FPJS.load():(us_logger.warn("[fp] unv"),setTimeout(this.Ci,100))}),this.ii=(async()=>{try{if(!mh_uts.t.k)return null;if(mh_uts.t.T.R.dvfp.length>0)return mh_uts.t.T.R.dvfp;const t=await mh_uts.t.Ct.Et,n=(await t.get()).visitorId;return mh_uts.t.T.R.dvfp=n,us_logger.info("[fp]: "+n),n}catch(t){return us_logger.error("[fp] "+t.stack),null}}),this.di=(()=>{try{if(mh_uts.t.k){const t=mh_uts.t.T.R.dvfp;mh_uts.t.T.R.dvfp="",mh_uts.app.ii().then(n=>{if(null!=n&&n!==t){mh_uts.t.T.R.dvfp=n;const t={id:mh_uts.t.It.clickId,productId:mh_uts.t.h,creationDate:mh_uts.t.It.creationDate,dvfp:n};mh_uts.app.vn(t)}})}}catch(t){us_logger.error("[fp2] "+t.stack)}}),this.vn=function(t){mh_uts.app.requestPut(mh_uts.t.wt.Gt.Jt,mh_uts.app.getObjectAsJson(t),mh_uts.app.Nn,mh_uts.app.Ln,mh_uts.app.getSessionIdHeaders(mh_uts.t.T.R.sessionId,mh_uts.t.h),!0)}},mh_uts.Wt=function(t,n){var i=new URLSearchParams;i.append("script",mh_uts.t.i);var e=new XMLHttpRequest;e.open("POST",mh_uts.t.wt.Gt.Bt+"?"+i),e.setRequestHeader("Product-ID",mh_uts.t.h),""!=mh_uts.t.T.R.sessionId&&e.setRequestHeader("Session-ID",mh_uts.t.T.R.sessionId),e.send(n+" - "+(t.stack?t.stack:t))},mh_uts.app.init(function(){mh_uts.app.bi(),mh_uts.app.mn(),mh_uts.app.Cn(),mh_uts.app.gn(),mh_uts.app.kn(),mh_uts.app.nt(),mh_uts.app.hi(),mh_uts.app.Hn(mh_uts.app.si)})}}(mh_uts_available);