jQuery(document).ready(function(e){e('input[name="structure"]').on("change.page-generator-pro",function(){e(this).val().includes("service")?e(".services").show():e(".services").hide()}),e('input[name="method"]').on("change.page-generator-pro",function(){const r=e('input[name="method"]:checked').val();if(void 0===r)e("div.radius").hide(),e("div.area").hide();else switch(r){case"radius":e("div.radius").show(),e("div.area").hide();break;case"area":e("div.radius").hide(),e("div.area").show()}}),e('input[name="method"]').trigger("change.page-generator-pro"),e('body.page-generator-pro select[name="country_code"]').on("change.page-generator-pro",function(){page_generator_pro_destroy_selectize(),page_generator_pro_reinit_selectize()}),e('body.page-generator-pro select[name="country_code"]').trigger("change.page-generator-pro"),e("form").on("submit",function(){wpzinc_modal_open(page_generator_pro_groups_directory.building_title,page_generator_pro_groups_directory.building_message)})});