!function(e,i){var t;t={queriedPost:null},"undefined"!=typeof _iCustomizePreviewedQueriedObject&&(t.queriedPost=_iCustomizePreviewedQueriedObject),i.bind("preview-ready",function(){i.preview.bind("active",function(){i.preview.send("queried-post",t.queriedPost)})}),/\/customize\.php$/.test(window.location.pathname)&&wp.customize.bind("preview-ready",function(){var i=e("body");i.off("click.preview"),i.on("click.preview","a[href]",function(i){var t=e(this);/^(#|javascript:)/.test(t.attr("href"))||(i.preventDefault(),wp.customize.preview.send("scroll",0),wp.customize.preview.send("url",t.prop("href")))})})}(jQuery,wp.customize);
