var exclude_blocks=parseInt(jb_blocks_options.exclude_blocks);jQuery(window).on("load",function(o){new MutationObserver(function(o){o.forEach(function(o){jQuery(0<"#widgets-editor".length)&&-1<navigator.userAgent.toLowerCase().indexOf("firefox")&&jQuery("input.id_base").each(function(){var o;"jb_recent_jobs"===jQuery(this).val()&&"hidden"===(o=jQuery(this).closest(".wp-block-legacy-widget__edit-form")).attr("hidden")&&o.find("select").each(function(){jQuery(this).change()})})})}).observe(document,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}),1===exclude_blocks?null!==wp.data.dispatch("core/edit-post")&&(wp.data.dispatch("core/edit-post").removeEditorPanel("taxonomy-panel-jb-job-category"),wp.data.dispatch("core/edit-post").removeEditorPanel("taxonomy-panel-jb-job-type"),wp.data.dispatch("core/edit-post").hideBlockTypes("jb-block/jb-job-post"),wp.data.dispatch("core/edit-post").hideBlockTypes("jb-block/jb-jobs-dashboard"),wp.data.dispatch("core/edit-post").hideBlockTypes("jb-block/jb-job"),wp.data.dispatch("core/edit-post").hideBlockTypes("jb-block/jb-jobs-categories-list"),wp.data.dispatch("core/edit-post").hideBlockTypes("jb-block/jb-jobs-list"),wp.data.dispatch("core/edit-post").hideBlockTypes("jb-block/jb-recent-jobs")):0===exclude_blocks&&null!==wp.data.dispatch("core/edit-post")&&(wp.data.dispatch("core/edit-post").showBlockTypes("jb-block/jb-job-post"),wp.data.dispatch("core/edit-post").showBlockTypes("jb-block/jb-jobs-dashboard"),wp.data.dispatch("core/edit-post").showBlockTypes("jb-block/jb-job"),wp.data.dispatch("core/edit-post").showBlockTypes("jb-block/jb-jobs-categories-list"),wp.data.dispatch("core/edit-post").showBlockTypes("jb-block/jb-jobs-list"),wp.data.dispatch("core/edit-post").showBlockTypes("jb-block/jb-recent-jobs"));