/* npm.im/object-fit-images 3.2.4 */ 'use strict';var aniGlobal=aniGlobal||{};"use strict"; (function(){(function(c){var h=void 0===c.firstLoad;c.firstLoad=!1;return h})(aniGlobal)&&(aniGlobal.objectFitImages=function(){function c(a){if(a.srcset&&!w&&window.picturefill){var b=window.picturefill._;a[b.ns]&&a[b.ns].evaled||b.fillImg(a,{reselect:!0});a[b.ns].curSrc||(a[b.ns].supported=!1,b.fillImg(a,{reselect:!0}));a.currentSrc=a[b.ns].curSrc||a.src}}function h(a){for(var b=getComputedStyle(a).fontFamily,e={};null!==(a=p.exec(b));)e[a[1]]=a[2];return e}function f(a,b,e){b="data:image/svg+xml,%3Csvg xmlns\x3d'http://www.w3.org/2000/svg' width\x3d'"+ (b||1)+"' height\x3d'"+(e||0)+"'%3E%3C/svg%3E";y.call(a,"src")!==b&&d.call(a,"src",b)}function q(a,b){a.naturalWidth?b(a):setTimeout(q,100,a,b)}function r(a){var b=h(a),e=a[n];if(b["object-fit"]=b["object-fit"]||"fill",!e.img)if("fill"===b["object-fit"]||!e.skipTest&&u&&!b["object-position"])return;if(!e.img){e.img=new Image(a.width,a.height);e.img.srcset=y.call(a,"data-ofi-srcset")||a.srcset;e.img.src=y.call(a,"data-ofi-src")||a.src;d.call(a,"data-ofi-src",a.src);a.srcset&&d.call(a,"data-ofi-srcset", a.srcset);f(a,a.naturalWidth||a.width,a.naturalHeight||a.height);a.srcset&&(a.srcset="");try{m(a)}catch(l){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}c(e.img);a.style.backgroundImage='url("'+(e.img.currentSrc||e.img.src).replace(/"/g,'\\"')+'")';a.style.backgroundPosition=b["object-position"]||"center";a.style.backgroundRepeat="no-repeat";a.style.backgroundOrigin="content-box";/scale-down/.test(b["object-fit"])?q(e.img,function(){e.img.naturalWidth>a.width||e.img.naturalHeight> a.height?a.style.backgroundSize="contain":a.style.backgroundSize="auto"}):a.style.backgroundSize=b["object-fit"].replace("none","auto").replace("fill","100% 100%");q(e.img,function(l){f(a,l.naturalWidth,l.naturalHeight)})}function m(a){var b={get:function(e){return a[n].img[e?e:"src"]},set:function(e,l){return a[n].img[l?l:"src"]=e,d.call(a,"data-ofi-"+l,e),r(a),e}};Object.defineProperty(a,"src",b);Object.defineProperty(a,"currentSrc",{get:function(){return b.get("currentSrc")}});Object.defineProperty(a, "srcset",{get:function(){return b.get("srcset")},set:function(e){return b.set(e,"srcset")}})}function g(a,b){var e=!k&&!a;if(b=b||{},a=a||"img",v&&!b.skipTest||!x)return!1;"img"===a?a=document.getElementsByTagName("img"):"string"==typeof a?a=document.querySelectorAll(a):"length"in a||(a=[a]);for(var l=0;lc.top&&c.bottom>window.innerHeight)return!0},checkElementInView:function(c){c= c.getBoundingClientRect();return 0<=c.top&&0<=c.left&&c.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&c.right<=(window.innerWidth||document.documentElement.clientWidth)},checkPanelInView:function(c,h){c=document.querySelector(".".concat(c)).getBoundingClientRect();void 0===h&&(h=1);return 0>c.top?!0:0<=c.top&&0<=c.left&&c.bottom-c.height*h<=(window.innerHeight||document.documentElement.clientHeight)&&c.right<=(window.innerWidth||document.documentElement.clientWidth)}}}(),aniGlobal.utility= function(){return{debounce:function(c,h,f){var q;return function(){var r=this,m=arguments,g=f&&!q;clearTimeout(q);q=setTimeout(function(){q=null;f||c.apply(r,m)},h);g&&c.apply(r,m)}}}}(),aniGlobal.lineAnimation=function(){return{langSupported:function(){var c=document.querySelector("html").getAttribute("lang");return"ja-jp"==c||"zh-hk"==c||"zh-cn"==c||"zh-tw"==c?!1:!0},lineBreakText:function(c){for(var h=c.length,f=0;fr&&(g.innerHTML=g.innerHTML.slice(0,g.innerHTML.length-p.length),g=document.createElement(c[f].tagName),g.style.margin="0",g.style.padding="0",g.classList.add("animate-text"),c[f].classList.contains("currently-focused")&&g.classList.add("currently-focused"),m.appendChild(g),g.innerHTML+=p)}c[f].parentElement.removeChild(c[f])}},revertLineBreakText:function(c){for(var h=0;h{aniCommon.isReducedAnimation=aniCommon.utility.reducedAnimation()}))})(); $(document).ready(function(){function c(d,k){if(r){r=!1;var a=d.parents(".product-lineup");d=$(window).width();var b=a.find(".item").outerWidth(),e=a.find(".list-items").scrollLeft(),l=parseInt(a.find(".list-items").css("padding-left")),z=a.find(".indicators-list .indicator-item").length,A=a.find(".list-items .item").length;b=(A*b+l)/z;l=a.find(".indicators-list .indicator-item.active");a.find(".indicators-list .indicator-item").removeClass("active");"previous"===k?(l.prev().hasClass("indicator-item")? l.prev().addClass("active"):l.addClass("active"),z==A||1083<=d?a.find(".list-items").animate({scrollLeft:e-b},1E3):a.find(".list-items").animate({scrollLeft:e-b-10},1E3)):(l.next().hasClass("indicator-item")?l.next().addClass("active"):l.addClass("active"),z==A||1083<=d?a.find(".list-items").animate({scrollLeft:e+b},1E3):a.find(".list-items").animate({scrollLeft:e+b+10},1E3));setTimeout(function(){h(a,!0,!0);r=!0},1E3)}}function h(d,k,a){var b=Math.ceil(d.find(".list-items").scrollLeft()),e=d.find(".list-items").get(0).offsetWidth, l=d.find(".list-items").get(0).scrollWidth;0==b?(d.find(".previous").attr("disabled","disabled"),k&&a?d.find(".next").removeAttr("disabled").focus():d.find(".next").removeAttr("disabled")):(b+e>=l?(d.find(".next").attr("disabled","disabled"),k&&a&&d.find(".previous").removeAttr("disabled").focus()):d.find(".next").removeAttr("disabled"),d.find(".previous").removeAttr("disabled"))}function f(d){var k=d.find(".list-items .item .pl-heading");k.removeAttr("style");var a=Math.max.apply(null,k.map(function(){return $(this).outerHeight()}).get()); k.css("height",a);k=d.find(".list-items .item .c-paragraph-2");k.removeAttr("style");a=Math.max.apply(null,k.map(function(){return $(this).outerHeight()}).get());k.css("height",a);d=d.find(".list-items .item .c-call-to-action");d.removeAttr("style");k=Math.max.apply(null,d.map(function(){return $(this).outerHeight()}).get());d.css("height",k)}function q(d){var k=d.find(".list-items .item").length,a=$(window).width(),b=d.find(".list-items").get(0).offsetWidth,e=$(".item").outerWidth(),l=parseInt(d.find(".list-items").css("padding-left")); k=1083<=a?Math.ceil(k/Math.floor(b/e)):Math.ceil(k/Math.floor((a+l)/e));d.find(".indicators-list .indicator-item").remove();a="active";if(1=k&&d<=a&&(b.find(".next").removeAttr("disabled"),b.find(".previous").removeAttr("disabled"))}}});$(".product-lineup").each(function(d,k){var a=$(k);setTimeout(function(){q(a);h(a,!1,!1);f(a)},500)});window.addEventListener("resize",aniCommon.utility.delayCall(function(){m!= $(window).width()&&(m=$(window).width(),$(".product-lineup").each(function(d,k){d=$(k);d.find(".list-items").scrollLeft(0);q(d);h(d,!1,!1);f(d)}))},500));var n,p,t,u,v,x,w,y;(function(){function d(b){b.parents(".surface-accolades");n=p-t;u=v-x;if(parseInt(Math.sqrt(n*n+u*u),10)Math.abs(v-x))return $(".product-lineup .next").click(),"left";if(p-t>Math.abs(v-x))return $(".product-lineup .previous").click(),"right"}y=15;p=v=t=x=0;w=(new Date).getTime();for(var k=document.getElementsByClassName("product-lineup"), a=0;a