PageSourceSearch

https://www.bickleyparkschool.co.uk/Bundles/JS/Homepage.output.js?cb=7ncwOX4oJLZVcIIaVMgjNYmHf63Xdb0MMfXRBEaK

js bickleyparkschool.co.uk collected 2026-10-06 13:59:43 UTC 37,723 bytes, 5 lines download raw bytes

1
2"use strict";!function o(i,r,a){function l(n,e){if(!r[n]){if(!i[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t=r[n]={exports:{}};i[n][0].call(t.exports,function(e){var t=i[n][1][e];return l(t||e)},t,t.exports,o,i,r,a)}return r[n].exports}for(var u="function"==typeof require&&require,e=0;e<a.length;e++)l(a[e]);return l}({1:[function(e,t,n){try{var o=new window.CustomEvent("test");if(o.preventDefault(),!0!==o.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var i=function(e,t){var n,o;return t=t||{bubbles:!1,cancelable:!1,detail:void 0},(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o=n.preventDefault,n.preventDefault=function(){o.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};i.prototype=window.Event.prototype,window.CustomEvent=i}},{}],2:[function(e,t,n){function o(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i)for(var r=Object.keys(Object(i)),a=0,l=r.length;a<l;a++){var u=r[a],d=Object.getOwnPropertyDescriptor(i,u);void 0!==d&&d.enumerable&&(n[u]=i[u])}}return n}
2t.exports={assign:o,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:o})}}},{}],3:[function(e,t,n){function o(e){e.fn.modalVideo=function(e){return"strings"==typeof e||new i(this,e),this}}var i=e("../index");"function"==typeof define&&define.amd?define(["jquery"],o):void 0!==(e=window.jQuery||window.$)&&o(e),t.exports=o},{"../index":5}],4:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var o=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e("custom-event-polyfill");var c=e("../lib/util");var r=e("es6-object-assign").assign,f={channel:"youtube",facebook:{},youtube:{autoplay:1,mute:0,cc_load_policy:1,color:null,controls:1,disablekb:0,enablejsapi:0,end:null,fs:1,h1:null,iv_load_policy:1,listType:null,loop:0,modestbranding:1,origin:null,playsinline:!0,rel:0,showinfo:1,start:0,wmode:"transparent",theme:"dark",nocookie:!1},ratio:"16:9",vimeo:{api:!1,autopause:!0,autoplay:!0,muted:!0,byline:!0,callback:null,color:null,height:null,loop:!1,maxheight:null,maxwidth:null,player_id:null,portrait:!0,title:!0,width:null,xhtml:!1},allowFullScreen:!0,animationSpeed:300,classNames:{modalVideo:"modal-video",modalVideoClose:"modal-video-close",modalVideoBody:"modal-video-body",modalVideoInner:"modal-video-inner",modalVideoIframeWrap:"modal-video-movie-wrap",modalVideoCloseBtn:"modal-video-close-btn"},aria:{openMessage:"You just openned the modal video",dismissBtnMessage:"Close the modal by clicking here"}},o=(o(v,[{key:"getPadding",value:function(e){var t=e.split(":"),e=Number(t[0]);return 100*Number(t[1])/e+"%"}},{key:"getQueryString",value:function(t){var n="";return Object.keys(t).forEach(function(e){n+=e+"="+t[e]+"&"}),n.substr(0,n.length-1)}},{key:"getVideoUrl",value:function(e,t,n){return"youtube"===t?this.getYoutubeUrl(e.youtube,n):"vimeo"===t?this.getVimeoUrl(e.vimeo,n):"facebook"===t?this.getFacebookUrl(e.facebook,n):""}},{key:"getVimeoUrl",value:function(e,t){return"//player.vimeo.com/video/"+t+"?"+this.getQueryString(e)}},{key:"getYoutubeUrl",value:function(e,t){var n=this.getQueryString(e);return!0===e.nocookie?"//www.youtube-nocookie.com/embed/"+t+"?"+n:"//www.youtube.com/embed/"+t+"?"+n}},{key:"getFacebookUrl",value:function(e,t){return"//www.facebook.com/v2.10/plugins/video.php?href=https://www.facebook.com/facebook/videos/"+t+"&"+this.getQueryString(e)}},{key:"getHtml",value:function(e,t,n){var o=this.getPadding(e.ratio),i=e.classNames;return'\n      <div class="'+i.modalVideo+'" tabindex="-1" role="dialog" aria-label="'+e.aria.openMessage+'" id="'+n+'">\n        <div class="'+i.modalVideoBody+'">\n          <div class="'+i.modalVideoInner+'">\n            <div class="'+i.modalVideoIframeWrap+'" style="padding-bottom:'+o+'">\n              <button class="'+i.modalVideoCloseBtn+' js-modal-video-dismiss-btn" aria-label="'+e.aria.dismissBtnMessage+"\"></button>\n              <iframe width='460' height='230' src=\""+t+"\" frameborder='0' allowfullscreen="+e.allowFullScreen+' tabindex="-1"/>\n            </div>\n          </div>\n        </div>\n      </div>\n    '}}]),v);function v(e,t){var a=this;!function(e){if(!(e instanceof v))throw new TypeError("Cannot call a class as a function")}(this);var l=r({},f,t),e="string"==typeof e?document.querySelectorAll(e):e,u=document.querySelector("body"),d=l.classNames,s=l.animationSpeed;[].forEach.call(e,function(r){r.addEventListener("click",function(e){"A"===r.tagName&&e.preventDefault();var t=r.getAttribute("data-video-id"),n=l.channel,e=(0,c.getUniqId)(),t=a.getVideoUrl(l,n,t),t=a.getHtml(l,t,e);(0,c.append)(u,t);var o=document.getElementById(e),i=o.querySelector(".js-modal-video-dismiss-btn");o.focus(),$("html").addClass("opened-video-modal"),o.addEventListener("click",function(){(0,c.addClass)(o,d.modalVideoClose),setTimeout(function(){(0,c.remove)(o),$("html").removeClass("opened-video-modal"),r.focus()},s)}),o.addEventListener("keydown",function(e){9===e.which&&(e.preventDefault(),document.activeElement===o?i.focus():(o.setAttribute("aria-label",""),o.focus()))}),i.addEventListener("click",function(){(0,c.triggerEvent)(o,"click")})})})}n.default=o,t.exports=n.default},{"../lib/util":6,"custom-event-polyfill":1,"es6-object-assign":2}],5:[function(e,t,n){t.exports=e("./core/")},{"./core/":4}],6:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.append=function(e,t){var n=document.createElement("div");for(n.innerHTML=t;0<n.children.length;)e.appendChild(n.children[0])},n.getUniqId=function(){return(Date.now().toString(36)+Math.random().toString(36).substr(2,5)).toUpperCase()},n.remove=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},n.addClass=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},n.triggerEvent=function(e,t,n){var o=void 0;window.CustomEvent?o=new CustomEvent(t,{cancelable:!0}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,n),e.dispatchEvent(o)}},{}]},{},[3]);
3!function(e){e.HomepageAsync=function(){},e.HomepageAsync.AddMediaItems=function(r){var o=MediaPlusFeedsArray;MediaServiceHelper=new e.MediaServiceHelper({ServiceUrl:e("#MediaPlusUrl").val(),FeedsJson:o,FeedGroups:mediaCommonFeedGroups,InitCallBack:function(o){if
3(r){for(var s=[],a=[],t=0;t<o.FeedGroups.length;t++)for(var d=0;d<o.FeedGroups[t].FeedIds.length;d++){"events"===o.FeedGroups[t].GroupName.toLowerCase()?s.push(o.FeedGroups[t].FeedIds[d]):a.push(o.FeedGroups[t].FeedIds[d])}r.length&&a.length>0&&function(r,o){var s=r.length;void 0!==s||0!==s?e.MediaServiceHelper.GetMediaItemsAdvanced({FeedIds:r,TakeCount:20,callback:function(e){var r=e.length;if(0!==r){"undefined"!=typeof mpHelper&&mpHelper.storeInfoForMediaPopup(e);for(var s=0;s<r;s++)o.find(".custom-stories__carousel").append(GlobalGenerateMediaItemsCarousel(e[s],"story-card-"+s.toString())),o.find(".custom-stories__descriptive-image-carousel").append(GlobalGenerateMediaItemsCarouselImagesOnly(e[s],"story-card-"+s.toString())),o.find(".custom-stories__mobile-text-carousel").append(GlobalGenerateMediaItemsCarouselTextOnly(e[s],"story-card-"+s.toString()));o.show(),customStoriesCarousel.init()}else o.remove()}}):o.remove()}(a,r)}}})}}(jQuery);
4function shuffle(e){for(var t,i,s=e.length;0!==s;)i=Math.floor(Math.random()*s),t=e[s-=1],e[s]=e[i],e[i]=t;return e}var videoModal={defaults:{selector:"",link:"",imgSelector:void 0,imageOptions:{vimeo:"thumbnail_large",youtube:"0"},verbose:!1},setYoutube:function(e,t,i,s,a,r){var o=t.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([^&?/]+)/i),n=o?o[1]:null,l="";i&&(l="https://img.youtube.com/vi/"+t.replace(/https:\/\/www\.youtube\.com\/watch\?v\=/g,"")+"/"+s.youtube+".jpg",i.css("background-image","url("+l+")")),e.addClass("youtube"),e.attr("data-video-Id",n),e.modalVideo()},setVimeo:function(e,t,i,s,a){var r=t.replace(/https\:\/\/vimeo\.com\//g,"");e.addClass("vimeo"),e.attr("data-video-id",r),i&&$.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+r+".
4json",jsonp:"callback",dataType:"jsonp",success:function(e){var t=e[0][s.vimeo];i.css("background-image","url("+t+")"),this.options.verbose}}),e.modalVideo({channel:"vimeo"})},init:function(e){this.options=$.extend({},this.defaults,e),(""!==this.options.selector&&""!==this.options.link||!this.options.verbose)&&(this.options.verbose,/youtube/i.test(this.options.link.toLowerCase())?this.setYoutube(this.options.selector,this.options.link,this.options.imgSelector,this.options.imageOptions,this.options.verbose):/vimeo/i.test(this.options.link.toLowerCase())&&this.setVimeo(this.options.selector,this.options.link,this.options.imgSelector,this.options.imageOptions,this.options.verbose),this.options.verbose)}},heroAreaFunctionality=function(){var e={arrows:!1,dots:!0,appendDots:$(".hero-area .hero-area-dots"),fade:!0,infinite:!0,adaptiveHeight:!0},t=shuffle(homepageImagesObject),i="<h1 class='title'>{TITLE}<span>{TITLE3} {TITLE2}</span></h1><p class='description'>{DESCRIPTION}</p>",s="<div class='hero-area-description-wrap'>{ITEMS}</div>",a="<div class='bg-close close-popup-js'></div><div class='chp-inner'><div class='btn-g btn-close close-popup-js' role='button' aria-label='Close Popup' aria-role='button'><span class='txt'>Close<span class='close-icon'></div><div class='chp-scroller'><div class='chp-holder'><div class='chp-container'><div class='chp-fader'><div class='fader-inner'>{POPUP_ITEMS}</div></div></div></div></div></div>
4",r="<div class='fader-item' data-popup-index='{ITEM_INDEX}'><span class='fader-counter'><span class='current-slide'>{CURR_SLIDE}</span><span class='total-slides'>/{TOTAL_SLIDES}</span></span><h2 class='fader-title'>{ITEM_TITLE}</h2><div class='fader-description'>{ITEM_DESCRIPTION}</div>{ITEM_TAG}<div class='fader-thumb-container {THUMB_CONTAINER_CLASSES}'>{ITEM_BIG_THUMB}{ITEM_SMALL_THUMB}{ITEM_TAG}</div></div>",o="<div class='popup-buttons'><div class='popup-buttons__inner'><div class='popup-buttons__container clearfix'><div class='popup-buttons__holder'>{ITEMS}</div></div></div></div>",n="<a href='#' class='hero-area-popup-link' data-popup-button-index='{ITEM_INDEX}' style='border-color: rgba({COLOR}, .2)'><div class='popup-link__bg' style='background: {HEX_COLOR}'></div><div class='popup-link__description'><span class='popup-link__description-title'><span class='title'>{TITLE}</span></span></div><div class='icon' style='background-image: url({ICON_LINK})'></div><div class='progress-circle'><div class='svg-holder'><svg viewBox='0 0 38 38'><circle class='circle-path' cx='19' cy='19' r='18' fill='none' stroke='#fff' stroke-width='2' /></svg></div></div></a>",l="<div class='fader-item' data-main-slider-index='{ITEM_INDEX}'><div class='image-wrapper desktop-image-wrapper lazyload' style='background-image: url({DESKTOP_IMAGE})'></div><div class='image-wrapper mobile-image-wrapper lazyload' style='background-image: url({MOBILE_IMAGE})'></div></div>",c={objectParse:function(e,t){for(var i="",s="",a="",r="",o="",n="",l="",c="",p="",d="",u=[],m=[],h=[],f=[],g=0;g<e.length;g++)i=e[g].title,s=e[g].image,a=e[g].mobileImage,r=e[g].popupIcon,o=e[g].bigImage,n=e[g].smallImage,l=e[g].hashtag,c=e[g].summary,p=e[g].btnColor,d=e[g]["item.DataField_3"],u.push({id:"slide-image-"+g,image:s,mobileImage:a}),m.push({id:"slide-popup-"+g,title:i,bigImage:o,smallImage:n,hashtag:l,summary:c}),h.push({id:"slide-popup-button-"+g,color:p,icon:r,title:i}),f.push({title:i,hashtag:l,color:p,ofstyling:d,smallImage:n});return"images"===t?u:"popups"===t?m:"popupsButtons"===t?h:"popupsAll"===t&&f},popupItemBuild:function(e){for(var t="",i=e.length,s=0;s<i;s++){var a="",o="",n="",l="";""!==e[s].bigImage?a="<div class='big-thumb' style='background-image: url("+e[s].bigImage+")'></div>":l+=" no-image",""!==e[s].smallImage?o="<div class='small-thumb' style='background-image: url("+e[s].smallImage+")'></div>":l+=" without-small-thumb",n=""!=e[s].hashtag?"<div class='tag'>"+e[s].hashtag+"</div>":"",t+=r.replace(/{ITEM_INDEX}/g,e[s].id).replace(/{CURR_SLIDE}/g,"0"+(s+1).toString()).replace(/{TOTAL_SLIDES}/g,"0"+i.toString()).replace(/{ITEM_TITLE}/g,e[s].title).replace(/{ITEM_DESCRIPTION}/g,e[s].summary).replace(/{ITEM_BIG_THUMB}/g,a).replace(/{ITEM_SMALL_THUMB}/g,o).replace(/{ITEM_TAG}/g,n).replace(/{THUMB_CONTAINER_CLASSES}/g,l)}var c=$("<div></div>").html(t);return c.find(".fader-thumb-container").each((function(){$(this).hasClass("no-image")?$(this).remove():$(this).parent().find("> .tag").remove()})),c.html()},popupItemsBuild:function(e){var t=this.popupItemBuild(e);e.length>0?$(".custom-hero-popup").html(a.replace(/{POPUP_ITEMS}/g,t)):$(".custom-hero-popup").remove()},popupBtnBuild:function(e){for(var t="",i=e.length,s=0;s<i;s++){var a=e[s].id,r=e[s].color,o=e[s].title,l=e[s].icon;t+=n.replace(/{ITEM_INDEX}/g,a).replace(/{TITLE}/g,o).replace(/{HEX_COLOR}/g,r).replace(/{ICON_LINK}/g,l)}return t},popupButtonsBuild:function(e){var t=this.popupBtnBuild(e);if(!(e.length>0))return!1;$(".custom-hero-popup-buttons").prepend(o.replace(/{ITEMS}/g,t))},imageItemBuild:function(e){for(var t="",i=e.length,s=0;s<i;s++){var a=e[s].id,r="/Images/1px.jpg?command_1=url&url_1=",o=support_webp()?"&webp=true":"",n=r+encodeURIComponent(e[s].image)+o,c=r+encodeURIComponent(e[s].mobileImage)+o;t+=l.replace(/{ITEM_INDEX}/g,a).replace(/{DESKTOP_IMAGE}/g,n).replace(/{MOBILE_IMAGE}/g,c)}return t},imagesWrapperBuild:function(e){var t=this.imageItemBuild(e);if(!(e.length>0))return!1;$(".hero-area .inner").html("<div class='fader'>{ITEMS}</div>".replace(/{ITEMS}/g,t))},heroTitleText:function(e){for(var t="",s=[],a=e.length,r=0;r<a;r++)t=i.replace(/{TITLE}/g,e[r].title).replace(/{TITLE2}/g,e[r].color).replace(/{TITLE3}/g,e[r].smallImage).replace(/{DESCRIPTION}/g,e[r].hashtag),s.push(t);return s},heroTitleWrapper:function(e){var t=this.heroTitleText(e);if(!(e.length>0))return!1;for(var i=0;i<=e.length-1;i++)$(".hero-area .hero-area-description__desktop").prepend(s.replace(/{ITEMS}/g,t[i])),$(".hero-area-description__mobile").prepend(s.replace(/{ITEMS}/g,t[i]))},popupsBuild:function(){var e=this,i=e.objectParse(t,"popups"),s=e.objectParse(t,"popupsButtons");e.popupItemsBuild(i),e.popupButtonsBuild(s)},imagesBuild:function(){var e=this.objectParse(t,"images");this.imagesWrapperBuild(e)},heroTextBuild:function(){var e=this.objectParse(t,"popupsAll");this.heroTitleWrapper(e)},init:function(){var e=this;e.heroTextBuild(),e.popupsBuild(),e.imagesBuild()}},p={blurClass:function(e,t){e>t+100?($(".hero-area").addClass("blurred"),d.pause()):($(".hero-area").removeClass("blurred"),d.resumeFromPause())},scrollHandle:function(e){e=e;$(window).scroll((function(){var t=$(window),i=($(".hero-area"),$(".hero-area").height()),s=t.scrollTop();e.blurClass(s,i)}))},init:function(){this.scrollHandle(this)}},d={time:5,$bar:"",$allBars:"",$slider1:"",$slider2:"",tick:0,percentTime:"",isPause:!1,resetProgressBar:function(e){clearTimeout(this.tick),clearInterval(this.tick),e.css("stroke-dashoffset",113)},startProgressBar:function(){var e=this;e.resetProgressBar(e.$bar),e.percentTime=0,e.tick=setInterval((function(){e.interval(e)}),10)},interval:function(e){var t=e;
4if(!t.isPause){t.percentTime+=1/(t.time+.1);var i=(11300-113*t.percentTime)/100;t.$bar.css("stroke-dashoffset",i),t.percentTime>=100&&(t.$slider.slick("slickNext"),t.startProgressBar())}},pause:function(){this.isPause=!0},resumeFromPause:function(){this.isPause=!1},init:function(e,t,i){var s=this;s.$slider=e,s.$allBars=t,s.$bar=i,s.resetProgressBar(t),s.startProgressBar()}},u=($(".custom-hero-popup-buttons"),function(e){$(".hero-area-popup-link").size(),$(".hero-area-popup-link.active").index();$(".hero-area-popup-link.active").removeClass("active"),$(".hero-area-popup-link[data-popup-button-index=slide-popup-button-"+e+"]").addClass("active")}),m={change:function(e){var t=$(".hero-area").find(".fader"),i=t.find(".fader-item[data-main-slider-index=slide-image-"+e+"]");t.slick("slickGoTo",i.parents(".slick-slide").index(),!1)},loadedLogistics:function(e,t){e.on("lazyloaded",(function(){$("html").addClass("loaded"),setTimeout((function(){$("html").addClass("loaded")}),t);setTimeout((function(){$("html").addClass("finished-preloader-animation"),$(".custom-preloader").remove()}),t+500),setTimeout((function(){$(".custom-hero-popup-buttons .hero-area-popup-link:first-child").addClass("active"),d.init($(".hero-area").find(".fader"),$(".custom-hero-popup-buttons").find(".progress-circle .circle-path"),$(".custom-hero-popup-buttons").find(".hero-area-popup-link.active .progress-circle .circle-path")),1!=getCookie("kla-alert-closed")&&($(".custom-alert-button.alert-type").length?$(".custom-alert-button.alert-type").trigger("click"):$(".custom-alert-button.notice-type").trigger("click"),setCookie("kla-alert-closed",1,363))}),t+500+300)}))},init:function(){var t=this,i=$(".hero-area").find(".fader");i.on("init",(function(){t.loadedLogistics(i.find(".image-wrapper"),0)})),i.on("beforeChange",(function(e,t,s,a){var r=i.find(".slick-slide").eq(a).find(".fader-item").data("main-slider-index").replace(/slide-image-/g,"");$(".hero-area-description-wrap").css({opacity:"0"}),$(".hero-area-description-wrap").eq(a).css({opacity:"1"}),$(".hero-area-description__mobile .hero-area-description-wrap").hide(),$(".hero-area-description__mobile .hero-area-description-wrap").eq(a).fadeIn(150),u(r),d.init($(".hero-area").find(".fader"),$(".custom-hero-popup-buttons").find(".progress-circle .circle-path"),$(".custom-hero-popup-buttons").find(".hero-area-popup-link.active .progress-circle .circle-path"))})),i.hasClass("slick-initialized")||(i.slick(e),$(".hero-area-description-wrap").eq(0).css({opacity:"1"}),$(".hero-area-description__mobile .hero-area-description-wrap").eq(0).fadeIn(150))}};return{pause:function(){d.pause()},resume:function(){d.resumeFromPause()},init:function(){c.init(),m.init(),p.init()}}}
4(),footerHeroImg={url:"",takeImg:function(){var e=$(".hero-area").find(".desktop-image img").attr("src");this.url=e},appendImg:function(){$(".footer");var e=$(".footer").find(".footer__bg-image"),t=this.url;e.each((function(){$(this).html("<div class='img' style='background-image: url("+t+")'></div>")}))},init:function(){this.takeImg(),this.appendImg()}},progressBar={time:5,$bar:"",$allBars:"",$slider:"",tick:0,percentTime:"",onlyCounter:!1,sliderType:"",isPause:!1,resetProgressBar:function(e){clearTimeout(this.tick),clearInterval(this.tick),e.css({width:"0%"})},startProgressBar:function(){var e=this;e.resetProgressBar(e.$bar),e.percentTime=0,e.tick=setInterval((function(){e.interval(e)}),10)},interval:function(e){var t=e;t.isPause||(t.percentTime+=1/(t.time+.1),t.$bar.css({width:t.percentTime+"%"}),t.percentTime>=100&&(t.onlyCounter||("slick"===t.sliderType?t.$slider.slick("slickNext"):t.$slider.trigger("next.owl.carousel")),t.startProgressBar()))},pause:function(){this.isPause=!0},resumeFromPause:function(){this.isPause=!1},init:function(e,t,i,s,a){var r=this;r.$slider=e,r.$allBars=i,r.$bar=s,r.sliderType=t,a&&(r.onlyCounter=a),r.resetProgressBar(i),r.startProgressBar()}},faderWithContent1={sel:$(".fader-with-content-1"),animationSel:$("html.no-touch .fader-with-content-1"),opts:{slidesToShow:1,swipeToSlide:!0,arrows:!1,fade:!0,adaptiveHeight:!0,waitForAnimate:!0,speed:600,dots:!0,appendDots:$(".fader-with-content-1 .fwc__fader-dots-wrapper"),pauseOnDotsHover:!0,customPaging:function(e,t){var i=0;return i=t<10?"0"+(t+1).toString():(t+1).toString(),$("<div class='bullet-wrapper'><div class='progress-bar progress-bar__style'><span></span></div><button type='button'><span>"+i+"</span></button></div>")}},scrollAnimation:function(){this.animationSel.appear().on("appear",(function(){$(this).addClass("visible")}))},cloneHtml:function(){var e=this,t=e.sel.find(".customCssClass"),i=t.attr("href"),s=t.text(),a="";$(".fwc__descriptive-layer-mobile").append("<div class='button-mobile-container'><a href='"+i+"' class='button-mobile customCssClass'>"+s+"</a></div>");var r=e.sel.find(".fwc__fader .item").length,o=r<10?"0"+r.toString():r;e.sel.find(".item").each((function(e){a=e<10?"0"+(e+1).toString():e+1,$(this).find(".mobile-counter").prepend("<span class='current'>"+a+"</span><span>/"+o+"</span>"),$(this).find(".image-wrapper").append("<div class='progress-bar-mobile progress-bar__style'><span></span></div>")}))},initFader:function(){var e=this.sel,t=e.find(".fwc__fader"),i=t.find(".fwc__fader-inner");e.find(".item").length<2&&t.find(".dots-wrapper").remove(),i.on("beforeChange",(function(e,t,s,a){i.find(".slick-slide").eq(s).addClass("before")})),i.on("afterChange",(function(e,t,s,a){i.find(".slick-slide.before").removeClass("before")}));var s=Object.create(progressBar),a=Object.create(progressBar);i.on("afterChange init",(function(){s.init(i,"slick",$(".fader-with-content-1 .slick-slide .progress-bar-mobile span"),$(".fader-with-content-1 .slick-slide.slick-current .progress-bar-mobile span"),!0),a.init(i,"slick",$(".fader-with-content-1 .fwc__fader-dots-wrapper li .progress-bar span"),$(".fader-with-content-1 .fwc__fader-dots-wrapper .slick-active .progress-bar span"),!1)})),i.slick(this.opts),$("html").hasClass("no-touch")&&t.hover((function(){s.pause(),a.pause()}),(function(){s.resumeFromPause(),a.resumeFromPause()}))},truncate:function(){this.sel.find(".truncate").each((function(){truncateFn.customTruncate($(this))}))},init:function(){var e=this;e.cloneHtml(),e.truncate(),e.initFader(),e.scrollAnimation()}},faderWithContent2={sel:$(".fader-with-content-2"),animationSel:$("html.no-touch .fader-with-content-2"),opts:{slidesToShow:1,swipeToSlide:!0,arrows:!1,fade:!0,adaptiveHeight:!0,waitForAnimate:!0,speed:600,dots:!0,appendDots:$(".fader-with-content-2 .fwc__fader-dots-wrapper"),pauseOnDotsHover:!0,customPaging:function(e,t){var i=0;return i=t<10?"0"+(t+1).toString():(t+1).toString(),$("<div class='bullet-wrapper'><div class='progress-bar progress-bar__style'><span></span></div><button type='button'><span>"+i+"</span></button></div>")}},scrollAnimation:function(){this.animationSel.appear().on("appear",(function(){$(this).addClass("visible")}))},cloneHtml:function(){var e=this,t=e.sel.find(".customCssClass"),i=(t.attr("href"),t.text(),"");$(".module-vibrant-fancy").clone().appendTo(".fader-with-content-2 .fwc__descriptive-layer");var s=e.sel.find(".fwc__fader .item").length,a=s<10?"0"+s.toString():s;
4e.sel.find(".item").each((function(e){i=e<10?"0"+(e+1).toString():e+1,$(this).find(".mobile-counter").prepend("<span class='current'>"+i+"</span><span>/"+a+"</span>"),$(this).find(".image-wrapper").append("<div class='progress-bar-mobile progress-bar__style'><span></span></div>")}))},resizeForImgBlur:function(){var e=this.sel;e.find(".img-blur .img").each((function(){$(this).css("height",$(this).parents(".image-wrapper").height())})),$(window).smartresize((function(){e.find(".img-blur .img").each((function(){$(this).css("height",$(this).parents(".image-wrapper").height())}))}))},initFader:function(){var e=this.sel,t=e.find(".fwc__fader"),i=t.find(".fwc__fader-inner");e.find(".item").length<2&&t.find(".dots-wrapper").remove(),i.on("beforeChange",(function(e,t,s,a){i.find(".slick-slide").eq(s).addClass("before")})),i.on("afterChange",(function(e,t,s,a){i.find(".slick-slide.before").removeClass("before")}));var s=Object.create(progressBar),a=Object.create(progressBar);i.on("afterChange init",(function(t,r,o){s.init(i,"slick",$(".fader-with-content-2 .slick-slide .progress-bar-mobile span"),$(".fader-with-content-2 .slick-slide.slick-current .progress-bar-mobile span"),!0),a.init(i,"slick",$(".fader-with-content-2 .fwc__fader-dots-wrapper li .progress-bar span"),$(".fader-with-content-2 .fwc__fader-dots-wrapper .slick-active .progress-bar span"),!1),void 0===o&&(o=0),e.find(".fwc__descriptive-layer").find(".descriptive-layer__image .img").not(":eq("+o+")").removeClass("current-slide"),e.find(".fwc__descriptive-layer").find(".descriptive-layer__image .img").eq(o).addClass("current-slide")})),$("html").hasClass("no-touch")&&t.hover((function(){s.pause(),a.pause()}),(function(){s.resumeFromPause(),a.resumeFromPause()})),i.slick(this.opts)},truncate:function(){this.sel.find(".truncate").each((function(){truncateFn.customTruncate($(this))}))},init:function(){var e=this;e.cloneHtml(),e.truncate(),e.initFader(),e.resizeForImgBlur(),e.scrollAnimation()}},faderWithContent3={sel:$(".fader-with-content-3"),animationSel:$("html.no-touch .fader-with-content-3"),opts:{slidesToShow:1,swipeToSlide:!0,arrows:!1,fade:!0,adaptiveHeight:!0,waitForAnimate:!0,speed:600,dots:!0,appendDots:$(".fader-with-content-3 .fwc__fader-dots-wrapper"),pauseOnDotsHover:!0,customPaging:function(e,t){var i=0;return i=t<10?"0"+(t+1).toString():(t+1).toString(),$("<div class='bullet-wrapper'><div class='progress-bar progress-bar__style'><span></span></div><button type='button'><span>"+i+"</span></button></div>")}},scrollAnimation:function(){this.animationSel.appear().on("appear",(function(){$(this).addClass("visible")}))},cloneHtml:function(){var e=this,t=e.sel.find(".customCssClass"),i=t.attr("href"),s=t.text(),a="";$(".fader-with-content-3 .fwc__descriptive-layer").append("<div class='button-mobile-container'><a href='"+i+"' class='button-mobile customCssClass'>"+s+"</a></div>");var r=e.sel.find(".fwc__fader .item").length,o=r<10?"0"+r.toString():r;e.sel.find(".item").each((function(e){a=e<10?"0"+(e+1).toString():e+1,$(this).find(".mobile-counter").prepend("<span class='current'>"+a+"</span><span>/"+o+"</span>"),$(this).find(".image-wrapper").append("<div class='progress-bar-mobile progress-bar__style'><span></span></div>")}))},resizeForImgBlur:function(){var e=this.sel;
4e.find(".img-blur .img").each((function(){$(this).css("height",$(this).parents(".image-wrapper").height())})),$(window).smartresize((function(){e.find(".img-blur .img").each((function(){$(this).css("height",$(this).parents(".image-wrapper").height())}))}))},initFader:function(){var e=this.sel,t=e.find(".fwc__fader"),i=t.find(".fwc__fader-inner");e.find(".item").length<2&&t.find(".dots-wrapper").remove(),i.on("beforeChange",(function(e,t,s,a){i.find(".slick-slide").eq(s).addClass("before")})),i.on("afterChange",(function(e,t,s,a){i.find(".slick-slide.before").removeClass("before")}));var s=Object.create(progressBar),a=Object.create(progressBar);i.on("afterChange init",(function(t,r,o){s.init(i,"slick",$(".fader-with-content-3 .slick-slide .progress-bar-mobile span"),$(".fader-with-content-3 .slick-slide.slick-current .progress-bar-mobile span"),!0),a.init(i,"slick",$(".fader-with-content-3 .fwc__fader-dots-wrapper li .progress-bar span"),$(".fader-with-content-3 .fwc__fader-dots-wrapper .slick-active .progress-bar span"),!1),void 0===o&&(o=0),e.find(".fwc__descriptive-layer").find(".descriptive-layer__image .img").not(":eq("+o+")").removeClass("current-slide"),e.find(".fwc__descriptive-layer").find(".descriptive-layer__image .img").eq(o).addClass("current-slide")})),$("html").hasClass("no-touch")&&t.hover((function(){s.pause(),a.pause()}),(function(){s.resumeFromPause(),a.resumeFromPause()})),i.slick(this.opts)},truncate:function(){this.sel.find(".truncate").each((function(){truncateFn.customTruncate($(this))}))},init:function(){var e=this;e.cloneHtml(),e.truncate(),e.initFader(),e.resizeForImgBlur(),e.scrollAnimation()}},welcomeSection={$sel:$(".welcome-section"),$selAnimation:$("html.no-touch .welcome-section"),scrollAnimation:function(){this.$selAnimation.appear().on("appear",(function(){$(this).addClass("visible")}))},addSpanToReadMore:function(){var e=this.$sel.find(".wc-content .customCssClass");e.html("<span></span>"),e.css("opacity",1)}
4,initVideo:function(){var e=$(".welcome-section").find(".wc-content").find("p"),t="";e.each((function(){var e=$(this).html();if(/https:\/\/www\.youtube\.com\/watch\?v\=/g.test(e)||/https\:\/\/vimeo\.com\//g.test(e))return t=e,$(this).remove(),!1})),e.find("img").parent().append("<div class='video-button video-button-mobile'></div>"),""!==t&&videoModal.init({selector:$(".video-button").parent(),link:t})},addImageToDivs:function(){var e=$(".welcome-section"),t=e.find(".wc-content img"),i=isSafari||isIE?"":"&webp=true",s=t.length&&t.attr("src")?"/Images/1px.jpg?command_1=url&url_1="+t.attr("src")+i:null;s&&(e.find(".cl-image .img").css("background-image","url('"+s+"')"),e.find(".dl-image").css("background-image","url('"+s+"')"))},init:function(){this.initVideo(),this.addImageToDivs(),this.addSpanToReadMore(),this.scrollAnimation()}},popupAlerts={sliderOpts:{arrows:!0,dots:!0,fade:!0,infinite:!0,adaptiveHeight:!0,appendDots:$(".custom-alert .alert-container"),prevArrow:"<button class='slick-prev slick-arrow' aria-label='Prev' type='button'><span></span></button>",nextArrow:"<button class='slick-next slick-arrow' aria-label='Next' type='button'><span></span></button>",appendArrows:$(".custom-alert .custom-alert__nav-holder"),responsive:[{breakpoint:768,settings:{dots:!1}}]}
4,alertSliderInit:function(){var e=$(".custom-alert .alert-container-inner");e.on("afterChange init",(function(t,i,s){e.find(".slick-active .alert").hasClass("alert-type")?e.parent().find(".close-alert").addClass("alert-type"):e.parent().find(".close-alert").removeClass("alert-type")})),e.hasClass("slick-initialized")||e.slick(this.sliderOpts)},alertSliderDestroy:function(){var e=$(".custom-alert .alert-container-inner");e.hasClass("slick-initialized")&&e.slick("unslick")},openAlert:function(){$(".custom-alert .alert-container-inner").slick("slickGoTo",0,!0)},openNotice:function(){var e=$(".custom-alert .alert-container-inner");$(".custom-alert-button.alert-type").length?e.slick("slickGoTo",1,!0):e.slick("slickGoTo",0,!0)},checkingForPopup:function(){$(".custom-alert .alert.alert-type").length?($(".custom-alert").addClass("has-alerts"),$(".custom-alert-button.alert-type").css("display","block")):$(".custom-alert-button.alert-type").remove(),$(".custom-alert .alert.notice-type").length?($(".custom-alert").addClass("has-notices"),$(".custom-alert-button.notice-type").css("display","block")):$(".custom-alert-button.notice-type").remove()},goTo:function(){$(".custom-alert .alert-container-inner")},init:function(){var e=this;e.checkingForPopup(),e.alertSliderInit(),$(".custom-alert-button").on("click",(function(){heroAreaFunctionality.pause(),$(this).hasClass("alert-type")?($(".custom-alert").addClass("opened"),e.openAlert(),setTimeout((function(){$(".custom-alert .custom-alert__bg-close").addClass("loaded")}),300)):$(this).hasClass("notice-type")&&($(".custom-alert").addClass("opened"),e.openNotice(),setTimeout((function(){$(".custom-alert .custom-alert__bg-close").addClass("loaded")}),300))})),$(".close-alert").on("click",(function(){heroAreaFunctionality.resume();var e=$(this);setTimeout((function(){e.parents(".custom-alert").removeClass("opened")}),300),e.parents(".custom-alert").find(".custom-alert__bg-close").removeClass("loaded")}
4)),$(".custom-alert__bg-close").on("click",(function(){var e=$(this);heroAreaFunctionality.resume(),setTimeout((function(){e.parents(".custom-alert").removeClass("opened")}),300),e.removeClass("loaded")}))}},goToHeroArea={init:function(){$(".hero-area__scroll-down").length&&$(".hero-area__scroll-down").on("click",(function(){var e=$(".hero-area").outerHeight(!0);return $("html, body").animate({scrollTop:e},500),!1}))}},progressBarOwl=Object.create(progressBar),customStoriesCarousel={slider:null,mobileLayout:!1,desktopLayout:!1,mainSliderWrapper:".custom-stories",mainSlider:".custom-stories .custom-stories__carousel",mainSliderItem:".custom-stories .story-card",uniqueItem:".custom-stories .owl-item:not(.cloned)",uniqueActiveItem:".custom-stories .owl-item:not(.cloned).active:last",item:".custom-stories .owl-item",activeItem:".custom-stories .owl-item.active",descriptiveImageContainer:".custom-stories .custom-stories__descriptive",descriptiveImageContainerItem:".custom-stories .custom-stories__descriptive .cs__image",crslOpts:{loop:!0,nav:!0,items:1,margin:0,dots:!1,center:!1,autoWidth:!0,stagePadding:0,autoplay:!0,fluidSpeed:!0,smartSpeed:500,afterAction:function(e){},responsive:{0:{mouseDrag:!0,touchDrag:!0},768:{mouseDrag:!1,touchDrag:!1}}},slickOpts:{arrows:!1,fade:!0,infinite:!0,adaptiveHeight:!0},initSlick:function(e){var t=$(".custom-stories .custom-stories__mobile-text-carousel"),i=$(".custom-stories .custom-stories__carousel .story-card").attr("data-index"),s=$(".custom-stories .custom-stories__mobile-text-carousel").find(".story-card[data-index='"+i+"']");t.hasClass("slick-initialized")||(t.on("swipe",(function(e,t,i,s){"left"===i?$(".custom-stories .custom-stories__carousel").trigger("next.owl.carousel"):"right"===i&&$(".custom-stories .custom-stories__carousel").trigger("prev.owl.carousel")})),t.slick(this.slickOpts),t.slick("slickGoTo",s.parents(".slick-slide").index(),!0)),$(".custom-stories .custom-stories__mobile-text-carousel .story-card__title .truncate").each((function(){truncateFn.customTruncate($(this))}))},slickGoTo:function(e){var t=$(".custom-stories .custom-stories__mobile-text-carousel"),i=$(".custom-stories .custom-stories__mobile-text-carousel").find(".story-card[data-index='"+e+"']");t.slick("slickGoTo",i.parents(".slick-slide").index())}
4,destroySlick:function(){var e=$(".custom-stories .custom-stories__mobile-text");e.hasClass("slick-initialized")&&e.slick("unslick")},changeImage:function(e){var t="[data-index!='"+e+"']",i="[data-index='"+e+"']";$(this.descriptiveImageContainerItem+t).removeClass("active"),$(this.descriptiveImageContainerItem+i).addClass("active")},initCrsl:function(){var e=this;$(this.mainSliderItem).length>0?($(e.mainSlider).on("initialized.owl.carousel",(function(t){$(e.mainSliderWrapper).hasClass("noCarouselNeeded"),$(e.item).removeClass("last"),$(e.uniqueActiveItem).addClass("last")})),$(e.mainSlider).children().each((function(e){$(this).attr("data-position",e)})),e.slider=$(e.mainSlider).owlCarousel(e.crslOpts),owlCarouselHelpers.carouselStyle(e),owlCarouselHelpers.addClassesToFirstAndLast(e)):$(e.mainSliderWrapper).css("display","none"),$(".story-card__title .truncate").each((function(){truncateFn.customTruncate($(this))}))},onTranslate:function(){var e=this;$(e.mainSlider).on("translated.owl.carousel",(function(t){var i=$(this).find(".owl-item.active").first().find(".story-card").attr("data-index");e.changeImage(i),e.slickGoTo(i)})),$(e.mainSlider).on("changed.owl.carousel",(function(t){progressBarOwl.init($(e.mainSlider),"owl",$(e.mainSlider).find(".progress-bar span"),$(".owl-item").find(".progress-bar span"))})),$("html").hasClass("no-touch")&&$(e.mainSlider).hover((function(){progressBarOwl.pause()}),(function(){progressBarOwl.resumeFromPause()}))},animationOnScroll:function(){$("html.no-touch .custom-stories").appear().on("appear",(function(){$(this).addClass("visible")}))},init:function(){var e=this;e.initCrsl(),e.initSlick(),e.animationOnScroll(),onResizeMethods((function(){owlCarouselHelpers.carouselOnResize(e,!1),owlCarouselHelpers.addClassesToFirstAndLast(e)}))}},simpleContent={imgUrl:"",link:"",linkTitle:"",takeLink:function(){var e=$
4(".simple-content").find(".simple-content__text").find(".customCssClass"),t=e.attr("href"),i=e.attr("title");this.link=t,this.linkTitle=i},takeImgUrl:function(){var e=$(".simple-content").find("img"),t=e.attr("src");this.imgUrl=t,e.parent().hasClass("simple-content__text")?e.remove():e.parent().remove()},attachImg:function(){var e=this,t=$(".simple-content"),i=t.find(".simple-content__image-js"),s=e.imgUrl,a=e.link,r=e.linkTitle,o="<a href='{LINK}' title='{LINK_TITLE}' class='img__link'></a><div class='img' style='background-image: url({IMAGE})' role='img'></div>";i.each((function(){$(this).html(o.replace(/{LINK}/g,a).replace(/{LINK_TITLE}/g,r).replace(/{IMAGE}/g,s))})),t.addClass("loaded")},scrollAnimation:function(){$(".simple-content").appear().on("appear",(function(){$(this).addClass("visible")}))},init:function(){this.takeLink(),this.takeImgUrl(),this.attachImg(),this.scrollAnimation()}},specialistSection={$sel:$(".fader-with-content-3"),$selAnimation:$("html.no-touch .fader-with-content-3"),scrollAnimation:function(){this.$selAnimation.appear().on("appear",(function(){$(this).addClass("visible")}))},addSpanToReadMore:function(){var e=this.$sel.find(".wc-content .customCssClass");e.html("<span></span>"),e.css("opacity",1)}
4,addImageToDivs:function(){var e=$(".fader-with-content-3"),t=e.find(".wc-content img"),i=isSafari||isIE?"":"&webp=true",s=t.length&&t.attr("src")?"/Images/1px.jpg?command_1=url&url_1="+t.attr("src")+i:null;s&&(e.find(".cl-image .img").css("background-image","url('"+s+"')"),e.find(".dl-image").css("background-image","url('"+s+"')"))},init:function(){this.addImageToDivs(),this.addSpanToReadMore(),this.scrollAnimation()}};
5!function(e){e(document).ready((function(){heroAreaFunctionality.init(),welcomeSection.init(),faderWithContent1.init(),faderWithContent2.init(),mainMenu.init(),headerFixed.init(),simpleContent.init(),contactMobile.init(),goToHeroArea.init(),goTo.init(),truncateFn.generalTruncate(),popupAlerts.init(),e(".custom-alert .ca-text").each((function(){var t=e(this);truncateFn.customTruncateWithReadMore(t)}))})),e(window).load((function(){"undefined"!=typeof MediaPlusFeedsArray&&MediaPlusFeedsArray.length>0&&e.HomepageAsync.AddMediaItems(e(".custom-stories"))}))}(jQuery);

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.