(function(){"use strict";var C;function h(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var m={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(n,u){(function(t){var s;if(n.exports=t(),s=!0,!s){var d=window.Cookies,i=window.Cookies=t();i.noConflict=function(){return window.Cookies=d,i}}})(function(){function t(){for(var i=0,r={};i"u")){e=t({path:"/"},r.defaults,e),typeof e.expires=="number"&&(e.expires=new Date(new Date*1+e.expires*864e5)),e.expires=e.expires?e.expires.toUTCString():"";try{var g=JSON.stringify(c);/^[\{\[]/.test(g)&&(c=g)}catch{}c=i.write?i.write(c,o):encodeURIComponent(String(c)).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 p="";for(var l in e)e[l]&&(p+="; "+l,e[l]!==!0&&(p+="="+e[l].split(";")[0]));return document.cookie=o+"="+c+p}}function w(o,c){if(!(typeof document>"u")){for(var e={},g=document.cookie?document.cookie.split("; "):[],p=0;p=3){const s=t.slice(-2).join(".");if(["co.uk","com.au","co.nz","co.za","com.br","com.mx","co.jp","co.in","co.il","co.kr","uk.com","myshopify.com"].includes(s))return"."+t.slice(-3).join(".")}return t.length>=2?"."+t.slice(-2).join("."):"."+u}function E(n,u,t){const s={secure:window.location.protocol.includes("https"),...t,expires:S()},d=D(window.location.hostname);return s.domain=d,x.set(n,u,s)}function S(n){return A}const j={ANON_ID_PARAMS:()=>{try{const n=window.analytics.user().id();if(n)return E("__attentive_client_user_id",n),n}catch{}},CUSTOM_EMAIL_LEAD_EVENTS:n=>{try{const{email:u}=n;window.ometria.identify(u)}catch{}}};window.__attentive_client_cfg=j})();