window.flatStyles = window.flatStyles || ''
window.lightspeedOptimizeStylesheet = function () {
const currentStylesheet = document.querySelector( '.tcb-lightspeed-style:not([data-ls-optimized])' )
if ( currentStylesheet ) {
try {
if ( currentStylesheet.sheet && currentStylesheet.sheet.cssRules ) {
if ( window.flatStyles ) {
if ( this.optimizing ) {
setTimeout( window.lightspeedOptimizeStylesheet.bind( this ), 24 )
} else {
this.optimizing = true;
let rulesIndex = 0;
while ( rulesIndex < currentStylesheet.sheet.cssRules.length ) {
const rule = currentStylesheet.sheet.cssRules[ rulesIndex ]
/* remove rules that already exist in the page */
if ( rule.type === CSSRule.STYLE_RULE && window.flatStyles.includes( `${rule.selectorText}{` ) ) {
currentStylesheet.sheet.deleteRule( rulesIndex )
} else {
rulesIndex ++
}
}
/* optimize, mark it such, move to the next file, append the styles we have until now */
currentStylesheet.setAttribute( 'data-ls-optimized', '1' )
window.flatStyles += currentStylesheet.innerHTML
this.optimizing = false
}
} else {
window.flatStyles = currentStylesheet.innerHTML
currentStylesheet.setAttribute( 'data-ls-optimized', '1' )
}
}
} catch ( error ) {
console.warn( error )
}
if ( currentStylesheet.parentElement.tagName !== 'HEAD' ) {
/* always make sure that those styles end up in the head */
const stylesheetID = currentStylesheet.id;
/**
* make sure that there is only one copy of the css
* e.g display CSS
*/
if ( ( ! stylesheetID || ( stylesheetID && ! document.querySelector( `head #${stylesheetID}` ) ) ) ) {
document.head.prepend( currentStylesheet )
} else {
currentStylesheet.remove();
}
}
}
}
window.lightspeedOptimizeFlat = function ( styleSheetElement ) {
if ( document.querySelectorAll( 'link[href*="thrive_flat.css"]' ).length > 1 ) {
/* disable this flat if we already have one */
styleSheetElement.setAttribute( 'disabled', true )
} else {
/* if this is the first one, make sure he's in head */
if ( styleSheetElement.parentElement.tagName !== 'HEAD' ) {
document.head.append( styleSheetElement )
}
}
}
var mi_version = '8.12.1';
var mi_track_user = true;
var mi_no_track_reason = '';
var disableStrs = [
'ga-disable-UA-109741386-1',
];
/* Function to detect opted out users */
function __gtagTrackerIsOptedOut() {
for (var index = 0; index < disableStrs.length; index++) {
if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) {
return true;
}
}
return false;
}
/* Disable tracking if the opt-out cookie exists. */
if (__gtagTrackerIsOptedOut()) {
for (var index = 0; index < disableStrs.length; index++) {
window[disableStrs[index]] = true;
}
}
/* Opt-out function */
function __gtagTrackerOptout() {
for (var index = 0; index < disableStrs.length; index++) {
document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStrs[index]] = true;
}
}
if ('undefined' === typeof gaOptout) {
function gaOptout() {
__gtagTrackerOptout();
}
}
window.dataLayer = window.dataLayer || [];
window.MonsterInsightsDualTracker = {
helpers: {},
trackers: {},
};
if (mi_track_user) {
function __gtagDataLayer() {
dataLayer.push(arguments);
}
function __gtagTracker(type, name, parameters) {
if (!parameters) {
parameters = {};
}
if (parameters.send_to) {
__gtagDataLayer.apply(null, arguments);
return;
}
if (type === 'event') {
parameters.send_to = monsterinsights_frontend.ua;
__gtagDataLayer(type, name, parameters);
} else {
__gtagDataLayer.apply(null, arguments);
}
}
__gtagTracker('js', new Date());
__gtagTracker('set', {
'developer_id.dZGIzZG': true,
});
__gtagTracker('config', 'UA-109741386-1', {"forceSSL":"true"} );
window.gtag = __gtagTracker; (function () {
/* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */
/* ga and __gaTracker compatibility shim. */
var noopfn = function () {
return null;
};
var newtracker = function () {
return new Tracker();
};
var Tracker = function () {
return null;
};
var p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = function () {
var args = Array.prototype.slice.call(arguments);
args.unshift('send');
__gaTracker.apply(null, args);
};
var __gaTracker = function () {
var len = arguments.length;
if (len === 0) {
return;
}
var f = arguments[len - 1];
if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') {
if ('send' === arguments[0]) {
var hitConverted, hitObject = false, action;
if ('event' === arguments[1]) {
if ('undefined' !== typeof arguments[3]) {
hitObject = {
'eventAction': arguments[3],
'eventCategory': arguments[2],
'eventLabel': arguments[4],
'value': arguments[5] ? arguments[5] : 1,
}
}
}
if ('pageview' === arguments[1]) {
if ('undefined' !== typeof arguments[2]) {
hitObject = {
'eventAction': 'page_view',
'page_path': arguments[2],
}
}
}
if (typeof arguments[2] === 'object') {
hitObject = arguments[2];
}
if (typeof arguments[5] === 'object') {
Object.assign(hitObject, arguments[5]);
}
if ('undefined' !== typeof arguments[1].hitType) {
hitObject = arguments[1];
if ('pageview' === hitObject.hitType) {
hitObject.eventAction = 'page_view';
}
}
if (hitObject) {
action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction;
hitConverted = mapArgs(hitObject);
__gtagTracker('event', action, hitConverted);
}
}
return;
}
function mapArgs(args) {
var arg, hit = {};
var gaMap = {
'eventCategory': 'event_category',
'eventAction': 'event_action',
'eventLabel': 'event_label',
'eventValue': 'event_value',
'nonInteraction': 'non_interaction',
'timingCategory': 'event_category',
'timingVar': 'name',
'timingValue': 'value',
'timingLabel': 'event_label',
'page': 'page_path',
'location': 'page_location',
'title': 'page_title',
};
for (arg in args) {
if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) {
hit[gaMap[arg]] = args[arg];
} else {
hit[arg] = args[arg];
}
}
return hit;
}
try {
f.hitCallback();
} catch (ex) {
}
};
__gaTracker.create = newtracker;
__gaTracker.getByName = newtracker;
__gaTracker.getAll = function () {
return [];
};
__gaTracker.remove = noopfn;
__gaTracker.loaded = true;
window['__gaTracker'] = __gaTracker;
})();
} else {
console.log("");
(function () {
function __gtagTracker() {
return null;
}
window['__gtagTracker'] = __gtagTracker;
window['gtag'] = __gtagTracker;
})();
}
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/refreshingcleanwater.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.0.3"}};
/*! This file is auto-generated */
!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode,e=(p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0),i.toDataURL());return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([129777,127995,8205,129778,127999],[129777,127995,8203,129778,127999])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&&e.twemoji&&(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings);
https://refreshingcleanwater.com/wp-content/plugins/google-analytics-for-wordpress/assets/js/frontend-gtag.min.js
var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[]","home_url":"https:\/\/refreshingcleanwater.com","hash_tracking":"false","ua":"UA-109741386-1","v4_id":""};
https://refreshingcleanwater.com/wp-includes/js/jquery/jquery.min.js
https://refreshingcleanwater.com/wp-includes/js/jquery/jquery-migrate.min.js
https://refreshingcleanwater.com/wp-includes/js/imagesloaded.min.js
https://refreshingcleanwater.com/wp-includes/js/masonry.min.js
https://refreshingcleanwater.com/wp-includes/js/jquery/jquery.masonry.min.js
var tve_frontend_options = {"ajaxurl":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","is_editor_page":"","page_events":[],"is_single":"1","social_fb_app_id":"","dash_url":"https:\/\/refreshingcleanwater.com\/wp-content\/themes\/thrive-theme\/thrive-dashboard","queried_object":{"ID":549,"post_author":"1"},"query_vars":{"page":"","pagename":"the-truth-about-water"},"$_POST":[],"translations":{"Copy":"Copy","empty_username":"ERROR: The username field is empty.","empty_password":"ERROR: The password field is empty.","empty_login":"ERROR: Enter a username or email address.","min_chars":"At least %s characters are needed","no_headings":"No headings found","registration_err":{"required_field":"<strong>Error<\/strong>: This field is required","required_email":"<strong>Error<\/strong>: Please type your email address.","invalid_email":"<strong>Error<\/strong>: The email address isn’t correct.","passwordmismatch":"<strong>Error<\/strong>: Password mismatch"}},"routes":{"posts":"https:\/\/refreshingcleanwater.com\/wp-json\/tcb\/v1\/posts"},"nonce":"f91ce33e9f","allow_video_src":"","lead_generation_custom_tag_apis":["activecampaign","aweber","convertkit","drip","klicktipp","mailchimp","sendlane","zapier"],"post_request_data":[],"ip":"65.108.0.150","current_user":[],"post_id":"549","post_title":"The Truth About Water","post_type":"page","post_url":"https:\/\/refreshingcleanwater.com\/the-truth-about-water\/","is_lp":"","conditional_display":{"is_tooltip_dismissed":false}};
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/general.min.js
var thrive_front_localize = {"comments_form":{"error_defaults":{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}},"routes":{"posts":"https:\/\/refreshingcleanwater.com\/wp-json\/tcb\/v1\/posts","frontend":"https:\/\/refreshingcleanwater.com\/wp-json\/ttb\/v1\/frontend"},"tar_post_url":"?tve=true&action=architect&from_theme=1","is_editor":"","ID":"1074","template_url":"?tve=true&action=architect&from_tar=549","pagination_url":{"template":"https:\/\/refreshingcleanwater.com\/the-truth-about-water\/page\/[thrive_page_number]\/","base":"https:\/\/refreshingcleanwater.com\/the-truth-about-water\/"},"sidebar_visibility":[],"is_singular":"1","is_user_logged_in":""};
https://refreshingcleanwater.com/wp-content/themes/thrive-theme/inc/assets/dist/frontend.min.js
Mother Nature's water is long-gone from most communities. In its place is a toxic brew of chemicals that can cause premature aging, lowered IQ, cancer, and many other issues. But the filters commonly sold to 'handle' the problem are often ineffective or even harmful to health. The links below will take you on an educational tour that, I hope, will open your eyes and change your life forever. - Winston Kao, Founder, Ideal Earth Water.
Enjoy mountain-spring quality water in your home.
( $ => {
/**
* Displays toast message from storage, it is used when the user is redirected after login
*/
if ( window.sessionStorage ) {
$( window ).on( 'tcb_after_dom_ready', () => {
let message = sessionStorage.getItem( 'tcb_toast_message' );
if ( message ) {
tcbToast( sessionStorage.getItem( 'tcb_toast_message' ), false );
sessionStorage.removeItem( 'tcb_toast_message' );
}
} );
}
/**
* Displays toast message
*/
function tcbToast( message, error, callback ) {
/* Also allow "message" objects */
if ( typeof message !== 'string' ) {
message = message.message || message.error || message.success;
}
if ( ! error ) {
error = false;
}
TCB_Front.notificationElement.toggle( message, error ? 'error' : 'success', callback );
}
} )( typeof ThriveGlobal === 'undefined' ? jQuery : ThriveGlobal.$j );
window.TVE_Event_Manager_Registered_Callbacks = window.TVE_Event_Manager_Registered_Callbacks || {};window.TVE_Event_Manager_Registered_Callbacks.thrive_animation = function(trigger, action, config) {var $element = jQuery( this ),
$at = $element.closest( '.tcb-col, .thrv_wrapper' );
if ( $at.length === 0 ) {
$at = $element;
}
if ( ! config.loop && $at.data( 'a-done' ) ) {
return;
}
$at.data( 'a-done', 1 );
const hadAnimStart = $at.hasClass( 'tve_anim_start' );
$at.removeClass( function ( i, cls ) {
return cls.split( ' ' ).filter( function ( item ) {
return item.indexOf( 'tve_anim_' ) === 0;
} ).join( ' ' );
} ).addClass( 'tve_anim_' + config.anim ).removeClass( 'tve_anim_start' );
if ( config.loop ) {
setTimeout( function () {
$at.addClass( 'tve_anim_start' );
}, hadAnimStart ? 50 : 0 );
if ( trigger === 'mouseover' ) {
$element.one( 'mouseleave', function () {
$at.removeClass( 'tve_anim_start' );
} );
}
if ( trigger === 'tve-viewport' ) {
$element.one( 'tve-viewport-leave', function () {
/**
* double check for viewport
* animation in animation triggers weird behaviors
*/
if ( ! TCB_Front.isInViewport( $element ) ) {
$at.removeClass( 'tve_anim_start' );
}
} );
}
} else {
setTimeout( function () {
$at.addClass( 'tve_anim_start' );
}, 50 );
}
return false;
};
var dlmXHRtranslations = {"error":"An error occurred while trying to download the file. Please try again."};
const dlmXHR = {"xhr_links":{"class":["download-link","download-button"]},"prevent_duplicates":true,"ajaxUrl":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","nonce":"f20d7ce5c9"}; dlmXHRinstance = {}; const dlmXHRGlobalLinks = "https://refreshingcleanwater.com/download/"; dlmXHRgif = "https://refreshingcleanwater.com/wp-includes/images/spinner.gif"
https://refreshingcleanwater.com/wp-content/plugins/download-monitor/assets/js/dlm-xhr.min.js
var tve_dash_front = {"ajaxurl":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","force_ajax_send":"1","is_crawler":"","recaptcha":[],"post_id":"549"};
https://refreshingcleanwater.com/wp-content/themes/thrive-theme/thrive-dashboard/js/dist/frontend.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/search-form.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/divider.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/menu.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/social-share.min.js
var tcb_current_post_lists=JSON.parse('[]'); var tcb_post_lists=tcb_post_lists?[...tcb_post_lists,...tcb_current_post_lists]:tcb_current_post_lists;
if ( !window.TL_Const ) {var TL_Const={"security":"a8f2de2238","ajax_url":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","action_conversion":"tve_leads_ajax_conversion","action_impression":"tve_leads_ajax_impression","custom_post_data":{"http_referrer":"https:\/\/refreshingcleanwater.com\/"},"current_screen":{"screen_type":3,"screen_id":549},"ignored_fields":["email","_captcha_size","_captcha_theme","_captcha_type","_submit_option","_use_captcha","g-recaptcha-response","__tcb_lg_fc","__tcb_lg_msg","_state","_form_type","_error_message_option","_back_url","_submit_option","url","_asset_group","_asset_option","mailchimp_optin","tcb_token","tve_labels","tve_mapping","_api_custom_fields","_sendParams","_autofill"],"ajax_load":0};} else { window.TL_Front && TL_Front.extendConst && TL_Front.extendConst({"security":"a8f2de2238","ajax_url":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","action_conversion":"tve_leads_ajax_conversion","action_impression":"tve_leads_ajax_impression","custom_post_data":{"http_referrer":"https:\/\/refreshingcleanwater.com\/"},"current_screen":{"screen_type":3,"screen_id":549},"ignored_fields":["email","_captcha_size","_captcha_theme","_captcha_type","_submit_option","_use_captcha","g-recaptcha-response","__tcb_lg_fc","__tcb_lg_msg","_state","_form_type","_error_message_option","_back_url","_submit_option","url","_asset_group","_asset_option","mailchimp_optin","tcb_token","tve_labels","tve_mapping","_api_custom_fields","_sendParams","_autofill"],"ajax_load":0})}