var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/www.insurancebuiltforcontractors.com","hash_tracking":"false","v4_id":"G-Y95T7GYBBX"};
var breeze_prefetch = {"local_url":"https://www.insurancebuiltforcontractors.com","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
(function() {
// Global page view and session tracking for UAEL Modal Popup feature
try {
// Session tracking: increment if this is a new session
// Check if any popup on this page uses current page tracking
var hasCurrentPageTracking = false;
var currentPagePopups = [];
// Check all modal popups on this page for current page tracking
if (typeof jQuery !== 'undefined') {
jQuery('.uael-modal-parent-wrapper').each(function() {
var scope = jQuery(this).data('page-views-scope');
var enabled = jQuery(this).data('page-views-enabled');
var popupId = jQuery(this).attr('id').replace('-overlay', '');
if (enabled === 'yes' && scope === 'current') {
hasCurrentPageTracking = true;
currentPagePopups.push(popupId);
}
});
}
// Global tracking: ALWAYS increment if ANY popup on the site uses global tracking
// Current page tracking: increment per-page counters
if (hasCurrentPageTracking && currentPagePopups.length > 0) {
var currentUrl = window.location.href;
var urlKey = 'uael_page_views_' + btoa(currentUrl).replace(/[^a-zA-Z0-9]/g, '').substring(0, 50);
var currentPageViews = parseInt(localStorage.getItem(urlKey) || '0');
currentPageViews++;
localStorage.setItem(urlKey, currentPageViews.toString());
// Store URL mapping for each popup
for (var i = 0; i < currentPagePopups.length; i++) {
var popupUrlKey = 'uael_popup_' + currentPagePopups[i] + '_url_key';
localStorage.setItem(popupUrlKey, urlKey);
}
}
} catch (e) {
// Silently fail if localStorage is not available
}
})();
var uael_particles_script = {"uael_particles_url":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/min-js/uael-particles.min.js","particles_url":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/lib/particles/particles.min.js","snowflakes_image":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/snowflake.svg","gift":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/gift.png","tree":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/tree.png","skull":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/skull.png","ghost":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/ghost.png","moon":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/moon.png","bat":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/bat.png","pumpkin":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/pumpkin.png"};
//# sourceURL=elementor-frontend-js-extra
var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Share on Facebook","shareOnTwitter":"Share on Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Download image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Play Video","previous":"Previous","next":"Next","close":"Close","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}},"hasCustomBreakpoints":false},"version":"3.33.2","is_static":false,"experimentalFeatures":{"e_font_icon_svg":true,"additional_custom_breakpoints":true,"container":true,"theme_builder_v2":true,"nested-elements":true,"home_screen":true,"global_classes_should_enforce_capabilities":true,"e_variables":true,"cloud-library":true,"e_opt_in_v4_page":true,"import-export-customization":true,"e_pro_variables":true},"urls":{"assets":"https:\/\/www.insurancebuiltforcontractors.com\/wp-content\/plugins\/elementor\/assets\/","ajaxurl":"https:\/\/www.insurancebuiltforcontractors.com\/wp-admin\/admin-ajax.php","uploadUrl":"https:\/\/www.insurancebuiltforcontractors.com\/wp-content\/uploads"},"nonces":{"floatingButtonsClickTracking":"16c87e4324"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"global_image_lightbox":"yes","lightbox_enable_counter":"yes","lightbox_enable_fullscreen":"yes","lightbox_enable_zoom":"yes","lightbox_enable_share":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":2051,"title":"Work%20Truck%20Week%20%7C%20Leif%20Assurance","excerpt":"","featuredImage":false}};
//# sourceURL=elementor-frontend-js-before
window.scope_array = [];
window.backend = 0;
jQuery.cachedScript = function( url, options ) {
// Allow user to set any option except for dataType, cache, and url.
options = jQuery.extend( options || {}, {
dataType: "script",
cache: true,
url: url
});
// Return the jqXHR object so we can chain callbacks.
return jQuery.ajax( options );
};
jQuery( window ).on( "elementor/frontend/init", function() {
elementorFrontend.hooks.addAction( "frontend/element_ready/global", function( $scope, $ ){
if ( "undefined" == typeof $scope ) {
return;
}
if ( $scope.hasClass( "uael-particle-yes" ) ) {
window.scope_array.push( $scope );
$scope.find(".uael-particle-wrapper").addClass("js-is-enabled");
}else{
return;
}
if(elementorFrontend.isEditMode() && $scope.find(".uael-particle-wrapper").hasClass("js-is-enabled") && window.backend == 0 ){
var uael_url = uael_particles_script.uael_particles_url;
jQuery.cachedScript( uael_url );
window.backend = 1;
}else if(elementorFrontend.isEditMode()){
var uael_url = uael_particles_script.uael_particles_url;
jQuery.cachedScript( uael_url ).done(function(){
var flag = true;
});
}
});
});
// Added both `document` and `window` event listeners to address issues where some users faced problems with the `document` event not triggering as expected.
// Define cachedScript globally to avoid redefining it.
jQuery.cachedScript = function(url, options) {
options = jQuery.extend(options || {}, {
dataType: "script",
cache: true,
url: url
});
return jQuery.ajax(options); // Return the jqXHR object so we can chain callbacks
};
let uael_particle_loaded = false; //flag to prevent multiple script loads.
jQuery( document ).on( "ready elementor/popup/show", () => {
loadParticleScript();
});
jQuery( window ).one( "elementor/frontend/init", () => {
if (!uael_particle_loaded) {
loadParticleScript();
}
});
function loadParticleScript(){
// Use jQuery to check for the presence of the element
if (jQuery(".uael-particle-yes").length < 1) {
return;
}
uael_particle_loaded = true;
var uael_url = uael_particles_script.uael_particles_url;
// Call the cachedScript function
jQuery.cachedScript(uael_url);
}
//# sourceURL=elementor-frontend-js-after
var uael_script = {"ajax_url":"https://www.insurancebuiltforcontractors.com/wp-admin/admin-ajax.php"};
var uael_post_loader_script = {"post_loader":"https://www.insurancebuiltforcontractors.com/wp-content/plugins/ultimate-elementor/assets/img/post-loader.gif"};
var uael_login_form_script = {"ajax_url":"https://www.insurancebuiltforcontractors.com/wp-admin/admin-ajax.php","invalid_mail":"Enter valid Email!","invalid_phone":"Enter valid Phone Number!","error_phone":"Phone number should not contain spaces!","pass_unmatch":"The specified password do not match!","required":"This Field is required!","incorrect_password":"Error: The Password you have entered is incorrect.","invalid_username":"Unknown username. Check again or try your email address.","invalid_email":"Unknown email address. Check again or try your username.","logged_in_message":"Thanks for logging in, ","wp_version":"1"};
//# sourceURL=uael-frontend-script-js-extra