!function($){"use strict";$("#popup_no_date_limit").on("change",(function(){const t=$("#popup_start_at"),o=$("#popup_end_at");$(this).is(":checked")?("1970-01-01 00:00:00"==t.val()&&t.val(""),"3015-01-01 00:00:00"==o.val()&&o.val(""),$("#popup_start_at").closest(".themify_field_row").show(),$("#popup_end_at").closest(".themify_field_row").show()):(t.val("1970-01-01 00:00:00").closest(".themify_field_row").hide(),o.val("3015-01-01 00:00:00").closest(".themify_field_row").hide())})).change(),$("#popup_auto_close").on("change",(function(){const t=$("#popup_auto_close_delay").closest(".themify_field_row");$(this).is(":checked")?t.show():t.hide()})).change(),$("#popup_limit_count").on("change",(function(){const t=$("#popup_cookie_expiration").closest(".themify_field_row");""!==$(this).val()?t.show():t.hide()})).change(),$("#popup_auto_height").on("change",(function(){const t=$(this).parent().nextAll();$(this).is(":checked")?t.hide():t.show()})).change()}(jQuery);