(()=>{"use strict";const e=[400,500,600,700,800,900],t=e=>`wprm-min-${e}`,n=e=>`wprm-max-${e}`,s=new Set,o="ResizeObserver"in window,r=o?new ResizeObserver((e=>{for(const t of e)c(t.target)})):null,i=.5/(window.devicePixelRatio||1);function c(s){const o=s.getBoundingClientRect().width||0;for(let r=0;r<e.length;r++){const c=e[r],a=o<=c+i;o>c+i?s.classList.add(t(c)):s.classList.remove(t(c)),a?s.classList.add(n(c)):s.classList.remove(n(c))}}function a(e){s.has(e)||(s.add(e),r&&r.observe(e),c(e))}!function(e=document){e.querySelectorAll(".wprm-recipe").forEach(a)}();if(new MutationObserver((e=>{for(const t of e)for(const e of t.addedNodes)e instanceof Element&&(e.matches?.(".wprm-recipe")&&a(e),e.querySelectorAll?.(".wprm-recipe").forEach(a))})).observe(document.documentElement,{childList:!0,subtree:!0}),!o){let e=0;addEventListener("resize",(()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame((()=>s.forEach(c)))}),{passive:!0})}})();
//thefoodiediary.com/wp-includes/js/jquery/jquery.min.js
var breeze_prefetch = {"local_url":"https://thefoodiediary.com","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
//thefoodiediary.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
( ( dropdownId ) => {
const dropdown = document.getElementById( dropdownId );
function onSelectChange() {
setTimeout( () => {
if ( 'escape' === dropdown.dataset.lastkey ) {
return;
}
if ( dropdown.value && parseInt( dropdown.value ) > 0 && dropdown instanceof HTMLSelectElement ) {
dropdown.parentElement.submit();
}
}, 250 );
}
function onKeyUp( event ) {
if ( 'Escape' === event.key ) {
dropdown.dataset.lastkey = 'escape';
} else {
delete dropdown.dataset.lastkey;
}
}
function onClick() {
delete dropdown.dataset.lastkey;
}
dropdown.addEventListener( 'keyup', onKeyUp );
dropdown.addEventListener( 'click', onClick );
dropdown.addEventListener( 'change', onSelectChange );
})( "cat" );
//# sourceURL=WP_Widget_Categories%3A%3Awidget
( ( dropdownId ) => {
const dropdown = document.getElementById( dropdownId );
function onSelectChange() {
setTimeout( () => {
if ( 'escape' === dropdown.dataset.lastkey ) {
return;
}
if ( dropdown.value ) {
document.location.href = dropdown.value;
}
}, 250 );
}
function onKeyUp( event ) {
if ( 'Escape' === event.key ) {
dropdown.dataset.lastkey = 'escape';
} else {
delete dropdown.dataset.lastkey;
}
}
function onClick() {
delete dropdown.dataset.lastkey;
}
dropdown.addEventListener( 'keyup', onKeyUp );
dropdown.addEventListener( 'click', onClick );
dropdown.addEventListener( 'change', onSelectChange );
})( "archives-dropdown-3" );
//# sourceURL=WP_Widget_Archives%3A%3Awidget
( ( dropdownId ) => {
const dropdown = document.getElementById( dropdownId );
function onSelectChange() {
setTimeout( () => {
if ( 'escape' === dropdown.dataset.lastkey ) {
return;
}
if ( dropdown.value && parseInt( dropdown.value ) > 0 && dropdown instanceof HTMLSelectElement ) {
dropdown.parentElement.submit();
}
}, 250 );
}
function onKeyUp( event ) {
if ( 'Escape' === event.key ) {
dropdown.dataset.lastkey = 'escape';
} else {
delete dropdown.dataset.lastkey;
}
}
function onClick() {
delete dropdown.dataset.lastkey;
}
dropdown.addEventListener( 'keyup', onKeyUp );
dropdown.addEventListener( 'click', onClick );
dropdown.addEventListener( 'change', onSelectChange );
})( "categories-dropdown-5" );
//# sourceURL=WP_Widget_Categories%3A%3Awidget
jQuery(document).ready( function() { jQuery.post( "https://thefoodiediary.com/wp-admin/admin-ajax.php", { action : "entry_views", _ajax_nonce : "aaebaec678", post_id : 69 } ); } );
var wprm_public = {"user":"0","endpoints":{"analytics":"https://thefoodiediary.com/wp-json/wp-recipe-maker/v1/analytics","integrations":"https://thefoodiediary.com/wp-json/wp-recipe-maker/v1/integrations","manage":"https://thefoodiediary.com/wp-json/wp-recipe-maker/v1/manage","utilities":"https://thefoodiediary.com/wp-json/wp-recipe-maker/v1/utilities"},"settings":{"jump_output_hash":true,"features_comment_ratings":true,"template_color_comment_rating":"#343434","instruction_media_toggle_default":"on","video_force_ratio":false,"analytics_enabled":true,"google_analytics_enabled":true,"print_new_tab":true,"print_recipe_identifier":"slug"},"post_id":"69","home_url":"https://thefoodiediary.com/","print_slug":"wprm_print","permalinks":"/%postname%/","ajax_url":"https://thefoodiediary.com/wp-admin/admin-ajax.php","nonce":"a1d898d1a4","api_nonce":"da62cc6e87","translations":[],"version":{"free":"10.2.2"}};
//# sourceURL=wprm-public-js-extra
//thefoodiediary.com/wp-content/plugins/wp-recipe-maker/dist/public-modern.js
//thefoodiediary.com/wp-includes/js/comment-reply.min.js
//thefoodiediary.com/wp-content/themes/wpzoom-cookely/js/jquery.slicknav.min.js
//thefoodiediary.com/wp-content/themes/wpzoom-cookely/js/flickity.pkgd.min.js
//thefoodiediary.com/wp-content/themes/wpzoom-cookely/js/jquery.fitvids.js
//thefoodiediary.com/wp-content/themes/wpzoom-cookely/js/superfish.min.js
//thefoodiediary.com/wp-content/themes/wpzoom-cookely/js/tabs.js
var zoomOptions = {"index_infinite_load_txt":"Load More\u2026","index_infinite_loading_txt":"Loading\u2026"};
//# sourceURL=cookely-script-js-extra
//thefoodiediary.com/wp-content/themes/wpzoom-cookely/js/functions.js
//thefoodiediary.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
window.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll('img[loading="lazy"]').forEach((e=>{e.getBoundingClientRect().top<=window.innerHeight&&(e.loading="eager")}))}));