(()=>{var n=Object.defineProperty,t=(t,e,i)=>(i=i,(e="symbol"!=typeof e?e+"":e)in(t=t)?n(t,e,{i:!0,o:!0,writable:!0,value:i}):t[e]=i),h={u:["address"],l:["street"],h:["country"],m:["city"],p:["state"],g:["zip-code"]},m=class{constructor(){}},p=(t(m,"href",location.href),t(m,"documentUrl",document.URL),t(m,"documentReferrer",document.referrer),t(m,"deleteParams",false),class{constructor(){}static _(t){return this.I(document.getElementById(t))}static v(t){return document.getElementsByTagName(t)}static C(){return this.I(this.P(".hyros-first-name:not(input)"))}static T(){return this.I(this.P(".hyros-last-name:not(input)"))}static R(){return this.I(this.P(".hyros-full-name:not(input)"))}static I(t){return null!==t?t.innerText:""}static P(t){return document.querySelector(t)}}),e=(t=>(t.EMAIL="Email",t.EMAIL_LOWER="email",t.INVITEE_EMAIL="invitee_email",t.HEMAIL="hemail",t.HE="he",t.CEMAIL="cemail",t.PAYER_EMAIL="payer_email",t.CHECKOUTEMAIL="checkoutemail",t.CUSTOMER_EMAIL="customer_email",t.EMAIL_ADDRESS_LEAD="email-address-lead",t.EMAIL_LEAD="email-lead",t.BUYER_EMAIL="buyer_email",t.INF_FIELD_EMAIL="inf_field_Email",t.EMAIL_FORM1="email_form1",t.WJ_LEAD_EMAIL="wj_lead_email",t.EW_EMAIL="ew_email",t))({});var g=class{constructor(){}static log(t,e){console.log("%c [UTS] "+t,"color: "+e+";")}static info(t){this.log(t,"green")}static error(t){this.log(t,"red")}static warn(t){this.log(t,"#ff9966")}},_=class s{constructor(){}static decodeUrlParam(e){if(null!==e)try{for(;e!==decodeURIComponent(e);)e=decodeURIComponent(e)}catch(t){g.warn("[DCD] Fail: "+e+" , error: "+t)}return e}static k(t,e,i){try{return m.deleteParams?t:e}catch(t){return g.error(i+t),m.deleteParams=!1,e}}static S(){return this.k(m.href,location.href,"E_BHREF: ")}static A(){return this.k(m.documentUrl,document.URL,"E_DURL: ")}static O(){return this.k(m.documentReferrer,document.referrer,"E_DREF: ")}static getUrlParam(t,e,i,n){i=i||this.S(),t="[\\?&]"+(t=(t=t.toString().replace(/[\[]/,"\\[").replace(/[\]]/,"\\]")).toString().replace(/ /g,"\\+"))+'=([^&#,"]*)',t=new RegExp(t).exec(i);let r=t?t[1]:null;return r=null!==r&&(e&&(r=s.decodeUrlParam(r)),n)?r&&r.replace(/["},]/g,""):r}static D(t,e,i){for(var n,r=i||s.S(),i="[\\?&]"+(t=t.toString().replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"))+"=([^&#]*)",a=new RegExp(i,"g"),o=[];null!==(n=a.exec(r));){let t=n[1];e&&(t=s.decodeUrlParam(t)),o.push(t)}return o}static U(){this.S(),this.A(),this.O()}static G(e,t,i,n){var r=s.getUrlParam(t,i,n,!0);if(e!==t)try{var a=s.getUrlParam(e,i,n,!0);if(a)return a}catch(t){g.info("[e_cp]: "+e+" , error: "+t)}return r}static F(t){for(var e of t){e=this.getUrlParam(e,!0);if(e)return e}return null}},I=class{constructor(){}static N(t){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())}static L(){return p._("hyros-email")}static H(t){return t.includes("@")&&!t.includes(" ")}static B(t){var e=p.v(t);for(let t=0;t(t.HYROS_FIRST_NAME="hyros-first-name",t.FIRST_NAME="firstname",t.NAME="name",t.FIRST_NAME_DASHED="first-name",t.F_NAME_DASHED="f-name",t.FIRST_NAME_SNAKE="first_name",t.F_NAME_SNAKE="f_name",t.FIRST_NAME_SPACED="first name",t.F_NAME_SPACED="f name",t))({}),r=(t=>(t.HYROS_LAST_NAME="hyros-last-name",t.LAST_NAME="lastname",t.LAST_NAME_DASHED="last-name",t.L_NAME_DASHED="l-name",t.LAST_NAME_SNAKE="last_name",t.L_NAME_SNAKE="l_name",t.LAST_NAME_SPACED="last name",t.L_NAME_SPACED="l name",t))({}),a=(t=>(t.HYROS_FULL_NAME="hyros-full-name",t.FULL_NAME_DASHED="full-name",t.FULL_NAME_SNAKE="full_name",t.FULL_NAME_SPACED="full name",t.FULL_NAME_SINGLE="fullname",t.COMPLETE_NAME_DASHED="complete-name",t.COMPLETE_NAME_SNAKE="complete_name",t.COMPLETE_NAME_SPACED="complete name",t.COMPLETE_NAME_SINGLE="completename",t.INVITEE_FULL_NAME="invitee_full_name",t))({}),w=class{constructor(){}static ot(t){return{[0]:Object.values(i),1:Object.values(r),2:Object.values(a)}[t]||[]}static ct(t){t=this.ot(t);return _.F(t)}},P=(t=>(t.HCONTACT="hcontact",t))(P||{});var T=["%"],R="===",y=(t=>(t.TEXT_REMINDER_NUMBER="text_reminder_number",t.SMS_NUMBER="sms_number",t.ANSWER="answer_",t.INF_CUSTOM_PHONE_NUMBER_OR_SKYPE_ID="inf_custom_PhonenumberorSkypeID",t.INF_FIELD_PHONE1="inf_field_Phone1",t.PHONE1="Phone1",t.PHONE="phone",t.MOBILE="mobile",t.CUSTOMER_VALID_PHONE="customer_valid_phone",t.TEL="tel",t))(y||{});var o=(t=>(t.SOURCE_LINK="sl",t.FB_AD_SET_ID="fbc_id",t.G_CAMPAIGN_ID="gc_id",t.G_ADGROUP_ID="h_ga_id",t.G_CLICK_ID="gclid",t.G_SPECIAL_CAMPAIGN="g_special_campaign",t.W_BRA_ID="wbraid",t.G_BRA_ID="gbraid",t.FB_CLICK_ID="fbclid",t.EMAIL_SOURCE="el",t.EMAIL_TRAFFIC="he",t.HYROS_AD_ID="h_ad_id",t.BING_AD_GROUP_ID="bng_id",t.BING_SPECIAL_CAMPAIGN="bng_special_campaign",t.HYROS_CAMPAIGN_ID="h_campaign_id",t.MANY_CHAT_PARAMS="mch",t.TT_AD_GROUP_ID="ttc_id",t.SN_AD_SET_ID="snc_id",t.LNK_CAMPAIGN_ID="lnk_id",t.TWT_ADGROUP_ID="twt_id",t.PNT_AD_GROUP_ID="pnt_id",t.TT_CLICK_ID="ttclid",t.RDT_AD_GROUP_ID="rdt_id",t.RDT_CLICK_ID="rdt_clid",t.PAYPAL_UNIQUE_CHECKOUT_ID="tx",t.HYROS_TRAFFIC_SOURCE="htrafficsource",t.HYROS_CATEGORY="hcategory",t.HYROS_GOAL="hgoal",t.HYROS_KEYWORD_ID="h_keyword_id",t.HYROS_KEYWORD="h_keyword",t.HYROS_PLACEMENT="h_placement",t))(o||{});function b(){return Object.values(o)}var k=(t=>(t.SOURCE_LINK="sl",t.FB_AD_SET_ID="fbc_id",t.G_CAMPAIGN_ID="gc_id",t.G_ADGROUP_ID="h_ga_id",t.G_SPECIAL_CAMPAIGN="CustomGSpecialCampaign",t.G_CLICK_ID="gclid",t.W_BRA_ID="wbraid",t.G_BRA_ID="gbraid",t.FB_CLICK_ID="fbclid",t.EMAIL_SOURCE="el",t.EMAIL_TRAFFIC="he",t.HYROS_AD_ID="h_ad_id",t.BING_AD_GROUP_ID="bng_id",t.BING_SPECIAL_CAMPAIGN="CustomBingSpecialCampaign",t.HYROS_CAMPAIGN_ID="h_campaign_id",t.MANY_CHAT_PARAMS="mch",t.TT_AD_GROUP_ID="ttc_id",t.SN_AD_SET_ID="snc_id",t.LNK_CAMPAIGN_ID="lnk_id",t.TWT_ADGROUP_ID="twt_id",t.PNT_AD_GROUP_ID="pnt_id",t.TT_CLICK_ID="ttclid",t.RDT_AD_GROUP_ID="rdt_id",t.RDT_CLICK_ID="rdt_clid",t.PAYPAL_UNIQUE_CHECKOUT_ID="tx",t.HYROS_TRAFFIC_SOURCE="htrafficsource",t.HYROS_CATEGORY="hcategory",t.HYROS_GOAL="hgoal",t.HYROS_KEYWORD_ID="h_keyword_id",t.HYROS_KEYWORD="h_keyword",t.HYROS_PLACEMENT="h_placement",t))(k||{});var S=(t=>(t.SOURCE_LINK_TAG="sourceLinkTag",t.FB_AD_SET_ID="fbAdSetId",t.BING_AD_GROUP_ID="bingAdGroupId",t.HYROS_CAMPAIGN_ID="hyrosCampaignId",t.GOOGLE_CAMPAIGN_ID="googleCampaignId",t.GOOGLE_ADGROUP_ID="googleAdgroupId",t.HYROS_AD_ID="hyrosAdId",t.TIKTOK_AD_GROUP_ID="tiktokAdGroupId",t.SNAPCHAT_AD_SET_ID="snapchatAdSetId",t.LINKEDIN_CAMPAIGN_ID="linkedinCampaignId",t.TWITTER_ADGROUP_ID="twitterAdgroupId",t.PINTEREST_AD_GROUP_ID="pinterestAdGroupId",t.WR_AD_ID="wrAdId",t.TW_AD_ID="twAdId",t))(S||{});var A=(t=>(t.GOOGLE="wickedsource",t.FACEBOOK="WickedSource",t))(A||{}),E=(t=>(t.GOOGLE="wickedid",t.FACEBOOK="WickedID",t))(E||{}),O=(t=>(t.SNAPCHAT="snapchat",t))(O||{}),D=(t=>(t.FACEBOOK="fbadid",t.GOOGLE="gadid",t.TIKTOK="ttadid",t.TIKTOK_OR_FACEBOOK="tw_adid",t))(D||{});var U=(t=>(t.EUIP="EUIP",t.BLCK="BLCK",t))(U||{});var c=(t=>(t.BURL="BURL",t.BIP="BIP",t))(c||{});function G(){return Object.values(c)}var F=(t=>(t.ADD_LEAD_TAG="addLeadTag",t.ADD_LEAD_PHONE="addLeadPhone",t.ADD_CONSENT="addConsent",t.ADD_LEAD_STAGE="addLeadStage",t))({}),N=(t=>(t.GRANTED="GRANTED",t.DENIED="DENIED",t.UNSPECIFIED="UNSPECIFIED",t))(N||{});{t=!0,new PerformanceObserver((t,e,i)=>{var n=t.getEntries().filter(t=>"img"===t.initiatorType&&t.name.includes("facebook")&&t.name.includes("/tr")&&t.name.includes("eid=")),t=t.getEntries().filter(t=>"img"===t.initiatorType&&t.name.includes("reddit")&&t.name.includes("/rp.gif"));0{t=t.t;t&&"PURCHASE"===t.ev&&(d=t.cdid,l=t.e_tid)})}catch(t){g.error("[snap_error]"+t.stack)}return a.apply(this,arguments)},[]);function L(t,e){i.push({name:t,st:e})}if(L("Cookiebot",()=>"undefined"!=typeof Cookiebot&&Cookiebot.consent.marketing),L("CookiePro",()=>"undefined"!=typeof CookiePro&&CookiePro.GetConsent()),!t)return;let u={};u.ut={dt:"UNIFIED_TRACKING_SCRIPT",lt:"REGULAR",ft:"d203fee6950541c4e8d0c7f53a3f6660e0c1043aeb1750fae8142dc69f31576d",ht:"\!tracking",gt:174571,_t:false,It:false,vt:false,Ct:false,wt:"",Pt:false,Tt:false,Rt:"",yt:false,bt:false,kt:false,St:"null",At:"null",Et:!1,Ot:{Dt:"__mh_tt_e",Ut:{email:"",productId:0,origin:"",cookieEnabled:!0,sourceLinkTags:"",fbAdsetId:0,googleAdId:0,bingAdGroupId:0,hyrosCampaignId:0,gClickId:"",wBraId:"",gBraId:"",fbClickId:"",sessionId:"",prevUrl:"",refUrl:"",phoneNumbers:"",tag:"",tags:[],tiktokAdGroupId:0,uniqueCheckoutId:0,snapchatAdSetId:0,twitterAdgroupId:0,dvfp:"",linkedinCampaignId:0,ttClickId:"",rdtAdGroupId:"",rdtClickId:"",paypalUniqueCheckoutId:"",firstName:"",lastName:"",adOptimizationConsent:"UNSPECIFIED",leadStage:"",leadGenSessionId:"",contact:""},Gt:{sourceLinkTag:"sl",previousUrl:"prev_url",refUrl:"ref_url",fbAdSetId:"fbc_id",bingAdGroupId:"bng_id",Ft:"bng_special_campaign",hyrosCampaignId:"h_campaign_id",Nt:"gc_id",Lt:"h_ga_id",Ht:"g_special_campaign",fbClickId:"fb_cl_id",gClickId:"g_cl_id",wBraId:"w_bra_id",gBraId:"g_bra_id",xt:"is_el",Bt:"is_he",hyrosAdId:"h_ad_id",fbPixelId:"fbp_id",fbPixelEventId:"fbpe_id",sessionId:"usid",tag:"tag",userAgent:"u_agent",jt:"hyros",Mt:"ttc_id",uniqueCheckoutId:"u_ch_id",qt:"snc_id",zt:"embed",dvfp:"fp",Jt:"lnk_id",ttClickId:"ttclid",rdtAdGroupId:"rdt_id",rdtClickId:"rdt_clid",Kt:"h_cart_id",$t:"twt_id",Wt:"pnt_id",Zt:"wr_source",Vt:"wr_ad_id",Xt:"tw_ad_id",Yt:"tw_source",Qt:"r_c_id",dniNumber:"dni_number",transactionId:"transactionId",clientDedupId:"clientDedupId",te:"h_traffic_source",ee:"h_category",ie:"h_goal",ne:"h_keyword_id",re:"h_placement",ae:"h_keyword"},oe:[{name:"kartraReferenceIdLoaded",data:null}],ce:{se:"",tiktokPixelId:"",ue:"",de:"",transactionId:"",le:"",clientDedupId:"",redditUUID:"",redditConversionId:""},fe:void 0,he:!1},me:{pe:{ge:"https://app.hyros.com",_e:"https://174571.t.hyros.com/v1/lst",Ie:"https://lg.hyr.so/v1/lst"}},ve:{Ce:!1,email:null,we:null,xt:!1,Bt:!1,Pe:[],Te:[],Re:[],ye:[],be:[],ke:[],Se:[],Ae:[],Ee:[],Oe:[],De:[],Ue:[],Ge:[],Fe:"",Ne:!1,Le:[],He:null,xe:null,Be:!0,reservedNumbers:[],noSwapNumbers:[],je:!1,Me:null},qe:{ze:"",cartId:null},Je:"",Ke:{$e:"custom=",We:"my-order-form",Ze:"https://www.digistore24.com/product/"}};var H="",x="";let c="",s="",d="",l="",f="null"!==u.ut.At;u.ut.me.endpoint={Ve:u.ut.me.pe._e+"/pc",Xe:u.ut.me.pe._e+"/gusid",Ye:u.ut.me.pe.Ie+"/session",Qe:u.ut.me.pe._e+"/error",ti:u.ut.me.pe._e+"/hte",ei:u.ut.me.pe._e+"/pcu",ii:u.ut.me.pe._e+"/../sv",ni:u.ut.me.pe._e+"/cap",ri:u.ut.me.pe._e+"/cte"},u.app=new function(){function n(t){var e=w.ot(0);if(t.className)for(var i in e){var n=["f_name","first_name"],r=[...t.classList].join("_").toLowerCase();if(a(n,r))return 1;if(r.split("_").includes(e[i]))return 1}return e.includes(t.id&&t.id.toLowerCase())||e.includes(t.placeholder&&t.placeholder.toLowerCase())}function a(t,e){return 0e.includes(t)?t:null).length}function r(t,e){return t&&t.classList&&t.classList.contains(e)}this.init=function(t){try{t()}catch(t){u.ai(t,"[init] [UTC]")}},this.oi=function(t,e){var i=p.v("head")[0],n=document.createElement("script");n.src=t,n.type="text/javascript",n.onreadystatechange=e,n.onload=e,i.appendChild(n)},this.ci=function(){return"SHOPIFY"===u.ut.lt?this.si():I.L()},this.si=function(){let t=I.j();return t=t||this.ui()},this.ui=function(){var t=document.cookie.match("(^|;)\\s*hyrosemail\\s*=\\s*([^;]+)"),t=t&&0{var e=w.ot(2);if(t.className)for(var i in e){var n=["complete_name","full_name"],r=[...t.classList].join("_").toLowerCase();if(a(n,r))return 1;if(r.split("_").includes(e[i]))return 1}return e.includes(t.id&&t.id.toLowerCase())||e.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,5);else if((t=>{var e=w.ot(1);if(t.className)for(var i in e){var n=["l_name","last_name"],r=[...t.classList].join("_").toLowerCase();if(a(n,r))return 1;if(r.split("_").includes(e[i]))return 1}return e.includes(t.id&&t.id.toLowerCase())||e.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,4);else if(n(i))u.app.Ri(i,3);else if((t=>{if(t.className)for(var e in h.u)if([...t.classList].join("_").toLowerCase().split("_").includes(h.u[e]))return 1;return h.u.includes(t.id&&t.id.toLowerCase())||h.u.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,6);else if((t=>{if(t.className)for(var e in h.l)if([...t.classList].join("_").toLowerCase().split("_").includes(h.l[e]))return 1;return h.l.includes(t.id&&t.id.toLowerCase())||h.l.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,7);else if((t=>{if(t.className)for(var e in h.m)if([...t.classList].join("_").toLowerCase().split("_").includes(h.m[e]))return 1;return h.m.includes(t.id&&t.id.toLowerCase())||h.m.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,8);else if((t=>{if(t.className)for(var e in h.p)if([...t.classList].join("_").toLowerCase().split("_").includes(h.p[e]))return 1;return h.p.includes(t.id&&t.id.toLowerCase())||h.p.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,9);else if((t=>{if(t.className)for(var e in h.h)if([...t.classList].join("_").toLowerCase().split("_").includes(h.h[e]))return 1;return h.h.includes(t.id&&t.id.toLowerCase())||h.h.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,10);else{if((t=>{if(t.className)for(var e in h.g)if([...t.classList].join("_").toLowerCase().split("_").includes(h.g[e]))return 1;return h.g.includes(t.id&&t.id.toLowerCase())||h.g.includes(t.placeholder&&t.placeholder.toLowerCase())})(i))u.app.Ri(i,11);else{if(n(i)){u.app.attachFirstNameListener(i);continue}if(r(i,"hyros-phone")){u.app.Ri(i,1);continue}if(r(i,"hyros-coupon")){u.app.Ri(i,2);continue}}"hyros-phone"===i.id?u.app.Ri(i,1):"text"!==i.type&&"email"!==i.type||(u.app.yi(i.value),u.app.Ri(i,0))}}},this.Ri=function(e,i){u.ut.ve.Pe.includes(e)||(u.app.bi(e.value,i),e.addEventListener("change",function(t){u.app.bi(e.value,i)}),u.ut.ve.Pe.push(e))};function e(t){t=_.getUrlParam(t);return"fb"===t?"facebook":"tiktok"===t||"facebook"===t||"google"===t?t:""}function o(t){try{return decodeURIComponent(t),1}catch(t){}}this.ki=function(){var e=u.ut.Ot.oe;for(let t=0;tasync t=>{var t=null!=e?t.detail[e]:t.detail;g.info("[uCheckId] "+t),u.ut.Ot.Ut.uniqueCheckoutId=t,u.ut.fe&&(u.ut.he?await u.app.Ve(u.ut.Ot.Ut.sessionId,()=>{}):(t={id:u.ut.fe.clickId,productId:u.ut.gt,uniqueCheckoutId:u.ut.Ot.Ut.uniqueCheckoutId,creationDate:u.ut.fe.creationDate},u.ut.he=!0,u.app.Si(t)))})(e[t].data),!0)},this.Ai=function(){var t=u.ut.ht?"&tag="+u.ut.ht:"",e=u.ut.It?"&spa=true":"",i=u.ut.vt?"&ignorePrevUrl=true":"",n="SHOPIFY"===u.ut.lt?"&origin=SHOPIFY":"",r=u.ut.Ct?"&embed=true":"";return u.ut.me.pe._e+"/universal-script?ph="+u.ut.ft+t+n+e+i+r},this.Ei=function(){var e=[],i=document.getElementsByTagName("iframe");for(let t=0;t{u.ut.qe.ze=t,await u.app.Ve(u.ut.Ot.Ut.sessionId,e),t=this.Ki()}),history.pushState=(e=>function(){var t=e.apply(this,arguments);return window.dispatchEvent(new Event("pushState")),window.dispatchEvent(new Event("locationchange")),t})(history.pushState),window.addEventListener("popstate",()=>{window.dispatchEvent(new Event("locationchange"))})}},this.$i=function(t){I.N(t.value)&&!u.ut.ve.Pe.includes(t)&&u.app.gi(t.value,u.ut.gt,u.app._i())},this.Wi=()=>{var t=u.ut.ve.ye;return t.includes(u.ut.ht)||t.push(u.ut.ht),t},this.Zi=()=>u.ut.ve.Fe,this.gi=function(t,e,i){u.ut.ve.Te.includes(t)||(u.ut.ve.Te.push(t),u.ut.ve.email=t,u.ut.Ot.Ut.productId=e,u.ut.Ot.Ut.origin=u.ut.lt,u.ut.Ot.Ut.cookieEnabled=navigator.cookieEnabled,u.ut.Ot.Ut.sourceLinkTags=i,u.ut.Ot.Ut.fbAdsetId=_.G("fbc_id","fbc_id",!0),u.ut.Ot.Ut.bingAdGroupId=_.G("bng_id","bng_id",!0),u.ut.Ot.Ut.Ft=_.G("CustomBingSpecialCampaign","bng_special_campaign",!0),u.ut.Ot.Ut.hyrosCampaignId=_.G("h_campaign_id","h_campaign_id",!0),u.ut.Ot.Ut.googleAdId=_.G("gc_id","gc_id",!0,!0),u.ut.Ot.Ut.Lt=_.G("h_ga_id","h_ga_id",!0,!0),u.ut.Ot.Ut.Ht=_.G("CustomGSpecialCampaign","g_special_campaign",!0),u.ut.Ot.Ut.gClickId=_.G("gclid","gclid",!0),u.ut.Ot.Ut.wBraId=_.G("wbraid","wbraid",!0),u.ut.Ot.Ut.gBraId=_.G("gbraid","gbraid",!0),u.ut.Ot.Ut.fbClickId=this.Vi(_.G("fbclid","fbclid",!0)),u.ut.Ot.Ut.refUrl=this.Ki(),u.ut.Ot.Ut.prevUrl=_.O(),u.ut.Ot.Ut.email=t,u.ut.Ot.Ut.phoneNumbers=u.app.Xi()||u.ut.Ot.Ut.phoneNumbers,u.ut.Ot.Ut.tag=u.ut.ht,u.ut.Ot.Ut.tags=this.Wi(),u.ut.Ot.Ut.leadStage=this.Zi(),u.ut.Ot.Ut.tiktokAdGroupId=_.G("ttc_id","ttc_id",!0),u.ut.Ot.Ut.snapchatAdSetId=_.G("snc_id","snc_id",!0),u.ut.Ot.Ut.twitterAdgroupId=_.G("twt_id","twt_id",!0),u.ut.Ot.Ut.Yi=_.G("pnt_id","pnt_id",!0),u.ut.Ot.Ut.linkedinCampaignId=_.G("lnk_id","lnk_id",!0),u.ut.Ot.Ut.paypalUniqueCheckoutId=_.G("tx","tx",!0),u.ut.Ot.Ut.ttClickId=_.G("ttclid","ttclid",!0),u.ut.Ot.Ut.rdtClickId=_.G("rdt_clid","rdt_clid",!0),u.ut.Ot.Ut.firstName=w.ct(0)||u.ut.Ot.Ut.firstName,u.ut.Ot.Ut.lastName=w.ct(1)||u.ut.Ot.Ut.lastName,u.ut.Ot.Ut.contact=u.app.Qi()||u.ut.Ot.Ut.contact,u.ut.Ot.Ut.tn=_.F(h.u)||u.ut.Ot.Ut.tn,u.ut.Ot.Ut.en=_.F(h.l)||u.ut.Ot.Ut.en,u.ut.Ot.Ut.nn=_.F(h.m)||u.ut.Ot.Ut.nn,u.ut.Ot.Ut.rn=_.F(h.p)||u.ut.Ot.Ut.rn,u.ut.Ot.Ut.an=_.F(h.h)||u.ut.Ot.Ut.an,u.ut.Ot.Ut.cn=_.F(h.g)||u.ut.Ot.Ut.cn,u.ut.Ot.Ut.firstName&&u.ut.Ot.Ut.lastName||u.app.mi(w.ct(2)),u.app.sn(u.ut.me.endpoint.ti,"POST",u.app.getObjectAsJson(u.ut.Ot.Ut),u.app.un,u.app.dn,!0))},this.sn=function(t,e,i,n,r,a){let o;u.ut.Tt?(o=u.app.ln(u.ut.Ot.Ut.sessionId,u.ut.gt,u.ut.Ot.Ut.leadGenSessionId),u.app.fn(t,e,i,n,r,o,a)):(o=u.app.getSessionIdHeaders(u.ut.Ot.Ut.sessionId,u.ut.gt,u.ut.Ot.Ut.leadGenSessionId),"POST"===e?u.app.requestPost(t,i,n,r,o,a):u.app.requestGet(t,n,r,o,a))},this.hn=function(t,e){if(!u.ut.Tt){if(t&&G().includes(t.body))return this.mn(t.body),!0;if(t&&"error"===t.status)return u.app.pn(t.body,e),!0}return!1},this.gn=function(t){var e;t&&!u.ut.ve.Re.includes(t)&&(v.q(t)&&v.$(t)&&(e=v.K(t),u.ut.Ot.Ut.phoneNumbers=[e]),e={id:u.ut.fe.clickId,productId:u.ut.gt,phoneNumber:t,creationDate:u.ut.fe.creationDate},u.app.Si(e))},this._n=function(t){t&&(t={id:u.ut.fe.clickId,productId:u.ut.gt,couponCode:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.In=function(t){t&&(u.ut.Ot.Ut.firstName=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,firstName:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.vn=function(t){t&&(u.ut.Ot.Ut.lastName=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,lastName:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.Cn=function(t){t&&(u.ut.Ot.Ut.nn=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,leadCity:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.wn=function(t){t&&(u.ut.Ot.Ut.tn=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,leadAddress:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.Pn=function(t){t&&(u.ut.Ot.Ut.en=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,leadStreet:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.Tn=function(t){t&&(u.ut.Ot.Ut.rn=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,leadState:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.Rn=function(t){t&&(u.ut.Ot.Ut.an=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,leadCountry:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.yn=function(t){t&&(u.ut.Ot.Ut.cn=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,leadZipCode:t,creationDate:u.ut.fe.creationDate},u.app.Si(t))},this.li=function(t){t=v.K(t),v.$(t)&&!u.ut.ve.Re.includes(t)&&u.ut.fe&&(u.app.gn(t),u.ut.ve.Re.push(t))},this.bn=function(t){u.ut.ve.ye.includes(t)||u.ut.ve.ye.push(t)},this.kn=function(t){t=C.at(t),u.ut.fe&&(u.app._n(t),u.ut.ve.be.push(t))},this.yi=function(t){I.N(t)&&u.app.gi(t,u.ut.gt,u.app._i())},this.fi=function(t){t=C.rt(t);var e=u.ut.fe.clickId;u.ut.ve.Ue.includes(t+e)||u.ut.fe&&(u.app.In(t),u.ut.ve.Ue.push(t+e))},this.hi=function(t){t=C.rt(t);var e=u.ut.fe.clickId;u.ut.ve.Ge.includes(t+e)||u.ut.fe&&(u.app.vn(t),u.ut.ve.Ge.push(t+e))},this.mi=function(t){t=C.nt(t);0u.app.yi(t),1:t=>u.app.li(t),2:t=>u.app.kn(t),3:t=>u.app.fi(t),4:t=>u.app.hi(t),5:t=>u.app.mi(t),6:t=>u.app.Fn(t),7:t=>u.app.Un(t),8:t=>u.app.En(t),9:t=>u.app.Dn(t),10:t=>u.app.On(t),11:t=>u.app.Gn(t)})[e](t)},this.un=function(t){u.app.hn(t,"hte")||g.info("[hte].")},this.Ln=function(){g.info("[pcu].")},this.Hn=function(){g.info("[pp].")},this.dn=function(t){u.app.pn(t,"hte")},this.xn=function(t){u.app.pn(t,"pcu")},this.Bn=function(t){u.app.pn(t,"pp")},this.pn=function(t,e){u.ai(t,"["+e+"]"),g.error("[ERROR]["+e+"]: "+t)},this.mn=function(t){g.warn("[WARN]["+t+"]")},this.jn=function(e){try{var t=JSON.parse(e);if(t.body){if(Object.values(U).includes(t.body))return void g.error("["+t.body+"]");if(G().includes(t.body))return void this.mn(t.body)}u.app.pn(e,"gusid")}catch(t){u.app.pn(e,"gusid")}},this.Mn=function(t,e,i){e?g.info("Hyros Script Disabled"):(u.ut.Ot.Ut.sessionId=t,g.info("[gusid]: "+t),this.qn(t),this.zn(function(){u.app.Jn(t,function(){u.app.Ve(t,i)})}))},this.Kn=async function(i){var t=new URLSearchParams,e=u.ut.Ot.Gt,n=_.getUrlParam(u.ut.Ot.Gt.jt),n=(n&&t.append(e.jt,n),u.ut.Rt),e=(n&&"null"!=n&&t.append(e.Qt,n),await u.app.$n());let r=u.ut.me.endpoint.Xe;t.toString()&&(r=r+"?"+t.toString()),u.app.requestSessionId(r,async function(t,e){u.app.Mn(t,e,i)},function(t){u.app.jn(t)},[{key:"Product-ID",value:u.ut.gt},{key:"Ref-Url",value:"null"!==u.ut.At?u.ut.At:this.Ki()},{key:"fp",value:e}],!0)},this.zn=function(e){var t=u.ut.me.endpoint.Ye;this.Wn(t,function(t){u.ut.Ot.Ut.leadGenSessionId=t,e()},function(t){u.app.pn(t,"session")})},this.Wn=function(t,e,i){let n=u.app.Zn("GET",t,!0,void 0,!0);n.onload=function(){if(200===n.status||304===n.status)try{var t=n.getResponseHeader("L-Gen-ID");null!=t&&"undefined"!==t&&""!==t&&"null"!==t&&e(t)}catch(t){i("ERROR Procesing Response: "+t)}else i("http status: "+n.status+" - "+n.responseText)},n.onerror=function(){i("Error XMLHttp: "+(n.responseText||"Network request failed"))},n.send()},this.Vn=function(t){return 0Object.values(S).includes(t)&&null!==e).length},this.Xn=function(t,e){t.sourceLinkTag=u.app._i(e),t.fbAdSetId=_.G("fbc_id","fbc_id",!0,e),t.bingAdGroupId=_.G("bng_id","bng_id",!0,e),t.Ft=_.G("CustomBingSpecialCampaign","bng_special_campaign",!0,e),t.hyrosCampaignId=_.G("h_campaign_id","h_campaign_id",!0,e),t.googleCampaignId=_.G("gc_id","gc_id",!0,e),t.Yn=_.G("h_ga_id","h_ga_id",!0,e),t.Ht=_.G("CustomGSpecialCampaign","g_special_campaign",!0,e),t.fbClickId=_.G("fbclid","fbclid",!0,e),t.googleClickId=_.G("gclid","gclid",!0,e),t.wBraId=_.G("wbraid","wbraid",!0,e),t.gBraId=_.G("gbraid","gbraid",!0,e),t.hyrosAdId=_.G("h_ad_id","h_ad_id",!0,e),t.tiktokAdGroupId=_.G("ttc_id","ttc_id",!0,e),t.rdtAdGroupId=_.G("rdt_id","rdt_id",!0,e),t.rdtClickId=_.G("rdt_clid","rdt_clid",!0,e),t.snapchatAdSetId=_.G("snc_id","snc_id",!0,e),t.linkedinCampaignId=_.G("lnk_id","lnk_id",!0,e),t.Qn=_.G("ttclid","ttclid",!0,e),t.twitterAdgroupId=_.G("twt_id","twt_id",!0,e),t.Yi=_.G("pnt_id","pnt_id",!0,e),t.paypalUniqueCheckoutId=_.G("tx","tx",!0,e),t.ne=(t=>{if(t)return(t=new RegExp("kwd-(\\d+)").exec(t))?t[1]:null})(_.G("h_keyword_id","h_keyword_id",!0,e)),t.ae=_.G("h_keyword","h_keyword",!0,e),t.re=_.G("h_placement","h_placement",!0,e),this.tr(t,e)},this.tr=function(t,e){var i={...t};delete i.sourceLinkTag,this.Vn(i)||null===t.sourceLinkTag||(t.te=_.G("htrafficsource","htrafficsource",!1,e),t.ee=_.G("hcategory","hcategory",!1,e),t.ie=_.G("hgoal","hgoal",!1,e))},this.er=function(t){t.Zt=this.ir(),t.Vt=this.nr(t)},this.ir=function(){var t=this.rr();return t||this.ar()},this.rr=function(){var e=Object.values(A);let i;for(let t=0;tb().some(function(t){return e.name.includes(t)}))).length&&(i.refUrl=encodeURI(t[0].name),this.Xn(i,i.refUrl)),i.fbClickId=this.Vi(i.fbClickId),!this.Vn(i)){var n=u.ut.Ot.Gt,t=_.G("mch","mch");let e=[];null!==t&&(e=decodeURIComponent(t).split(R));for(let t=0;t_.G("he","he",!1),this.Ir=()=>_.G("el","el",!1),this.vr=async function(){var t=u.app.gr(),e=u.ut.Ot.Gt,i=new URLSearchParams,n=u.ut.me.endpoint.Ve,t=(t.fbAdSetId&&i.append(e.fbAdSetId,t.fbAdSetId),t.bingAdGroupId&&i.append(e.bingAdGroupId,t.bingAdGroupId),t.Ft&&i.append(e.Ft,t.Ft),t.hyrosCampaignId&&i.append(e.hyrosCampaignId,t.hyrosCampaignId),t.googleCampaignId&&i.append(e.Nt,t.googleCampaignId),t.Yn&&i.append(e.Lt,t.Yn),t.Ht&&i.append(e.Ht,t.Ht),t.hyrosAdId&&(t.fbAdSetId||t.googleCampaignId||t.Yn||t.tiktokAdGroupId||t.Yi||t.snapchatAdSetId||t.bingAdGroupId||t.hyrosCampaignId||t.rdtAdGroupId)&&i.append(e.hyrosAdId,t.hyrosAdId),t.fbClickId&&i.append(e.fbClickId,t.fbClickId),t.googleClickId&&i.append(e.gClickId,t.googleClickId),t.wBraId&&i.append(e.wBraId,t.wBraId),t.gBraId&&i.append(e.gBraId,t.gBraId),t.sourceLinkTag&&i.append(e.sourceLinkTag,t.sourceLinkTag),t.xt&&i.append(e.xt,t.xt),t.previousUrl&&i.append(e.previousUrl,t.previousUrl),t.refUrl&&i.append(e.refUrl,t.refUrl),t.fbPixelId&&i.append(e.fbPixelId,t.fbPixelId),t.fbPixelEventId&&i.append(e.fbPixelEventId,t.fbPixelEventId),t.userAgent&&i.append(e.userAgent,t.userAgent),t.tiktokAdGroupId&&i.append(e.Mt,t.tiktokAdGroupId),t.uniqueCheckoutId&&i.append(e.uniqueCheckoutId,t.uniqueCheckoutId),t.snapchatAdSetId&&i.append(e.qt,t.snapchatAdSetId),t.twitterAdgroupId&&i.append(e.$t,t.twitterAdgroupId),t.Yi&&i.append(e.Wt,t.Yi),t.zt&&i.append(e.zt,t.zt),t.linkedinCampaignId&&i.append(e.Jt,t.linkedinCampaignId),t.Qn&&i.append(e.ttClickId,t.Qn),t.rdtAdGroupId&&i.append(e.rdtAdGroupId,t.rdtAdGroupId),t.rdtClickId&&i.append(e.rdtClickId,t.rdtClickId),t.Zt&&i.append(e.Zt,t.Zt),t.Vt&&i.append(e.Vt,t.Vt),t.Xt&&i.append(e.Xt,t.Xt),t.Yt&&i.append(e.Yt,t.Yt),t.paypalUniqueCheckoutId&&i.append(e.uniqueCheckoutId,t.paypalUniqueCheckoutId),t.transactionId&&i.append(e.transactionId,t.transactionId),t.clientDedupId&&i.append(e.clientDedupId,t.clientDedupId),t.te&&i.append(e.te,t.te),t.ee&&i.append(e.ee,t.ee),t.ie&&i.append(e.ie,t.ie),t.ae&&i.append(e.ae,t.ae),t.ne&&i.append(e.ne,t.ne),t.re&&i.append(e.re,t.re),u.ut.ve.xe&&i.append(e.dniNumber,u.ut.ve.xe),await u.app.$n());return null!=t&&i.append(e.dvfp,t),u.ut.qe.cartId?i.append(e.Kt,u.ut.qe.cartId):(t=u.app.Ui())&&i.append(e.Kt,t),this._r()&&this.Ir()&&i.append(e.Bt,!0),n+"?"+i.toString()},this.qn=function(t){var e=p.v("button"),i=p.v("a");this.Cr(t,e,"button"),this.Cr(t,i,"tag"),setInterval(this.wr(t),900)},this.Cr=function(t,e,i){for(var n in e)try{var r,a=e[n].href;void 0!==a&&a.includes(u.ut.Ke.Ze)&&!a.includes(u.ut.Ke.$e)&&(r=a.includes("?")?"&":"?",e[n].href=a+r+u.ut.Ke.$e+t,g.info("[hyros-url] A "+i+", new href: "+e[n].href))}catch(t){g.warn("[hyros-url] A "+i+", error: "+t)}},this.wr=function(t){var e,i=p.v(u.ut.Ke.We);if(null===i||0===i.length)g.info("[hyros-url] iframe not found");else for(var n in i)try{void 0!==(url=i[n]._iframe.src)&&url.includes(u.ut.Ke.Ze)&&!url.includes(u.ut.Ke.$e)&&(e=url.includes("?")?"&":"?",i[n]._iframe.src=url+e+u.ut.Ke.$e+t,g.info("[hyros-url] A iframe, new href: "+i[n]._iframe.src))}catch(t){g.warn("[hyros-url] A iframe error, "+t)}},this.Pr=function(e){var t;if(e.getAttribute("href")&&e.getAttribute("href").includes("tel:")&&e.setAttribute("href","tel:"+u.ut.ve.xe),0===e.childElementCount)e.innerHTML&&v.Z(e.innerHTML)&&(t=v.X(u.ut.ve.xe,e.innerHTML))&&(e.innerHTML=t);else for(let t=0;ti.delete(t)),Object.values(k).forEach(t=>i.delete(t)),t+((i.toString()&&"?")+decodeURIComponent(i.toString()))},this.Ur=function(){_.U();try{m.deleteParams&&history.replaceState({},document.title,this.Dr())}catch(t){m.deleteParams=!1,g.error("E_P: "+t)}},this.Gr=()=>{var t,e;null!=u.ut.ve.Me&&({Fr:t,value:e}=u.ut.ve.Me,this.Nr(t,e),u.ut.ve.Me=null,g.info("[CAP] Cached event sent"))},this.Ve=async function(t,e){t=await this.vr(t);this.sn(t,"GET",{},function(t){u.app.hn(t,"pc")||(g.info("[pc]"),u.ut.fe=t,u.app.Lr().then(),u.app.Hr().then(),u.app.Br().then(),u.app.jr().then(),u.app.Or(!0),u.app.Gr(),e())},function(t){u.app.pn(t,"pc"),u.app.Or(!1),e()},!0),u.ut.Tt&&u.app.Or(void 0)},this.Gi=function(t){t=("; "+document.cookie).split("; "+t+"=");if(2===t.length)return t.pop().split(";").shift()},this.Mr=function(){var e={},i=window.location.search.substring(1).split("&");for(let t=0;t{setTimeout(t,e)})},this.Yr=async function(){s?(u.ut.Ot.ce.de=_.getUrlParam("eid",!1,s),u.ut.Ot.ce.le=_.getUrlParam("fbp",!1,s),g.info("[fb_ev_id]: "+u.ut.Ot.ce.de),g.info("[_fbp]: "+u.ut.Ot.ce.le)):(await u.app.ia(1e3),await u.app.Yr())},this.Qr=async function(){0t.name.includes("tiktok")&&t.name.includes("/pixel")&&t.name.includes("/pixel")&&!t.name.includes("/act")).length&&""!==H?(u.ut.Ot.ce.ue=H,u.ut.Ot.ce.tiktokPixelId=x,g.info("[tt_ev_id]: "+u.ut.Ot.ce.ue),g.info("[tt_p_id]: "+u.ut.Ot.ce.tiktokPixelId)):(await u.app.ia(1e3),await u.app.Qr())},this.ea=async function(){d?(u.ut.Ot.ce.clientDedupId=d,u.ut.Ot.ce.transactionId=l,g.info("[snap_cd_id]: "+u.ut.Ot.ce.clientDedupId),g.info("[snap_t_id]: "+u.ut.Ot.ce.transactionId)):(await u.app.ia(1e3),await u.app.ea())},this.Xr=function(t,e,i){t=u.app.getSubstringBetween(t,"snaptr('track',",")");let n=u.app.getSubstringBetween(t,e,",");return""!==(n=(n=""===n?u.app.getSubstringBetween(t,e,"}"):n).toString().replace(/'/g,""))&&(n=n.trim(),g.info("[snap][get_"+i+"]: "+n)),n},this.na=function(t,e){return"0000000000000000000000000000000000000000000000000000000000000001"===t&&(g.error("[reddit] Default placeholders are being used. Invalid param: "+e),!0)},this.ta=async function(){var t,e;c?(t=_.getUrlParam(e="external_id",!1,c),u.app.na(t,e)||(u.ut.Ot.ce.transactionId=t),g.info("[rdt_t_id]: "+u.ut.Ot.ce.transactionId),e=_.getUrlParam("uuid",!1,c),u.app.na(e,"uuid")||(u.ut.Ot.ce.redditUUID=e),g.info("[rdt_uuid]: "+u.ut.Ot.ce.redditUUID),e=_.getUrlParam(t="m.conversionId",!1,c),u.app.na(e,t)||(u.ut.Ot.ce.redditConversionId=e),g.info("[rdt_conv_id]: "+u.ut.Ot.ce.redditConversionId)):(await u.app.ia(1e3),await u.app.ta())},this.Vi=function(e){var i=T;if(null!=e)for(let t=0;t{try{var t;u.ut.Pt&&((t=document.createElement("script")).text=u.ut.Je,document.head.appendChild(t),this.sa(),g.info("[fp] init"))}catch(t){g.error("[fp] init: "+t.stack),u.ut.Pt=!1}},this.ua=function(){var t;u.ut.bt&&(window.Shopify&&window.Shopify.on&&(window.fbq||window.gtag)?(window.Shopify.on("CheckoutAmended",function(t,e){let i=(e.order||e).lineItems.map(function(t){return t.id});var e=t.lineItems.filter(function(t){return i.indexOf(t.id)<0});0!==e.length&&(e=e[0],u.app.da(e.finalLinePrice,t.currency))}),window.Shopify.wasPostPurchasePageSeen||(t=window.Shopify.order,u.app.da(t.totalPrice,t.currency))):g.warn("[NTPF]"))},this.da=function(t,e){window.fbq&&(fbq("track","Purchase",{value:t,currency:e},{la:Math.random().toString(36).substr(2,15)}),g.info("[fbq]")),window.gtag&&(gtag("event","Purchase",{value:t,currency:e}),g.info("[gtag]"))},this.sa=()=>{FPJS?u.ut.ve.He=FPJS.load():(g.warn("[fp] unv"),setTimeout(this.sa,100))},this.$n=async()=>{try{var t;return u.ut.Pt?0{try{if(u.ut.Pt){let e=u.ut.Ot.Ut.dvfp;u.ut.Ot.Ut.deviceFingerprint="",u.app.$n().then(t=>{null!=t&&t!==e&&(u.ut.Ot.Ut.dvfp=t,t={id:u.ut.fe.clickId,productId:u.ut.gt,creationDate:u.ut.fe.creationDate,dvfp:t},u.app.Si(t))})}}catch(t){g.error("[fp2] "+t.stack)}},this.Si=function(t){u.app.requestPut(u.ut.me.endpoint.ei,u.app.getObjectAsJson(t),u.app.Ln,u.app.xn,u.app.getSessionIdHeaders(u.ut.Ot.Ut.sessionId,u.ut.gt,u.ut.Ot.Ut.leadGenSessionId),!0)},this.ii=function(){var t=_.getUrlParam("hpp-pid"),e=u.ut.gt,i=window.location.origin,n=_.getUrlParam("hpp-ver-code");t&&u.app.requestPut(u.ut.me.endpoint.ii+"/verify",u.app.getObjectAsJson({domain:i,verificationCode:n,productId:t,scriptProductId:e}),u.app.Hn,u.app.Bn,u.app.getSessionIdHeaders(u.ut.Ot.Ut.sessionId,u.ut.gt),!0)},this.fa=function(t){t.forEach(t=>{"consent"!==t[0]||"update"!==t[1]&&"default"!==t[1]||u.ut.Et||(t="granted"===t[2].ad_user_data&&"granted"===t[2].ad_personalization?"GRANTED":"DENIED",u.app.updateConsentValue(t))})},this.checkAllConsents=function(){let e=!1;i.forEach(t=>{t.st()&&(e=!0,g.info("Cookie consent given through "+t.name),u.app.updateConsentValue("GRANTED"))}),e||this.fa(window.dataLayer||[])},this.updateConsentValue=function(t){t!==u.ut.Ot.Ut.adOptimizationConsent&&(u.ut.Ot.Ut.adOptimizationConsent=t,this.ha())},this.ma=function(){u.ut.ve.Fe="",u.ut.Ot.Ut.adOptimizationConsent="UNSPECIFIED",u.ut.Ot.Ut.leadStage=""},this.pa=function(){window.dataLayer=window.dataLayer||[];let e=window.dataLayer.push;window.dataLayer.push=function(){var t=[].slice.call(arguments,0);return u.app.fa(t),e.apply(window.dataLayer,t)}},this.ga=function(t){console.error("[CAP]: "+t.message)},this._a=(t,e)=>JSON.stringify({type:t,value:Array.isArray(e)?[...e]:[e]}),this.Ia=(e,i)=>Object.keys(e).find(t=>e[t]===i),this.Nr=function(t,e){u.app.fn(u.ut.me.endpoint.ni,"POST",this._a(t,e),this.ma,this.ga,{"Session-ID":u.ut.Ot.Ut.sessionId,"Content-Type":"application/json"})},window.hrs=(()=>{let e=(t,e,i="leadUpdate")=>{window.dispatchEvent(new CustomEvent(i,{detail:{value:e,type:t}}))};return{addLeadTag:function(t){e("addLeadTag",t)},addLeadPhone:function(t){e("addLeadPhone",t)},addLeadConsent:function(t){e("addConsent",t)},addLeadStage:function(t){e("addLeadStage",t)}}})(),this.va=(t,e)=>window.addEventListener(t,e),this.zi=()=>{this.va("leadUpdate",this.Ca)},this.Ca=t=>{var t=t.detail,e=t.value;switch(t.type){case"addLeadTag":this.bn(e);break;case"addLeadPhone":this.li(e);break;case"addConsent":this.Sn(e);break;case"addLeadStage":this.An(e);break;default:return void g.error("[LU_UT]")}this.ha(t.type,e)},this.ha=(t,e)=>{let i=u.ut.ve.email||u.ut.ve.we;i&&I.N(i)?u.ut.Ot.Ut.sessionId?(u.ut.ve.Te.includes(i)&&(u.ut.ve.Te=u.ut.ve.Te.filter(t=>t!==i)),u.app.gi(i,u.ut.gt,u.app._i())):u.ut.ve.je=!0:t&&(t=this.Ia(F,t),u.ut.Ot.Ut.sessionId?u.app.Nr(t,e):(u.ut.ve.Me={Fr:t,value:e},g.info("[CAP] Event cached")))}},u.ai=function(t,e){var i=new URLSearchParams,n=(i.append("script",u.ut.dt),new XMLHttpRequest);n.open("POST",u.ut.me.endpoint.Qe+"?"+i),n.setRequestHeader("Product-ID",u.ut.gt),""!=u.ut.Ot.Ut.sessionId&&n.setRequestHeader("Session-ID",u.ut.Ot.Ut.sessionId),n.send(e+" - "+(t.stack||t))},u.app.init(function(){u.app.Ur(),u.app.ca(),u.app.ua(),u.app.ki(),u.app.Ji(u.app.Jr),u.app.Di(),u.app.qi(),u.app.zt(),u.app.Vr(),u.app.Fi(),u.app.Kn(u.app.$r),u.app.checkAllConsents(),u.app.pa(),u.app.ii()})}})();