https://muddycreeksolar.com/wp-includes/js/jquery/jquery.min.js
https://muddycreeksolar.com/wp-includes/js/jquery/jquery-migrate.min.js
Here at Qcells, we’re excited about bringing our Muddy Creek solar project to fruition. The project will be the first in the Linn County to utilize solar grazing to create new revenue streams for farmers,… Read More »Solar grazing: What’s it all about?
const lazyloadRunObserver = () => {
const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` );
const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => {
entries.forEach( ( entry ) => {
if ( entry.isIntersecting ) {
let lazyloadBackground = entry.target;
if( lazyloadBackground ) {
lazyloadBackground.classList.add( 'e-lazyloaded' );
}
lazyloadBackgroundObserver.unobserve( entry.target );
}
});
}, { rootMargin: '200px 0px 200px 0px' } );
lazyloadBackgrounds.forEach( ( lazyloadBackground ) => {
lazyloadBackgroundObserver.observe( lazyloadBackground );
} );
};
const events = [
'DOMContentLoaded',
'elementor/lazyload/observe',
];
events.forEach( ( event ) => {
document.addEventListener( event, lazyloadRunObserver );
} );
var NeveProperties = {"ajaxurl":"https://muddycreeksolar.com/wp-admin/admin-ajax.php","nonce":"7adb3d6470","isRTL":"","isCustomize":""};
//# sourceURL=neve-script-js-extra
https://muddycreeksolar.com/wp-content/themes/neve/assets/js/build/modern/frontend.js
var html = document.documentElement;
var theme = html.getAttribute('data-neve-theme') || 'light';
var variants = {"logo":{"light":{"src":"https:\/\/muddycreeksolar.com\/wp-content\/uploads\/2023\/04\/cropped-Qcells_Wordmark_Logo_Navy_2022-04_Rev01.png","srcset":false,"sizes":"(max-width: 200px) 100vw, 200px"},"dark":{"src":"https:\/\/muddycreeksolar.com\/wp-content\/uploads\/2023\/04\/cropped-Qcells_Wordmark_Logo_Navy_2022-04_Rev01.png","srcset":false,"sizes":"(max-width: 200px) 100vw, 200px"},"same":true}};
function setCurrentTheme( theme ) {
var pictures = document.getElementsByClassName( 'neve-site-logo' );
for(var i = 0; i<pictures.length; i++) {
var picture = pictures.item(i);
if( ! picture ) {
continue;
};
var fileExt = picture.src.slice((Math.max(0, picture.src.lastIndexOf(".")) || Infinity) + 1);
if ( fileExt === 'svg' ) {
picture.removeAttribute('width');
picture.removeAttribute('height');
picture.style = 'width: var(--maxwidth)';
}
var compId = picture.getAttribute('data-variant');
if ( compId && variants[compId] ) {
var isConditional = variants[compId]['same'];
if ( theme === 'light' || isConditional || variants[compId]['dark']['src'] === false ) {
picture.src = variants[compId]['light']['src'];
picture.srcset = variants[compId]['light']['srcset'] || '';
picture.sizes = variants[compId]['light']['sizes'];
continue;
};
picture.src = variants[compId]['dark']['src'];
picture.srcset = variants[compId]['dark']['srcset'] || '';
picture.sizes = variants[compId]['dark']['sizes'];
};
};
};
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type == 'attributes') {
theme = html.getAttribute('data-neve-theme');
setCurrentTheme(theme);
};
});
});
observer.observe(html, {
attributes: true
});
function toggleAriaClick() { function toggleAriaExpanded(toggle = 'true') { document.querySelectorAll('button.navbar-toggle').forEach(function(el) { if ( el.classList.contains('caret-wrap') ) { return; } el.setAttribute('aria-expanded', 'true' === el.getAttribute('aria-expanded') ? 'false' : toggle); }); } toggleAriaExpanded(); if ( document.body.hasAttribute('data-ftrap-listener') ) { return; } document.body.setAttribute('data-ftrap-listener', 'true'); document.addEventListener('ftrap-end', function() { toggleAriaExpanded('false'); }); }
//# sourceURL=neve-script-js-after
https://muddycreeksolar.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
document.addEventListener("DOMContentLoaded", function () {
window.lazyLoadInstance = new LazyLoad({
elements_selector: ".br-lazy",
data_src: "breeze",
data_srcset: "brsrcset",
data_sizes: "brsizes",
class_loaded: "br-loaded",
threshold: 300,
});
});
//# sourceURL=breeze-lazy-js-after