(function(){"use strict";var w;function U(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var E={exports:{}};/*! * JavaScript Cookie v2.2.1 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */(function(e,t){(function(i){var s;if(e.exports=i(),s=!0,!s){var C=window.Cookies,r=window.Cookies=i();r.noConflict=function(){return window.Cookies=C,r}}})(function(){function i(){for(var r=0,c={};r"u")){n=i({path:"/"},c.defaults,n),typeof n.expires=="number"&&(n.expires=new Date(new Date*1+n.expires*864e5)),n.expires=n.expires?n.expires.toUTCString():"";try{var _=JSON.stringify(a);/^[\{\[]/.test(_)&&(a=_)}catch{}a=r.write?r.write(a,o):encodeURIComponent(String(a)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),o=encodeURIComponent(String(o)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var d="";for(var f in n)n[f]&&(d+="; "+f,n[f]!==!0&&(d+="="+n[f].split(";")[0]));return document.cookie=o+"="+a+d}}function l(o,a){if(!(typeof document>"u")){for(var n={},_=document.cookie?document.cookie.split("; "):[],d=0;d<_.length;d++){var f=_[d].split("="),p=f.slice(1).join("=");!a&&p.charAt(0)==='"'&&(p=p.slice(1,-1));try{var g=s(f[0]);if(p=(r.read||r)(p,g)||s(p),a)try{p=JSON.parse(p)}catch{}if(n[g]=p,o===g)break}catch{}}return o?n[o]:n}}return c.set=u,c.get=function(o){return l(o,!1)},c.getJSON=function(o){return l(o,!0)},c.remove=function(o,a){u(o,"",i(a,{expires:-1}))},c.defaults={},c.withConverter=C,c}return C(function(){})})})(E);var m=E.exports;const T=U(m);function S(e){return T.get(e)}(w=window.__attentive_cfg)!=null&&w.cxd;const O={ADA_COMPLIANT:!0,ADA_REFOCUS_ELEMENT_SELECTOR:"body",ATTENTIVE_CLIENT_USER_ID:()=>{try{const e=S("ajs_user_id");if(e)return`userId:${e}`;const t=S("ajs_anonymous_id");if(t)return`anonId:${t}`}catch{}},GET_CREATIVE_FILTER_PARAM:()=>{try{const e=window.sessionStorage.getItem("is_customer_in_email_opt_in_collection_w_sms_experiment"),t=document.cookie.includes("email-opt-in=true"),i=document.cookie.includes("email-opt-in=false"),s=!t&&!i;if(e==="false")return"CONTROL";if(e==="true"){if(t)return"EM_KNOWN";if(i||s)return"EM_UNKNOWN"}return"CONTROL"}catch{return"CONTROL"}},CUSTOM_IMPRESSION_EVENTS:({creativeId:e,creativeName:t})=>{try{setTimeout(()=>{window.tracking.track("Pop-Up Viewed",{category:"Pop-Up",label:"SMS Pop-Up",eventDetail:`${e}:${t}`})},500)}catch{}},CUSTOM_CLOSE_EVENTS:({creativeId:e,creativeName:t})=>{try{window.tracking.track("Pop-Up Closed",{category:"Pop-Up",label:"SMS Pop-Up",eventDetail:`${e}:${t}`})}catch{}},CUSTOM_EMAIL_LEAD_EVENTS:({creativeId:e,creativeName:t})=>{try{window.tracking.track("Pop-Up Clicked",{category:"Pop-Up",label:"SMS Pop-Up",eventDetail:`${e}:${t}`})}catch{}},CUSTOM_LEAD_EVENTS:({creativeId:e,creativeName:t})=>{try{window.tracking.track("Pop-Up Clicked",{category:"Pop-Up",label:"SMS Pop-Up",eventDetail:`${e}:${t}`})}catch{}}};window.__attentive_client_cfg=O})();