https://www.cision.com/etc.clientlibs/cision-revamp/clientlibs/clientlib-eventgate-validation.min.js
1(function(d){function n(){"undefined"!==typeof Granite&&Granite.$?(c=Granite.$,c(d).on("foundation-contentloaded",function(a){f(a.target)}),c(d).on("coral-overlay:open",function(a){setTimeout(function(){f(d)},200)}),c(d).on("coral-steplist:change",function(){setTimeout(function(){f(d)},300)}),c(d).on("change","[name\x3d'./hasStartDate'], [name\x3d'./recordingUrl']",function(){g();h();l()}),c(d).on("change","[name\x3d'./eventType']",function(){m()}),c(d).on("click",".cq-dialog-submit",function(a){if(!p())return a.preventDefault(), 2a.stopPropagation(),!1}),c(d).on("submit","form.foundation-form",function(a){if(!p())return a.preventDefault(),a.stopPropagation(),!1}),setTimeout(function(){f(d)},500)):setTimeout(n,100)}function f(a){var b=c(a);a=b.find("[name\x3d'./hasStartDate']");b=b.find("[name\x3d'./recordingUrl']");0===a.length&&(a=c("[name\x3d'./hasStartDate']"));0===b.length&&(b=c("[name\x3d'./recordingUrl']"));0!==a.length&&0!==b.length&&((a=a[0])&&"undefined"!==typeof Coral?Coral.commons.ready(a,function(){g();h();l(); 3m()}):setTimeout(function(){g();h();l();m()},300))}function q(){var a=c("[name\x3d'./eventType']");return 0<a.length&&"podcast"===a.val()}function k(){if(q())return!1;var a=c("[name\x3d'./hasStartDate']");if(0===a.length)return!1;var b=a[0];if(b&&void 0!==b.checked)return b.checked;a=a.val();return"true"===a||!0===a}function g(){var a=c("[name\x3d'./recordingUrl']");0!==a.length&&(k()?(a.removeAttr("aria-required"),a.removeAttr("required")):(a.attr("aria-required","true"),a.attr("required","true")))} 4function l(){var a=c("[name\x3d'./startDate']"),b=c("[name\x3d'./primaryTimezone']");k()?(0<a.length&&(a.attr("aria-required","true"),a.attr("required","true")),0<b.length&&(b.attr("aria-required","true"),b.attr("required","true"))):(0<a.length&&(a.removeAttr("aria-required"),a.removeAttr("required")),0<b.length&&(b.removeAttr("aria-required"),b.removeAttr("required")))}function m(){var a=c("[name\x3d'./eventType']"),b=c("[name\x3d'./hasStartDate']");if(0!==a.length&&0!==b.length){a=a.val();var e= 5b[0];"event"===a&&e&&!e.checked&&(e.checked=!0,b.trigger("change"));g();h()}}function h(){var a=c("[name\x3d'./recordingUrl']");if(0!==a.length){a=a.closest(".coral-Form-fieldwrapper");var b=a.find("label.coral-Form-fieldlabel");0===b.length&&(b=a.find("label"));0!==b.length&&(k()?(b.text("Ungated page URL (optional)"),b.find(".coral-Form-fieldlabel-required").remove()):b.html('Ungated page URL \x3cspan class\x3d"coral-Form-fieldlabel-required"\x3e*\x3c/span\x3e'))}}function p(){var a=c("[name\x3d'./hasStartDate']"), 6b=c("[name\x3d'./recordingUrl']");if(0===a.length||0===b.length)return!0;a=k();var e=b.val();if(!(a||e&&""!==e)){if(a=c(window).adaptTo("foundation-ui"))e=q()?"Ungated page URL is required for podcasts.":"Ungated page URL is required when Start Date is disabled. Please provide a URL or enable start date.",a.notify("Validation Error",e,"error");b.closest(".coral-Form-fieldwrapper").addClass("is-invalid");b.focus();return!1}if(a){b=c("[name\x3d'./startDate']");e=c("[name\x3d'./primaryTimezone']");a= 7b.val();var r=e.val();if(!a||""===a)return(a=c(window).adaptTo("foundation-ui"))&&a.notify("Validation Error","Event start date/time is required when Start Date is enabled.","error"),b.focus(),!1;if(!r||""===r)return(a=c(window).adaptTo("foundation-ui"))&&a.notify("Validation Error","Primary timezone is required when Start Date is enabled.","error"),e.focus(),!1}return!0}var c,t=window.location.href.includes("/content/cision/us"),u=d.querySelector('meta[name\x3d"project-name-revamp"]');!0!==t&&null== 8u||n()})(document);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.