/* 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=m.exec(c));)f[b[1]]=b[2];return f}function g(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 q(b){var c=k(b),f=b[p];if(c["object-fit"]=c["object-fit"]||"fill",!f.img)if("fill"===c["object-fit"]||!f.skipTest&&u&&!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);g(b,b.naturalWidth||b.width,b.naturalHeight||b.height);b.srcset&&(b.srcset="");try{l(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).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){g(b,t.naturalWidth,t.naturalHeight)})}function l(b){var c={get:function(f){return b[p].img[f?f:"src"]},set:function(f,t){return b[p].img[t?t:"src"]=f,a.call(b,"data-ofi-"+t,f),q(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 h(b,c){var f=!e&&!b;if(c=c||{},b=b||"img",v&&!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,g){var r;return function(){var q=this,l=arguments,h=g&&!r;clearTimeout(r);r=setTimeout(function(){r=null;g||d.apply(q,l)},k);h&&d.apply(q,l)}}}}(),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,g=0;gq&&(h.innerHTML=h.innerHTML.slice(0,h.innerHTML.length-m.length),h=document.createElement(d[g].tagName),h.style.margin="0",h.style.padding="0",h.classList.add("animate-text"),d[g].classList.contains("currently-focused")&&h.classList.add("currently-focused"),l.appendChild(h),h.innerHTML+=m)}d[g].parentElement.removeChild(d[g])}},revertLineBreakText:function(d){for(var k=0;k{aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation()}))})();var aniScroll=aniScroll||{};"use strict"; (function(){function d(){setTimeout(function(){m={};$("[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);m[n]= {};var b=$(e.target).offset().top,c=b+$(e.target).height(),f=getComputedStyle($(e.target)[0]).transform;"none"===f?h=f=0:(f=parseFloat(getComputedStyle($(e.target)[0]).transform.split(",")[5]),h=parseFloat(getComputedStyle($(e.target)[0]).transform.split(",")[4]));var t=parseInt($(e.target).attr("data-s-wdg"));t=$(window).height()*(-1*t/100)+f;m[n].top=b;m[n].bottom=c;m[n].originaltransform=f;m[n].originalleft=h;m[n].belowadjust=t;n++}-1p&&-100m[n].bottom&&$(this).css("transform","translate3d("+m[n].originalleft+"px,"+m[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 g,r,q,l,h,p,m,w,u={top:0, dead:0,bottom:0},v={top:0,dead:0,bottom:0};$(window).on("load scroll",function(){if(0<$(".s-wdgActive").length||0<$(".s-wdgToReset").length)g=void 0===r?$(window).scrollTop():r,r=$(window).scrollTop(),p=r-g,q=$(window).height(),l=q/3,u.top=$(window).scrollTop(),u.dead=$(window).scrollTop()+l,u.bottom=$(window).scrollTop()+180+l,v.top=$(window).scrollTop()+q-180-l,v.dead=$(window).scrollTop()+q-180,v.bottom=$(window).scrollTop()+q,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");m={};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')})})();h?($(".tabbed-feature .next").click(function(){var a=$(this).parents(".tabbed-feature");g(a,!1)}),$(".tabbed-feature .previous").click(function(){var a=$(this).parents(".tabbed-feature");g(a,!0)})):($(".tabbed-feature .next").click(function(){var a=$(this).parents(".tabbed-feature");g(a,!0)}),$(".tabbed-feature .previous").click(function(){var a=$(this).parents(".tabbed-feature");g(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||!l||(console.log("(e.which \x3d\x3d\x3d 37 || e.keyCode \x3d\x3d\x3d 37) \x26\x26 keyeventproceed :"+(37===a.which||37===a.keyCode)&&l),console.log(l),console.log("Previous"),e.hasClass("tabs-item")?e.focus():t.focus(),l=!1,r(c,37));39!==a.which&&39!==a.keyCode||!l||(console.log("(e.which \x3d\x3d\x3d 39 || e.keyCode \x3d\x3d\x3d 39) \x26\x26 keyeventproceed :"+ (39===a.which||39===a.keyCode)&&l),console.log(l),console.log("Next"),z.hasClass("tabs-item")?z.focus():f.focus(),l=!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(){q!=$(window).width()&&(q=$(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 p,m,w,u,v,n,x,y;(function(){function a(c){c=c.parents(".tabbed-feature");p=m-w;u=v-n;if(parseInt(Math.sqrt(p*p+u*u),10)Math.abs(v-n))return c.find(".next").click(),"left";if(m-w>Math.abs(v-n))return c.find(".previous").click(),"right"}y=15;m=v=w=n=0;x=(new Date).getTime();for(var e=document.getElementsByClassName("feature-tabs"),b=0;b