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 )
}
}
}
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/refreshingcleanwater.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.5.5"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
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":1466,"post_author":"1"},"query_vars":{"page":"","pagename":"ebooks"},"$_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","video_reporting":"https:\/\/refreshingcleanwater.com\/wp-json\/tcb\/v1\/video-reporting"},"nonce":"6c5e93fe40","allow_video_src":"","google_client_id":null,"google_api_key":null,"facebook_app_id":null,"lead_generation_custom_tag_apis":["activecampaign","aweber","convertkit","drip","klicktipp","mailchimp","sendlane","zapier"],"post_request_data":[],"user_profile_nonce":"8c6e703ff8","ip":"175.22.90.36","current_user":[],"post_id":"1466","post_title":"Ebooks","post_type":"page","post_url":"https:\/\/refreshingcleanwater.com\/ebooks\/","is_lp":"tcb2-shapeshift-blank-page","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=1466","pagination_url":{"template":"https:\/\/refreshingcleanwater.com\/ebooks\/page\/[thrive_page_number]\/","base":"https:\/\/refreshingcleanwater.com\/ebooks\/"},"sidebar_visibility":[],"is_singular":"1","is_user_logged_in":""};
https://refreshingcleanwater.com/wp-content/themes/thrive-theme/inc/assets/dist/frontend.min.js
How Safe is My Drinking Water? FREE Ebook
( $ => {
/**
* Displays toast message from storage, it is used when the user is redirected after login
*/
if ( window.sessionStorage ) {
$( window ).on( 'tcb_after_dom_ready', () => {
const message = sessionStorage.getItem( 'tcb_toast_message' );
if ( message ) {
tcbToast( sessionStorage.getItem( 'tcb_toast_message' ), false );
sessionStorage.removeItem( 'tcb_toast_message' );
}
} );
}
/**
* Displays toast message
*
* @param {string} message - message to display
* @param {Boolean} error - whether the message is an error or not
* @param {Function} callback - callback function to be called after the message is closed
*/
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 );
https://refreshingcleanwater.com/wp-includes/js/dist/vendor/wp-polyfill-inert.min.js
https://refreshingcleanwater.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js
https://refreshingcleanwater.com/wp-includes/js/dist/vendor/wp-polyfill.min.js
https://refreshingcleanwater.com/wp-includes/js/dist/hooks.min.js
https://refreshingcleanwater.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
var prestoComponents = {"url":"https:\/\/refreshingcleanwater.com\/wp-content\/plugins\/presto-player\/dist\/components\/web-components\/web-components.esm.js?ver=1720628613"};
var prestoPlayer = {"plugin_url":"https:\/\/refreshingcleanwater.com\/wp-content\/plugins\/presto-player\/","logged_in":"","root":"https:\/\/refreshingcleanwater.com\/wp-json\/","nonce":"6c5e93fe40","ajaxurl":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","isAdmin":"","isSetup":{"bunny":{"storage":false,"stream":true}},"proVersion":"1.2.1","isPremium":"1","wpVersionString":"wp\/v2\/","prestoVersionString":"presto-player\/v1\/","debug":"","debug_navigator":"","i18n":{"skip":"Skip","rewatch":"Rewatch","emailPlaceholder":"Email address","emailDefaultHeadline":"Enter your email to play this episode.","chapters":"Chapters","show_chapters":"Show Chapters","hide_chapters":"Hide Chapters","restart":"Restart","rewind":"Rewind {seektime}s","play":"Play","pause":"Pause","fastForward":"Forward {seektime}s","seek":"Seek","seekLabel":"{currentTime} of {duration}","played":"Played","buffered":"Buffered","currentTime":"Current time","duration":"Duration","volume":"Volume","mute":"Mute","unmute":"Unmute","enableCaptions":"Enable captions","disableCaptions":"Disable captions","download":"Download","enterFullscreen":"Enter fullscreen","exitFullscreen":"Exit fullscreen","frameTitle":"Player for {title}","captions":"Captions","settings":"Settings","pip":"PIP","menuBack":"Go back to previous menu","speed":"Speed","normal":"Normal","quality":"Quality","loop":"Loop","start":"Start","end":"End","all":"All","reset":"Reset","disabled":"Disabled","enabled":"Enabled","advertisement":"Ad","qualityBadge":{"2160":"4K","1440":"HD","1080":"HD","720":"HD","576":"SD","480":"SD"},"auto":"AUTO","upNext":"Up Next","startOver":"Start Over"},"hls_start_level":"480"};
var prestoComponents = {"url":"https:\/\/refreshingcleanwater.com\/wp-content\/plugins\/presto-player\/dist\/components\/web-components\/web-components.esm.js?ver=1720628613"};
var prestoPlayer = {"plugin_url":"https:\/\/refreshingcleanwater.com\/wp-content\/plugins\/presto-player\/","logged_in":"","root":"https:\/\/refreshingcleanwater.com\/wp-json\/","nonce":"6c5e93fe40","ajaxurl":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php","isAdmin":"","isSetup":{"bunny":{"storage":false,"stream":true}},"proVersion":"1.2.1","isPremium":"1","wpVersionString":"wp\/v2\/","prestoVersionString":"presto-player\/v1\/","debug":"","debug_navigator":"","i18n":{"skip":"Skip","rewatch":"Rewatch","emailPlaceholder":"Email address","emailDefaultHeadline":"Enter your email to play this episode.","chapters":"Chapters","show_chapters":"Show Chapters","hide_chapters":"Hide Chapters","restart":"Restart","rewind":"Rewind {seektime}s","play":"Play","pause":"Pause","fastForward":"Forward {seektime}s","seek":"Seek","seekLabel":"{currentTime} of {duration}","played":"Played","buffered":"Buffered","currentTime":"Current time","duration":"Duration","volume":"Volume","mute":"Mute","unmute":"Unmute","enableCaptions":"Enable captions","disableCaptions":"Disable captions","download":"Download","enterFullscreen":"Enter fullscreen","exitFullscreen":"Exit fullscreen","frameTitle":"Player for {title}","captions":"Captions","settings":"Settings","pip":"PIP","menuBack":"Go back to previous menu","speed":"Speed","normal":"Normal","quality":"Quality","loop":"Loop","start":"Start","end":"End","all":"All","reset":"Reset","disabled":"Disabled","enabled":"Enabled","advertisement":"Ad","qualityBadge":{"2160":"4K","1440":"HD","1080":"HD","720":"HD","576":"SD","480":"SD"},"auto":"AUTO","upNext":"Up Next","startOver":"Start Over"},"hls_start_level":"480"};
var dlmXHRtranslations = {"error":"An error occurred while trying to download the file. Please try again.","not_found":"Download does not exist.","no_file_path":"No file path defined.","no_file_paths":"No file paths defined.","filetype":"Download is not allowed for this file type.","file_access_denied":"Access denied to this file.","access_denied":"Access denied. You do not have permission to download this file.","security_error":"Something is wrong with the file path.","file_not_found":"File not found."};
const dlmXHR = {"xhr_links":{"class":["download-link","download-button"]},"prevent_duplicates":true,"ajaxUrl":"https:\/\/refreshingcleanwater.com\/wp-admin\/admin-ajax.php"}; dlmXHRinstance = {}; const dlmXHRGlobalLinks = "https://refreshingcleanwater.com/download/"; const dlmNonXHRGlobalLinks = []; dlmXHRgif = "https://refreshingcleanwater.com/wp-includes/images/spinner.gif"; const dlmXHRProgress = "1"
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":"1466"};
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/menu.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/lead-generation.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/social-share.min.js
https://refreshingcleanwater.com/wp-content/plugins/thrive-visual-editor/editor/js/dist/modules/dropdown.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":"d0d2acf717","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":[],"current_screen":{"screen_type":3,"screen_id":1466},"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":"d0d2acf717","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":[],"current_screen":{"screen_type":3,"screen_id":1466},"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})}