(function(){var W=window,D=document; try{ var allowed="longevityidaho.com"; var host=(W.location.hostname||'').toLowerCase().replace(/^www\./,''); if(allowed && host!==allowed && host.slice(-(allowed.length+1))!=='.'+allowed){ if(W.console)W.console.warn('Rise CB: this campaign is restricted to '+allowed); return; } if(W.__cbLoaded_15)return; W.__cbLoaded_15=1; var sid=null;try{sid=W.localStorage.getItem('cb_sid_15');}catch(e){} if(!sid){sid=Math.random().toString(36).slice(2)+'_'+Date.now().toString(36);try{W.localStorage.setItem('cb_sid_15',sid);}catch(e){}} /* Forward guest_code + UTM params from the host page URL into the iframe so the widget can branch into the known-guest flow and tag the submission with referral attribution. */ var hostSearch=(W.location && W.location.search) || ''; var pickParams=function(qs, keys){ var out=''; if(!qs) return out; try { var sp=new URLSearchParams(qs); keys.forEach(function(k){ var v=sp.get(k); if(v!==null && v!=='') out+='&'+encodeURIComponent(k)+'='+encodeURIComponent(v); }); } catch(e) {} return out; }; var passthrough=pickParams(hostSearch, ['guest_code','utm_source','utm_medium','utm_campaign','utm_term','utm_content','ref']); /* Place the iframe where the script tag lives. D.currentScript is null for async scripts in some older browsers, so we fall back to the last