PageSourceSearch

https://www.illinoissmac.com/etc.clientlibs/dmp/clientlibs/clientl…/o5-promo-image.17c0c6a1a848c3642f66.js

js illinoissmac.com collected 2026-10-05 06:40:58 UTC 10,702 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[2133],{49787(e,o,t){t.r(o),t.d(o,{default:()=>m});var n=t(77963),i=t(60861);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function r(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c(n.key),n)}}function d(e,o,t){return o=s(o),function(e,o){if(o&&("object"==a(o)||"function"==typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,l()?Reflect.construct(o,t||[],s(e).constructor):o.apply(e,t))}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}
1function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,o){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,o){return e.__proto__=o,e},u(e,o)}function c(e){var o=function(e,o){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,o||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(e)}(e,"string");return"symbol"==a(o)?o:o+""}const m=function(e){function o(e){var t,n,i,a;return function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,o),t=d(this,o,[e]),n=t,a="",(i=c(i="selectedOption"))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a,t.store={ui:{container:".o5-promo-image-app",desktopImg:".o5-promo-image__desktopBgImage",mobileImg:".o5-promo-image__mobileBgImage",imgAltText:".o5-promo-image__imgAltText",modelHeading:".o5-promo-image__headingText",modelBodyCopy:".o5-promo-image__bodyCopy",eyeBrow:".o5-promo-image__eyebrowText",eyeBrowHeading:".o5-promo-image__eyebrowHeading",eyeBrowBody:".o5-promo-image__eyebrowBody",eyeBrowContainer:".o5-promo-image__eyebrowContainer",closeBtn:".o5-promo-image__close",modelContainer:".o5-promo-image__modelContainer",buttonContainer:".o5-promo-image__buttonContainer",modelTextContainer:".o5-promo-image__modelTextContainer",infoGraph:".o5-promo-image__infoGraph",mainModelContainer:".o5-promo-image__mainModelContainer",videoId:"o5-promo-image__video-tour",videoOverlayButton:"o5-promo-image__overlay-button"},hasContent:!0},t.init(),t.setup(),t}return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),o&&u(e,o)}(o,e),t=o,n=[{key:"setup",value:function(){$(".show-model").on("click keypress",this.showInfoModel.bind(this)),$(".close-model").on("click keypress",this.hideInfoModel.bind(this)),$(".o5-promo-image__modelContainer").on("click",this.hidetextImgModel.bind(this)),$(".infoGraph").on("click keypress",this.hideInfoModel.bind(this)),$(".o5-promo-image-app .o5-promo-image__overlay-button").on("click",this.videoBtnClick.bind(this)),$(".o5-promo-image-app .o5-promo-image__overlay-button").on("keydown",this.keydownVideoBtnClick.bind(this)),$(".o5-promo-image__close").on("click",this.closeVideoModel.bind(this)),$(".o5-promo-image__close").on("keydown",this.keyboardVideoModal.bind(this)),$(".o5-promo-image__video-modal").on("click",this.hideVideoModal.bind(this)),$(".o5-promo-image__video-modal").on("keydown",this.closeModal.bind(this)),$(".model").on("keydown",function(e){27!==e.keyCode&&"Escape"!==e.key||($(".model").hide(),$(".model").attr("display","none"),$(".show-model").focus())}),$(document).on("ajaxSuccess",function(){$(document).find(".vjs-slider, .vjs-button").on("keydown",function(e){if(27==e.keyCode){var o=e.currentTarget,t=$(o).parents().eq(2).find(".video-js").attr("ID"),n=(0,i.l)(t),a=t.split("-"),r="videoPlayer__vid-";t&&t.includes("--")?r+="-"+a[2]:r+=a[1],$(globalThis.buttonSelected+'[data-modal-open="'+r+'"]').focus(),n&&n.pause(),$(document).find("#videoPlayer__"+t).hide(),$(".o5-promo-image__video-modal").removeClass("modal--active"),$(".o5-promo-image__video-modal").attr("aria-hidden","true"),document.documentElement.style.overflow="auto"}})}),document.querySelectorAll("#o5-promo-image-data-id").forEach(function(e){var o=e,t={videolink:"",videoId:o.dataset.videoId,videoURL:o.dataset.videoUrl,imgURL:o.dataset.imgURL,videoTitle:o.dataset.videoTitle,videoAltText:o.dataset.videoAltText,videoClosedCaption:o.dataset.videoClosedCaption};(0,i.E)(t)}),document.addEventListener("keydown",function(e){if("Escape"===e.key){var o=document.querySelector(".o5-promo-image__video-modal.modal--active");if(o){var t=o.querySelector(".o5-promo-image__close");t&&t.click()}}},!0)}},{key:"showInfoModel",value:function(e){var o=e.currentTarget.closest(this.store.ui.mainModelContainer);$(o).find(this.store.ui.modelContainer).show(),$(o).find(this.store.ui.modelContainer).addClass("image-model"),$(o).find(this.store.ui.modelContainer).attr("display","block");var t=$(o).find(this.store.ui.modelContainer);
1t.find(".close-model span").focus();var n=t.find(".o5-promo-image__modelTextContainer"),i=n.find(".o5-promo-image__bodyCopy"),a=(t.height()-n.outerHeight())/2;n.css("top",a+"px"),t.on("keydown",function(e){null!==i.find("a").length&&i.find("a").attr("tabindex","0");var o=t.find('[tabindex="0"]'),n=o[0],a=o[o.length-1];e.shiftKey&&9==e.keyCode&&document.activeElement==n&&($(a).focus(),e.preventDefault()),!0!==e.shiftKey&&9==e.keyCode&&document.activeElement==a&&($(n).focus(),e.preventDefault())})}},{key:"hideInfoModel",value:function(e){var o=e.currentTarget.closest(this.store.ui.mainModelContainer);$(o).find(this.store.ui.modelContainer).hide(),$(o).find(this.store.ui.modelContainer).attr("display","none"),$(o).find(this.store.ui.buttonContainer).focus()}},{key:"hidetextImgModel",value:function(e){$(e.target).hasClass("image-model")&&this.hideInfoModel(e)}},{key:"keydownVideoBtnClick",value:function(e){13!==e.keyCode&&32!==e.keyCode||this.videoBtnClick(e)}},{key:"videoBtnClick",value:function(e){var o;e.preventDefault();var t=e.currentTarget;t.classList.contains("o5-promo-image__overlay-button")&&(globalThis.buttonSelected=".o5-promo-image__overlay-button");var n=$(t).parents().eq(2).find(".video-js").attr("ID"),a=$(t).parents().eq(2).find(".modal").attr("ID"),r=$("#"+n),d=(0,i.l)(n);$("#"+a).find(".modal__end-overlay").css("display","none"),$(r).find(".modal__end-overlay").css("display","none"),d&&(null===(o=d.play())||void 0===o||o.catch(function(){})),this.setVideoJsQaHandles(d),$(document).find("#videoPlayer__"+n).show(),$("#"+a).focus(),$(".o5-promo-image__close").off("keydown.promo"),$(".endbtn").off("keydown.promo"),d.on("ended",function(){$("#"+a).find(".modal__end-overlay").css("display","flex"),$(r).find(".modal__end-overlay").css("display","flex"),$(".endbtn").focus(),$(".endbtn").length&&($(".o5-promo-image__close").on("keydown.promo",function(e){"Tab"==e.key&&($(".endbtn").focus(),e.preventDefault(),e.stopPropagation())}),$(".endbtn").on("keydown.promo",function(e){e.shiftKey&&"Tab"==e.key&&($(".o5-promo-image__close").focus(),e.preventDefault(),e.stopPropagation())}))}),d.on("fullscreenchange",function(){this.isFullscreen()&&$("#"+a).find(".modal__end-overlay").appendTo(r)}),this.openModal(a)}},{key:"closeVideoModel",value:function(e){e.preventDefault();var o=e.currentTarget,t=$(o).parents().eq(3).find(".video-js").attr("ID"),n=(0,i.l)(t),a=t.split("-"),r="videoPlayer__vid-";t&&t.includes("--")?r+="-"+a[2]:r+=a[1],$(globalThis.buttonSelected+'[data-modal-open="'+r+'"]').focus(),n&&n.pause(),$(o).closest("#videoPlayer__"+t).hide(),$(".o5-promo-image__video-modal").removeClass("modal--active"),document.documentElement.style.overflow="auto"}},{key:"keyboardVideoModal",value:function(e){var o=e.currentTarget,t=$(o).parents().eq(3).find(".video-js").attr("ID"),n=t.split("-"),a="videoPlayer__vid-";if(t&&t.includes("--")?a+="-"+n[2]:a+=n[1],"Enter"===e.key||"Escape"===e.key||" "===e.key){e.preventDefault(),e.stopPropagation();var r=(0,i.l)(t);r&&r.pause(),$(document).find("#videoPlayer__"+t).hide(),$(document).find(globalThis.buttonSelected+'[data-modal-open="'+a+'"]').focus(),$(".o5-promo-image__video-modal").removeClass("modal--active"),document.documentElement.style.overflow="auto"}}},{key:"setVideoJsQaHandles",value:function(e){e.ready(function(){var o=e.el();[{selector:"button.vjs-big-play-button",handle:"button.vjs-big-play-button"},{selector:".vjs-progress-control",handle:".vjs-progress-control"},{selector:".vjs-remaining-time-display",handle:"vjs-remaining-time-display"}].forEach(function(e){var t,n=e.selector,i=e.handle;null===(t=o.querySelector(n))||void 0===t||t.setAttribute("qa_handles",i)}),e.on("resolutionsready",function(){var e;null===(e=o.querySelector("button.vjs-resolution-button"))||void 0===e||e.setAttribute("qa_handles","button.vjs-resolution-button")});var t=new MutationObserver(function(){var e=o.querySelector(".vjs-subs-caps-button .vjs-menu-content");e&&(e.setAttribute("qa_handles",".vjs-subs-caps-button .vjs-menu-content"),t.disconnect())});t.observe(o,{childList:!0,subtree:!0})})}},{key:"hideVideoModal",value:function(e){$(e.target).hasClass("modal")&&this.closeVideoModel(e)}},{key:"closeModal",value:function(e){27==e.keyCode&&(this.closeVideoModel(e),$(".o5-promo-image__video-modal").hide().attr("aria-hidden","true"),document.documentElement.style.overflow="auto")}},{key:"openModal",value:function(e){var o=document.getElementById(e),t=$("#"+e),n=o.querySelectorAll('a[href], area[href], input
1:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]');if(t.find(".vjs-controls-enabled").removeClass("vjs-controls-disabled"),t.length>0){var i=n[1],a=n[n.length-1];t.on("keydown",function(e){e.shiftKey&&9==e.keyCode&&document.activeElement==i&&($(a).focus(),e.preventDefault()),!0!==e.shiftKey&&9==e.keyCode&&document.activeElement==a&&t.focus()}),t.addClass("modal--active").attr("aria-hidden","false"),document.documentElement.style.overflow="hidden",$(a).focus()}}}],n&&r(t.prototype,n),a&&r(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,a}(n.o6)}}]);

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.