1"use strict";var timeoutId,$=jQuery;function hideLink(){$("a").on("click",function(t){t.preventDefault(),$(this).remove()})}function slickInit(){$(".AlternatingContent__gallery").slick({infinite:!1,dots:!0}),$(".Reviews__wrap").length&&$(".Reviews__wrap").each(function(){var t=$(this).find(".Reviews__card"),e=$(this).parents(".yblock").find(".slick-arrow-prev"),a=$(this).parents(".yblock").find(".slick-arrow-next");1<t.length&&$(this).slick({infinite:!0,arrows:!0,dots:!1,centerMode:!1,slidesToShow:1,slidesToScroll:1,swipeToSlide:!0,fade:!0,speed:500,cssEase:"linear",nextArrow:a,prevArrow:e})}),$(".hero__slider").length&&$(".hero__slider .container").each(function(){var t=$(this).find(".hero__media--image"),e=$(this).parents(".hero__slider").find(".slide-controls__prev"),a=$(this).parents(".hero__slider").find(".slide-controls__next");1<t.length&&($(this).slick({infinite:!1,arrows:!0,dots:!1,centerMode:!1,slidesToShow:1,slidesToScroll:1,swipeToSlide:!0,nextArrow:a,prevArrow:e}),$(this).on("beforeChange",function(t,e,a,o){var i=$(this);i.parents(".hero__slider").find('.hero__content-wrap[data-status="is-active"]').attr("data-status",""),i.parents(".hero__slider").find(".hero__content-wrap").eq(o).attr("data-status","is-active"),i.parents(".hero__slider").find('.slide-caption[data-status="is-active"]').attr("data-status",""),i.parents(".hero__slider").find(".slide-caption").eq(o).attr("data-status","is-active")}))})}function alertClose(){$(".site-alert .alert-close").length&&$("body").on("click",".site-alert .alert-close",function(){Cookies.set("alert-bar","hidden",{expires:7}),$(".site-alert").slideUp()})}function ydopMobileNav_Open(){$("body").on("click","#mobile-menu-open",function(){$(".ydop-mobile-nav").attr("data-status","is-active"),$("html").attr("data-mobile-menu","is-active")})}function ydopMobileNav_Close(){$("body").on("click",".ydop-mobile-nav__bg, .ydop-mobile-nav__close-btn",function(){$(".ydop-mobile-nav").attr("data-status",""),$("html").attr("data-mobile-menu","")}),$(".ydop-mobile-nav__slide").attr("data-status","")}function ydopMobileNav_BuildMenu(){var t=$(".footer-logo").clone(),e=$("#menu-main-menu").clone(),a=$(".middle-footer__info").clone(),o=$("footer .footer__info-phone").text(),o=$('<a href="tel:'+o+'" class="cta--white cta">Call Us</a>'),q=$('<a href="/?s=" class="mobile-search-menu-link"><i class="icon-search"></i> Search</a>'),i=$('<a href="/contact/" class="cta">Contact</a>'),n=$(".bottom-footer").clone(),s=($(".ydop-mobile-nav__header").append(t),$(".ydop-mobile-nav__home .ydop-mobile-nav__footer").before(e),$(".ydop-mobile-nav__footer").append(q),$(".ydop-mobile-nav__footer").append(i),$(".ydop-mobile-nav__footer").append(o),$(".ydop-mobile-nav__footer").append(a),$(".ydop-mobile-nav__footer .middle-footer__info").append(n),5);$(".ydop-mobile-nav__slide li.menu-item-has-children").each(function(){var t=$(this),e=t.attr("id"),a=t.clone(),a='<div class="ydop-mobile-nav__slide ydop-mobile-nav__child-links" data-id="'+e+'" style="z-index: '+s+';">'+a.html()+"</div>";t.parents(".ydop-mobile-nav__wrapper").find(".ydop-mobile-nav__home").after(a),s++,t.append('<button class="child-slide-btn__open" data-id="'+e+'"></button>'),t.hasClass("split-list")&&(a=t.find("> .sub-menu").addClass("sub-menu-split-links").removeClass("sub-menu").clone(),$('.ydop-mobile-nav__slide[data-id="'+e+'"]').next().find("> .sub-menu").before(a),$('.ydop-mobile-nav__slide[data-id="'+e+'"]').next().find("> .sub-menu > li.split-list").remove())}),$(".ydop-mobile-nav__slide:not(.ydop-mobile-nav__home) li.menu-item-has-children").each(function(){var t=$(this),e=t.attr("id");t.append('<button class="child-slide-btn__open" data-id="'+e+'"></button>')}),$(".ydop-mobile-nav__home .sub-menu, .ydop-mobile-nav__slide .sub-menu .sub-menu").remove(),$(".ydop-mobile-nav__slide:not(.ydop-mobile-nav__home) > a, .ydop-mobile-nav__slide:not(.ydop-mobile-nav__home) > span").before('<button class="child-slide-btn__close"></button>'),$(".ydop-mobile-nav__slide:not(.ydop-mobile-nav__home)").each(function(){$(this).find(".child-slide-btn__close, .child-slide-btn__close + a, .child-slide-btn__close, .child-slide-btn__close + span").wrapAll('<div class="child-links__header"></div>')})}function ydopMobileNav_childSlide__open(){$("body").on("click",".child-slide-btn__open",function(){var t=$(this).attr("data-id");$(".ydop-mobile-nav__slide").attr("data-current",""),$('.ydop-mobile-nav__slide[data-id="'+t+'"').attr("data-status","is-active").attr("data-current","is-current")})}function ydopMobileNav_childSlide__close(){$("body").on("click",".child-slide-btn__close",function(){$(this).parents(".ydop-mobile-nav__slide").attr("data-status","")})}function footer_hide_show(){$("body").on("click",".mobile-footer-nav-hide-show",function(){var t=$(this),e=t.parents("li");"is-active"==e.attr("data-status")?(e.attr("data-status",""),t.parent().next().slideUp()):(e.attr("data-status","is-active"),t.parent().next().slideDown())})}function clickPOP(){$(document).on("click",function(t){var e=t.pageX,t=t.pageY;console.log(e,t),$("body").append('<div class="clickPOP" data-ID="'+t+e+'" style="top: '+t+"px; left: "+e+'px;"></div>'),setTimeout(function(){},500)})}function degreesPopUp(){$(".CardsDegrees").length&&($("body").on("click",".CardsDegrees__card",function(){var e,a,t,o,i,n=$(this);"is-active"!==n.attr("data-status")?(e=n.find(".card__content").clone(),$(".CardsDegrees__card").attr("data-status",""),n.siblings(".card__content").remove(),n.attr("data-status","is-active"),a=n.position(),t=n.height(),t=Math.ceil(a.top+t),o=n.parent(".CardsDegrees__wrap").outerHeight(),i=n.parent(".CardsDegrees__wrap").position(),i=Math.ceil(i.top+o-34),console.log(t,i),t==i?(n.parent().append(e),$(".CardsDegrees__wrap > .card__content").slideDown().attr("data-status","is-active")):n.nextAll().each(function(){var t=$(this);if(t.position().top>a.top)return t.before(e),$(".CardsDegrees__wrap > .card__content").slideDown().attr("data-status","is-active"),!1}),$("html, body").animate({scrollTop:n.offset().top-50},500)):(n.attr("data-status",""),$(".CardsDegrees__wrap > .card__content").remove())}),$("body").on("click",".card__close",function(){$(this);$(".CardsDegrees__card").attr("data-status",""),$(".CardsDegrees__wrap > .card__content").remove()}))}function FAQs(){$("body").on("click",".FAQ__title",function(){var t=$(this);"is-active"==t.parent().attr("data-status")?(t.parent().attr("data-status",""),t.next().slideUp()):(t.parent().attr("data-status","is-active"),t.next().slideDown())})}function Tabs(){$("body").on("click",".Tabs__tab-name",function(){var t=$(this),e=t.attr("id");"is-active"!=t.attr("data-status")&&(t.parents(".Tabs").find(".Tabs__tab-name").attr("data-status",""),t.attr("data-status","is-active"),t.parents(".Tabs").find(".Tabs__tab-content").attr("data-status",""),t.parents(".Tabs").find('[data-tab="'+e+'"]').attr("data-status","is-active"))})}function Syllabi(){$("body").on("change",".select-tabs",function(){var t=$(this),e=t.val();t.parents(".yblock").find(".card").attr("data-status",""),t.parents(".yblock").find('[data-tab="'+e+'"]').attr("data-status","is-active")})}function pageScrollStatus(){$(document).height(),$(window).height();$("body").prepend('<div class="scrollStatus"><div class="scrollStatus__bar"></div></div>'),$("section.yblock:not(.hero)").each(function(){var t=$(this),e=(t.offset().top,t.attr("class"));e=(e=e.replace("yblock ","")).replace("-"," ");
1e=(e=(e=t.find("h2:first-of-type").text())||t.find("h3:first-of-type").text())||t.find("h4:first-of-type").text(),t.attr("id")})}function pageScrollStatusUpdate(){var t=$(document).height(),e=$(window).height(),a=$(".scrollStatus .scrollStatus__bar"),o=$("html").scrollTop(),i=(e+o)/t*100;0<o?(a.css("width",i+"%"),$(".scrollStatus").fadeIn()):(a.css("width","0"),$(".scrollStatus").fadeOut()),$(".scrollStatus__section").each(function(){var t=$(this),e=t.attr("data-pos");e-1<=i&&i<=e+1?t.addClass("pulse"):t.removeClass("pulse")})}function ScrollStatusJumpTo(){$("body").on("click",".scrollStatus__section",function(){var t=$(this).attr("data-id");$("html, body").animate({scrollTop:$("#"+t).offset().top-50},500)})}function customInView(){var e=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting?t.target.classList.add("is-inview"):t.target.classList.remove("is-inview")})},{threshold:[0,.5,1],rootMargin:"0px 0px -100px 0px"});document.querySelectorAll(".yblock").forEach(function(t){e.observe(t)})}function YTPlayer(){$("#bgndVideo").YTPlayer()}function StartHere(){$("body").on("click",".hero__start-here",function(){var t=$(this).parents(".hero").next();$("html, body").animate({scrollTop:$(t).offset().top-100},500)})}function FAQJumpTo(){var t=location.hash;t&&($("html, body").animate({scrollTop:$(t).offset().top-100},500),t.includes("FAQ"))&&setTimeout(function(){$(t).find(".FAQ__title").trigger("click")},500)}$(document).ready(function(){slickInit(),alertClose(),ydopMobileNav_Open(),ydopMobileNav_Close(),ydopMobileNav_BuildMenu(),ydopMobileNav_childSlide__open(),ydopMobileNav_childSlide__close(),footer_hide_show(),degreesPopUp(),FAQs(),Tabs(),pageScrollStatus(),customInView(),YTPlayer(),StartHere(),FAQJumpTo(),listCountItems(),newTab(),Syllabi()}),$(document).on("click",'a[href^="#"]',function(t){t.preventDefault(),$("html, body").animate({scrollTop:$($.attr(this,"href")).offset().top-100},500)}),$(window).on("load resize scroll",function(){timeoutId&&clearTimeout(timeoutId),timeoutId=setTimeout(function(){pageScrollStatusUpdate()},200)});var numbersToWords={0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen",17:"seventeen",18:"eighteen",19:"nineteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",60:"sixty",70:"seventy",80:"eighty",90:"ninety"};function convertNumberToWords(t){var e;return t in numbersToWords?numbersToWords[t]:(e="",100<=t&&(e+=convertNumberToWords(Math.floor(t/100))+" hundred",t%=100),0<t&&(""!==e&&(e+=" and "),t<20?e+=numbersToWords[t]:(e+=numbersToWords[10*Math.floor(t/10)],0<t%10&&(e+="-"+numbersToWords[t%10]))),e)}function listCountItems(){$(".list-count-items").length&&$(".list-count-items").each(function(){var t=$(this),e=0;e=(t.parents(".yblock").hasClass("CardsDegrees")?t.parents(".CardsDegrees").find(".CardsDegrees__card"):t.parents(".card").find("ul li")).length,t.text(convertNumberToWords(e))})}function newTab(){$("a").each(function(){var t=$(this);t.attr("href").includes(".pdf")&&t.attr("target","_blank")})}
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.