/* npm.im/object-fit-images 3.2.4 */ 'use strict';var aniGlobal=aniGlobal||{};"use strict"; (function(){(function(d){var k=void 0===d.firstLoad;d.firstLoad=!1;return k})(aniGlobal)&&(aniGlobal.objectFitImages=function(){function d(b){if(b.srcset&&!x&&window.picturefill){var c=window.picturefill._;b[c.ns]&&b[c.ns].evaled||c.fillImg(b,{reselect:!0});b[c.ns].curSrc||(b[c.ns].supported=!1,c.fillImg(b,{reselect:!0}));b.currentSrc=b[c.ns].curSrc||b.src}}function k(b){for(var c=getComputedStyle(b).fontFamily,f={};null!==(b=l.exec(c));)f[b[1]]=b[2];return f}function h(b,c,f){c="data:image/svg+xml,%3Csvg xmlns\x3d'http://www.w3.org/2000/svg' width\x3d'"+ (c||1)+"' height\x3d'"+(f||0)+"'%3E%3C/svg%3E";y.call(b,"src")!==c&&a.call(b,"src",c)}function r(b,c){b.naturalWidth?c(b):setTimeout(r,100,b,c)}function p(b){var c=k(b),f=b[q];if(c["object-fit"]=c["object-fit"]||"fill",!f.img)if("fill"===c["object-fit"]||!f.skipTest&&v&&!c["object-position"])return;if(!f.img){f.img=new Image(b.width,b.height);f.img.srcset=y.call(b,"data-ofi-srcset")||b.srcset;f.img.src=y.call(b,"data-ofi-src")||b.src;a.call(b,"data-ofi-src",b.src);b.srcset&&a.call(b,"data-ofi-srcset", b.srcset);h(b,b.naturalWidth||b.width,b.naturalHeight||b.height);b.srcset&&(b.srcset="");try{m(b)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}d(f.img);b.style.backgroundImage='url("'+(f.img.currentSrc||f.img.src||"").toString().replace(/"/g,'\\"')+'")';b.style.backgroundPosition=c["object-position"]||"center";b.style.backgroundRepeat="no-repeat";b.style.backgroundOrigin="content-box";/scale-down/.test(c["object-fit"])?r(f.img,function(){f.img.naturalWidth>b.width||f.img.naturalHeight> b.height?b.style.backgroundSize="contain":b.style.backgroundSize="auto"}):b.style.backgroundSize=c["object-fit"].replace("none","auto").replace("fill","100% 100%");r(f.img,function(t){h(b,t.naturalWidth,t.naturalHeight)})}function m(b){var c={get:function(f){return b[q].img[f?f:"src"]},set:function(f,t){return b[q].img[t?t:"src"]=f,a.call(b,"data-ofi-"+t,f),p(b),f}};Object.defineProperty(b,"src",c);Object.defineProperty(b,"currentSrc",{get:function(){return c.get("currentSrc")}});Object.defineProperty(b, "srcset",{get:function(){return c.get("srcset")},set:function(f){return c.set(f,"srcset")}})}function g(b,c){var f=!e&&!b;if(c=c||{},b=b||"img",u&&!c.skipTest||!n)return!1;"img"===b?b=document.getElementsByTagName("img"):"string"==typeof b?b=document.querySelectorAll(b):"length"in b||(b=[b]);for(var t=0;td.top&&d.bottom>window.innerHeight)return!0},checkElementInView:function(d){d= d.getBoundingClientRect();return 0<=d.top&&0<=d.left&&d.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&d.right<=(window.innerWidth||document.documentElement.clientWidth)},checkPanelInView:function(d,k){d=document.querySelector(".".concat(d)).getBoundingClientRect();void 0===k&&(k=1);return 0>d.top?!0:0<=d.top&&0<=d.left&&d.bottom-d.height*k<=(window.innerHeight||document.documentElement.clientHeight)&&d.right<=(window.innerWidth||document.documentElement.clientWidth)}}}(),aniGlobal.utility= function(){return{debounce:function(d,k,h){var r;return function(){var p=this,m=arguments,g=h&&!r;clearTimeout(r);r=setTimeout(function(){r=null;h||d.apply(p,m)},k);g&&d.apply(p,m)}}}}(),aniGlobal.lineAnimation=function(){return{langSupported:function(){var d=document.querySelector("html").getAttribute("lang");return"ja-jp"==d||"zh-hk"==d||"zh-cn"==d||"zh-tw"==d?!1:!0},lineBreakText:function(d){for(var k=d.length,h=0;hp&&(g.innerHTML=g.innerHTML.slice(0,g.innerHTML.length-l.length),g=document.createElement(d[h].tagName),g.style.margin="0",g.style.padding="0",g.classList.add("animate-text"),d[h].classList.contains("currently-focused")&&g.classList.add("currently-focused"),m.appendChild(g),g.innerHTML+=l)}d[h].parentElement.removeChild(d[h])}},revertLineBreakText:function(d){for(var k=0;k{aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation()}))})();var aniScroll=aniScroll||{};"use strict"; (function(){function d(){setTimeout(function(){l={};$("[data-s-wdg]").addClass("s-wdgItem");$("[data-s-wdg*\x3d'#']").addClass("fadehiddenOffscreen");$("body").append("\x3cstyle\x3e.fadehiddenOffscreen {opacity:0;}\x3c/style\x3e");w=document.querySelectorAll(".s-wdgItem");var n=1,x=new window.IntersectionObserver(function(y,a){y.forEach(function(e){if(e.isIntersecting){if(!$(e.target).attr("data-s-wdg-toreset")&&$(e.target).hasClass("animate-position")){$(e.target).attr("data-s-wdg-toreset",n);l[n]= {};var b=$(e.target).offset().top,c=b+$(e.target).height(),f=getComputedStyle($(e.target)[0]).transform;"none"===f?g=f=0:(f=parseFloat(getComputedStyle($(e.target)[0]).transform.split(",")[5]),g=parseFloat(getComputedStyle($(e.target)[0]).transform.split(",")[4]));var t=parseInt($(e.target).attr("data-s-wdg"));t=$(window).height()*(-1*t/100)+f;l[n].top=b;l[n].bottom=c;l[n].originaltransform=f;l[n].originalleft=g;l[n].belowadjust=t;n++}-1q&&-100l[n].bottom&&$(this).css("transform","translate3d("+l[n].originalleft+"px,"+l[n].belowadjust+"px,0)")}$(this).removeClass("s-wdgToReset");$(this).removeClass("is-scrollTop");$(this).removeClass("is-scrollDown");$(this).removeClass("Aniscroll")}})}if(function(n){var x=void 0===n.firstLoad;n.firstLoad=!1;return x}(aniScroll)){var h,r,p,m,g,q,l,w,v={top:0, dead:0,bottom:0},u={top:0,dead:0,bottom:0};$(window).on("load scroll",function(){if(0<$(".s-wdgActive").length||0<$(".s-wdgToReset").length)h=void 0===r?$(window).scrollTop():r,r=$(window).scrollTop(),q=r-h,p=$(window).height(),m=p/3,v.top=$(window).scrollTop(),v.dead=$(window).scrollTop()+m,v.bottom=$(window).scrollTop()+180+m,u.top=$(window).scrollTop()+p-180-m,u.dead=$(window).scrollTop()+p-180,u.bottom=$(window).scrollTop()+p,k()});window.addEventListener("resize",aniCommon.utility.delayCall(function(){$(".s-wdgItem").removeAttr("style"); $(".s-wdgItem").removeClass("s-wdgItem");$(".fadehiddenOffscreen").removeClass("fadehiddenOffscreen");$(".s-wdgActive").removeClass("s-wdgActive");$(".s-wdgToReset").removeClass("s-wdgToReset");$("[data-s-wdg-toreset]").removeAttr("data-s-wdg-toreset");l={};d()},500));d()}})(); void 0===window.animatedFunction&&(window.animatedFunction=!0,$(document).ready(function(){function d(a,e){var b=a.find(".tabs-item").length;a.find(".tab-feature-content").eq(0).css("padding-top","0");if(!a.find(".tabs-item").eq(e).hasClass("active")){a.find(".tabs-item").removeClass("active").attr({tabindex:"-1","aria-selected":!1}).eq(e).addClass("active").attr({tabindex:"0","aria-selected":!0});var c=a.find(".tab-feature-content");if(0==e){a.find(".feature-tabs").animate({scrollLeft:0},1E3);if(a.find(".tab-feature-main-content").hasClass("height-changed")){a.find(".tabbed-main-heading").outerHeight(); var f=a.find(".tab-feature-main-content").outerHeight();a.find(".tab-feature-main-content").removeClass("height-changed").css("height",f)}c.find(".tabbed-content-heading").css("display","none");a.find(".tabbed-content").removeClass("active");c.removeClass("removebefore");a.find(".tabbed-main-heading").show();a.find(".tab-feature-first-heading").css("opacity","1").attr("aria-hidden",!1);c.find(".c-paragraph").removeClass("active").css({opacity:0}).attr("aria-hidden",!0);c.find(".c-paragraph").find("*").each(function(A, B){$(this).attr("tabindex","-1")});c.eq(e).find(".c-paragraph").addClass("active").css({opacity:1}).attr("aria-hidden",!1);767<$(window).width()&&c.eq(e+1).find(".c-paragraph").css({opacity:.3});$("body").hasClass("animation-off")&&!$("body").hasClass("animation-toggle")?a.find(".tab-feature-main-content").animate({scrollTop:0},0):a.find(".tab-feature-main-content").animate({scrollTop:0},1E3);c.removeClass("active").eq(e).addClass("active");k(a,!0)}else{f=0;for(var t=parseFloat(a.find(".tabs-item").css("marginLeft"))+ parseFloat(a.find(".tabs-item").css("marginRight")),z=0;z{var e=a.querySelector("span.sr-text");"undefined"!==typeof e&&null!==e||a.insertAdjacentHTML("afterbegin", '\x3cspan class\x3d"sr-text"\x3eFootnote\x3c/span\x3e')})})();g?($(".tabbed-feature .next").click(function(){var a=$(this).parents(".tabbed-feature");h(a,!1)}),$(".tabbed-feature .previous").click(function(){var a=$(this).parents(".tabbed-feature");h(a,!0)})):($(".tabbed-feature .next").click(function(){var a=$(this).parents(".tabbed-feature");h(a,!0)}),$(".tabbed-feature .previous").click(function(){var a=$(this).parents(".tabbed-feature");h(a,!1)}));$(".tabbed-feature .tabs-item").on("keydown", function(a){var e=$(this),b=e.index(),c=e.parents(".tabbed-feature"),f=c.find(".tabs-item").first(),t=c.find(".tabs-item").last(),z=e.next();e=e.prev();13!==a.which&&13!==a.keyCode||d(c,b);37!==a.which&&37!==a.keyCode||!m||(console.log("(e.which \x3d\x3d\x3d 37 || e.keyCode \x3d\x3d\x3d 37) \x26\x26 keyeventproceed :"+(37===a.which||37===a.keyCode)&&m),console.log(m),console.log("Previous"),e.hasClass("tabs-item")?e.focus():t.focus(),m=!1,r(c,37));39!==a.which&&39!==a.keyCode||!m||(console.log("(e.which \x3d\x3d\x3d 39 || e.keyCode \x3d\x3d\x3d 39) \x26\x26 keyeventproceed :"+ (39===a.which||39===a.keyCode)&&m),console.log(m),console.log("Next"),z.hasClass("tabs-item")?z.focus():f.focus(),m=!1,r(c,39))});$(".feature-tabs .tabs-item").click(function(){var a=$(this).index(),e=$(this).parents(".tabbed-feature");d(e,a)});$(".tabbed-feature").each(function(a,e){a=$(e);d(a,0)});window.addEventListener("resize",aniCommon.utility.delayCall(function(){p!=$(window).width()&&(p=$(window).width(),$(".tabbed-feature").each(function(a,e){a=$(e);a.find(".tab-feature-main-content").removeClass("height-changed").removeAttr("style"); a.find(".tabs-item").eq(0).hasClass("active")&&a.find(".tabs-item").eq(0).removeClass("active");d(a,0)}))},500));var q,l,w,v,u,n,x,y;(function(){function a(c){c=c.parents(".tabbed-feature");q=l-w;v=u-n;if(parseInt(Math.sqrt(q*q+v*v),10)Math.abs(u-n))return c.find(".next").click(),"left";if(l-w>Math.abs(u-n))return c.find(".previous").click(),"right"}y=15;l=u=w=n=0;x=(new Date).getTime();for(var e=document.getElementsByClassName("feature-tabs"),b=0;b{r[g].querySelectorAll(".ms-rte-link").forEach(function(q){q.setAttribute("tabindex",g===p?"0":"-1")})})}setTimeout(function(){var p=[].slice.call(document.querySelectorAll(".autoplay-carousel-lazyload"));if("IntersectionObserver"in window){var m=new window.IntersectionObserver(function(g,q){g.forEach(function(l,w){if(l.isIntersecting){for(var v in l.target.children){var u=l.target.children[v];"string"===typeof u.tagName&&"SOURCE"=== u.tagName&&(u.src=u.dataset.src)}l.target.load();l.target.classList.remove("autoplay-carousel-lazyload");m.unobserve(l.target);0===w&&setTimeout(function(){l.target.play()},100)}})});p.forEach(function(g){m.observe(g)})}},0);const k=document.querySelector(".feature-tabs"),h=document.querySelectorAll(".feature-tabs .tabs-item"),r=document.querySelectorAll(".tab-feature-content");k.addEventListener("click",function(p){if(p=p.target.closest(".tabs-item"))p=Array.prototype.indexOf.call(h,p),d(p)});setTimeout(function(){d(0)}, 300)});