!function(){"use strict";var s,e,n;s=jQuery("#learndash-lesson-display-content-settings_lesson_video_url,\n      #learndash-topic-display-content-settings_lesson_video_url"),e=jQuery("#learndash-lesson-display-content-settings_lesson_video_url_field,\n      #learndash-lesson-display-content-settings_lesson_video_focus_pause_field,\n      #learndash-lesson-display-content-settings_lesson_video_auto_start_field,\n      #learndash-lesson-display-content-settings_lesson_video_show_controls_field,\n      #learndash-lesson-display-content-settings_lesson_video_track_time_field,\n\n      #learndash-topic-display-content-settings_lesson_video_url_field,\n      #learndash-topic-display-content-settings_lesson_video_focus_pause_field,\n      #learndash-topic-display-content-settings_lesson_video_auto_start_field,\n      #learndash-topic-display-content-settings_lesson_video_show_controls_field,\n      #learndash-topic-display-content-settings_lesson_video_track_time_field"),n=jQuery("#learndash-lesson-display-content-settings_lesson_use_presto_video,\n      #learndash-topic-display-content-settings_lesson_use_presto_video"),s.val().includes("(presto")&&(e.hide(),n.prop("checked",!0)),n.on("change",(function(){n.prop("checked")?(s.val("(presto)"),e.hide()):(e.show(),s.val().includes("(presto")&&s.val(""))}))}();