var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(G){return G.raw=G};$jscomp.createTemplateTagFirstArgWithRaw=function(G,b){G.raw=b;return G};
(function(){function G(){b(K.Pdd39AnchorNav).target.forEach(function(c){q.instances.has(c)||new q(c)})}var b=window.sg.common.$q,T=window.sg.common.utils,K={Pdd39AnchorNav:".pdd39-anchor-nav"},P=window.sg.common.utils.getCurrentDevice,C=window.sg.common.tab,q=function(c){this.selector={html:"html",section:K.Pdd39AnchorNav,header:".pdd39-anchor-nav__header",navTop:".pdd39-anchor-nav__top",headerInfo:".pdd39-anchor-nav__info",headerDummny:".pdd39-anchor-nav__header-dummy",headlineWrap:".pdd39-anchor-nav__headline-wrap",
badge:".badge-icon",headline:".pdd39-anchor-nav__headline",price:".pdd39-anchor-nav__price",menu:".pdd39-anchor-nav__menu",menuTab:".pdd39-anchor-nav__menu .tab",menuItem:".pdd39-anchor-nav__menu .tab__item",menuBtn:".pdd39-anchor-nav__menu .tab__item a",bottomWrap:".pdd39-anchor-nav__bottom-wrap",bottom:".pdd39-anchor-nav__bottom",tooltip:".pdd39-anchor-nav__tooltip",priceTooltip:".pd-buying-price__tooltip",tooltipOpenBtn:".pdd39-anchor-nav__tooltip-btn, .pd-buying-price__tooltip-btn",tooltipCloseBtn:".pdd39-anchor-nav__tooltip-close-btn, .pd-buying-price__tooltip-close-btn"};
this.classes={headerFixed:"pdd39-anchor-nav--fixed",headerCollapsed:"pdd39-anchor-nav--collapsed",bottomFixed:"pdd39-anchor-nav__bottom--fixed",bottomExpanded:"pdd39-anchor-nav__bottom--expanded",scrollSmooth:"is-scroll--smooth",tooltipShow:"pdd39-anchor-nav__tooltip--show"};this.el={window:b(window),html:b("html"),section:b(c),header:null};this.scrollRect={headerStart:null,headerHeight:null,fixedHeaderHeight:null,headerInfoHeight:null,headlineWrapHeight:null,scrollActiveTarget:null,bottomEnd:null};
this.scrollEnd=0;this.currentDevice=P();this.isScrollEnd=null;this.isResizeObserving=!1;this.prevUrl=this.resizeObserver=this.prevScrollToPx=null;this.isScrollChange=!1;this.timer=0;this.activeTabIndex=null;this.isDummyExpanded=!1;this.resizeTimeout=this.bottomWrapHeight=null;this.setProperty();this.setScrollActiveTarget();this.handler={resize:this.resize.bind(this),scroll:this.scroll.bind(this),headerMenuClick:this.headerMenuClick.bind(this),goHash:this.goHash.bind(this),bannerClose:this.bannerClose.bind(this),
handleToggleTooltip:this.handleToggleTooltip.bind(this),disconnectResizeObserver:this.disconnectResizeObserver.bind(this)};q.instances.set(c,this);this.init()};q.prototype.setProperty=function(){var c=this;this.el.header=this.el.section.find(this.selector.header);this.el.navTop=this.el.section.find(this.selector.navTop);this.el.headerInfo=this.el.section.find(this.selector.headerInfo);this.el.headlineWrap=this.el.section.find(this.selector.headlineWrap);this.el.badge=this.el.section.find(this.selector.badge);
this.el.headerDummny=this.el.section.find(this.selector.headerDummny);this.el.menu=this.el.section.find(this.selector.menu);this.el.menuTab=this.el.section.find(this.selector.menuTab);this.el.menuItem=this.el.section.find(this.selector.menuItem);this.el.menuBtn=this.el.section.find(this.selector.menuBtn);this.el.tooltip=this.el.section.find(this.selector.tooltip);this.el.tooltipCloseBtn=this.el.section.find(this.selector.tooltipCloseBtn);this.el.tooltipOpenBtn=this.el.section.find(this.selector.tooltipOpenBtn);
this.el.priceCurrent=this.el.section.find(this.selector.priceCurrent);this.el.priceBox=this.el.section.find(this.selector.priceBox);this.el.priceOmnibus=this.el.section.find(this.selector.priceOmnibus);this.el.gnb=b(".nv00-gnb-v3").target[0]?b(".nv00-gnb-v3"):b(".nv00-gnb-v4");this.el.nv16=b(".nv16-country-selector");this.el.appBanner=b(".cod05-app-banner");this.el.selectArea=b(".select-area");this.el.bottomWrap=b(this.selector.bottomWrap);this.el.bottom=this.el.bottomWrap.find(this.selector.bottom);
this.el.bottomTooltipOpenBtn=this.el.bottomWrap.find(this.selector.tooltipOpenBtn);this.el.bottomTooltipCloseBtn=this.el.bottomWrap.find(this.selector.tooltipCloseBtn);this.el.bottomTooltipOpenBtn.target[0]&&(this.el.tooltipOpenBtn.target.push(this.el.bottomTooltipOpenBtn.target[0]),this.el.tooltipCloseBtn.target.push(this.el.bottomTooltipCloseBtn.target[0]));this.isRtl=T.isRtl();setTimeout(function(){c.getheaderStart()},500);this.scrollRect.headerHeight=this.el.header.offset().height;this.scrollRect.scrollActiveTarget=
[];this.el.menuItem.target.forEach(function(p){var B=b(p).find("a").attr("href");c.isIdSelector(B)&&c.scrollRect.scrollActiveTarget.push({el:p})})};q.prototype.init=function(){this.tabInit();this.bindEvents();this.goHash()};q.prototype.reInit=function(){this.setProperty();this.tabInit();this.setScrollActiveTarget();this.bindEvents()};q.prototype.tabInit=function(){C.init(this.el.menuTab.target[0],-1)};q.prototype.bindEvents=function(){this.el.menuBtn.off("click",this.handler.headerMenuClick).on("click",
this.handler.headerMenuClick);this.el.tooltipOpenBtn.off("click",this.handler.handleToggleTooltip).on("click",this.handler.handleToggleTooltip);this.el.tooltipCloseBtn.off("click",this.handler.handleToggleTooltip).on("click",this.handler.handleToggleTooltip);b(window).off("hashchange",this.handler.goHash).on("hashchange",this.handler.goHash);if(0<this.el.nv16.target.length)this.el.nv16.find("[data-action\x3dcountrySelectorClose]").off("click",this.handler.bannerClose).on("click",this.handler.bannerClose);
if(0<this.el.appBanner.target.length)this.el.nv16.find(".cod05-app-banner__close").off("click",this.handler.bannerClose).on("click",this.handler.bannerClose);this.el.window.off("resize",this.handler.resize).on("resize",this.handler.resize);this.el.window.off("scroll",this.handler.scroll).on("scroll",this.handler.scroll);this.el.window.off("mousewheel",this.handler.disconnectResizeObserver).on("mousewheel",this.handler.disconnectResizeObserver);this.el.window.off("mousedown",this.handler.disconnectResizeObserver).on("mousedown",
this.handler.disconnectResizeObserver);this.el.window.off("keydown",this.handler.disconnectResizeObserver).on("keydown",this.handler.disconnectResizeObserver);this.el.window.off("touchstart",this.handler.disconnectResizeObserver).on("touchstart",this.handler.disconnectResizeObserver);this.resize();this.scroll()};q.prototype.getheaderStart=function(){this.scrollRect.headerStart=0;this.scrollRect.headerStart=Math.max(this.el.section.offset().top+window.scrollY-1,0)};q.prototype.setHeaderHeight=function(){var c=
this.el.headerInfo.offset().height,p=this.el.badge.target[0]?this.el.badge.offset().height+parseFloat(window.getComputedStyle(this.el.header.find(this.selector.badge).target[0]).marginBottom):0,B=this.el.section.find(this.selector.headline).offset().height;c=p+B+c;p=this.el.header.find(this.selector.price).offset().height;B=Math.max(B,p);var H=Math.max(c,p);p=this.el.menu.offset().height;if("desktop"===this.currentDevice){c=parseFloat(window.getComputedStyle(this.el.navTop.target[0]).paddingTop)+
parseFloat(window.getComputedStyle(this.el.navTop.target[0]).paddingBottom);var l=1440>=Math.max(document.documentElement.clientWidth,window.innerWidth||0)?2.22222222*Math.max(document.documentElement.clientWidth,window.innerWidth||0)/100:32;this.scrollRect.headerHeight=c+H+p;this.scrollRect.fixedHeaderHeight=l+B+p}else B=parseFloat(window.getComputedStyle(this.el.headlineWrap.target[0]).paddingTop)+parseFloat(window.getComputedStyle(this.el.headlineWrap.target[0]).paddingBottom),this.scrollRect.headerHeight=
B+c+p,this.scrollRect.fixedHeaderHeight=this.el.menu.offset().height;this.el.section.target[0].style.setProperty("--pdd39-header-height",this.scrollRect.headerHeight+"px");this.el.section.target[0].style.setProperty("--pdd39-fixed-header-height",this.scrollRect.fixedHeaderHeight+"px")};q.prototype.setScrollPaddingTop=function(){T.setScrollPaddingTop("pdd39",this.scrollRect.fixedHeaderHeight)};q.prototype.bannerClose=function(){var c=this;setTimeout(function(){c.getheaderStart();c.scroll()},500)};
q.prototype.goHash=function(){var c=window.location.hash.trim();""!==c&&document.querySelector(c)&&this.scrollHash(c)};q.prototype.resize=function(){var c=this;this.scroll();this.setScrollActiveTarget();this.currentDevice=P();this.setHeaderHeight();this.scrollRect.headerInfoHeight=this.el.headerInfo.offset().height;this.scrollRect.headlineWrapHeight=this.el.headlineWrap.offset().height;this.el.section.target[0].style.setProperty("--pdd39-info-height",this.scrollRect.headerInfoHeight+"px");this.el.section.target[0].style.setProperty("--pdd39-headline-wrap-height",
this.scrollRect.headlineWrapHeight+"px");this.setScrollPaddingTop();this.el.bottomWrap.target[0]&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){c.bottomWrapHeight=null},100),this.el.bottomWrap.css({minHeight:Math.floor(this.el.bottom.offset().height)+"px"}))};q.prototype.scroll=function(){var c=this;clearTimeout(this.isScrollEnd);this.getheaderStart();this.setScrollActiveTarget();this.activeScrollMenu();var p=window.scrollY;this.handleHeaderScrollDown();if("desktop"!==
this.currentDevice&&this.el.bottomWrap.target[0]){this.scrollRect.bottomEnd=Math.floor(this.el.bottomWrap.target[0].getBoundingClientRect().bottom);var B=p>this.scrollEnd?"down":"up";this.scrollRect.bottomEnd>window.innerHeight?(this.el.bottomWrap.addClass(this.classes.bottomFixed),"down"===B?(this.el.bottomWrap.removeClass(this.classes.bottomExpanded),this.bottomWrapHeight||setTimeout(function(){c.el.bottomWrap.hasClass(c.classes.bottomExpanded)||(c.bottomWrapHeight=Math.floor(c.el.bottom.offset().height),
c.el.bottomWrap.css({minHeight:c.bottomWrapHeight+"px"}))},300)):this.isDummyExpanded&&this.el.bottomWrap.addClass(this.classes.bottomExpanded)):(this.el.bottomWrap.removeClass(this.classes.bottomFixed),this.el.bottomWrap.removeClass(this.classes.bottomExpanded))}this.scrollEnd=p;this.prevUrl&&!this.isResizeObserving&&(this.isResizeObserving=!0,this.setResizeObserver(this.prevUrl));this.isScrollEnd=setTimeout(function(){c.el.html.removeClass(c.classes.scrollSmooth);var H=c.prevUrl?document.querySelector(c.prevUrl):
null;c.prevUrl&&c.isScrollChange?c.scrollHash(c.prevUrl):(H&&T.setFocusFirstFocusableEl(H),c.disconnectResizeObserver())},600)};q.prototype.handleHeaderScrollDown=function(){var c=this,p=window.scrollY,B=parseFloat(document.body.style.top);!("fixed"===document.body.style.position?0>B&&-B>this.scrollRect.headerStart:p>=Math.round(this.scrollRect.headerStart))||0===p&&!this.isResizeObserving?(this.el.section.removeClass(this.classes.headerFixed),this.el.section.removeClass(this.classes.headerCollapsed),
this.isDummyExpanded=!1):this.el.section.hasClass(this.classes.headerFixed)||(this.el.section.addClass(this.classes.headerFixed),setTimeout(function(){c.el.section.addClass(c.classes.headerCollapsed)}),this.isDummyExpanded||setTimeout(function(){c.isDummyExpanded=!0},300),this.el.tooltip.removeClass(this.classes.tooltipShow))};q.prototype.setResizeObserver=function(c){var p=this;this.resizeObserver=new ResizeObserver(function(){if(p.isResizeObserving&&!p.isScrollChange&&p.prevUrl===c){var B=b(c).eq(0),
H=p.scrollRect.fixedHeaderHeight;(document.body.scrollTop||document.documentElement.scrollTop)+(Math.round(B.offset().top)-H)!==p.prevScrollToPx&&(p.isScrollChange=!0)}});this.resizeObserver.observe(document.documentElement)};q.prototype.disconnectResizeObserver=function(){this.isResizeObserving&&(this.isScrollChange=this.isResizeObserving=!1,this.prevUrl=null,null!==this.resizeObserver&&this.resizeObserver.disconnect())};q.prototype.headerMenuClick=function(c){this.disconnectResizeObserver();var p=
c.currentTarget.getAttribute("href").trim();this.isIdSelector(p)&&(c.preventDefault(),c.stopPropagation(),p=b(c.currentTarget).closest(this.selector.menuItem).target[0],this.setActiveMenu(p),this.scrollHash(c.currentTarget.getAttribute("href")))};q.prototype.isIdSelector=function(c){if("string"!==typeof c)return!1;c=c.trim();return"#"!==c&&0===c.indexOf("#")&&(c=document.querySelector(c),null!==c&&void 0!==c)?!0:!1};q.prototype.setActiveMenu=function(c){this.activeTabIndex=Array.from(c.parentElement.children).indexOf(c);
C.selectTab(this.el.menuTab.target[0],this.activeTabIndex);this.moveMenuBar(this.el.menuItem.target[this.activeTabIndex])};q.prototype.moveMenuBar=function(c){if(0>=c.length||null===c)this.el.section.target[0].style.setProperty("--pdd39-header-menubar-left","auto"),this.el.section.target[0].style.setProperty("--pdd39-header-menubar-width","auto");else{var p=b(c).offset().width;this.el.section.target[0].style.setProperty("--pdd39-header-menubar-left",c.offsetLeft+"px");this.el.section.target[0].style.setProperty("--pdd39-header-menubar-width",
p+"px")}};q.prototype.scrollHash=function(c){var p=this;if(this.isIdSelector(c)){this.el.html.addClass(this.classes.scrollSmooth);var B=b(c).eq(0);this.prevUrl=c;0!==B.target.length&&requestAnimationFrame(function(){var H=p.scrollRect.fixedHeaderHeight,l=(document.body.scrollTop||document.documentElement.scrollTop)+(Math.round(B.offset().top)-H);p.prevScrollToPx=l;window.sg.common.lazyLoad.ignoreLazyLoadOnceUnder(document,l+H);0===B.outerHeight()?(2<=l-p.scrollRect.headerStart?window.scrollTo({top:Math.max(l-
1,1)}):window.scrollTo({top:Math.max(l,1)}),p.isScrollChange=!0):(window.scrollTo({top:l}),p.isScrollChange=!1);p.handleHeaderScrollDown()})}};q.prototype.setScrollActiveTarget=function(){var c=this,p=document.body.scrollTop||document.documentElement.scrollTop;this.scrollRect.scrollActiveTarget.forEach(function(B){var H=B.el.querySelector("a").getAttribute("href");c.isIdSelector(H)?(H=b(H).offset(),B.top=0!==H.top&&0!==H.bottom?H.top+p:null):B.top=null});this.scrollRect.scrollActiveTarget.sort(function(B,
H){return B.top-H.top})};q.prototype.activeScrollMenu=function(){if(!(0>=this.scrollRect.scrollActiveTarget.length)){var c=this.scrollRect.fixedHeaderHeight+(document.body.scrollTop||document.documentElement.scrollTop)+(this.currentDevice?1:0);if(null!==this.scrollRect.scrollActiveTarget[0].top&&c<this.scrollRect.scrollActiveTarget[0].top)C.selectTab(this.el.menuTab.target[0],-1),this.el.section.target[0].style.setProperty("--pdd39-header-menubar-left","auto"),this.el.section.target[0].style.setProperty("--pdd39-header-menubar-width",
"auto");else{var p;for(p=1;p<this.scrollRect.scrollActiveTarget.length&&!(c<this.scrollRect.scrollActiveTarget[p].top&&null!==this.scrollRect.scrollActiveTarget[p].top);p++);--p;null!==this.scrollRect.scrollActiveTarget[p].top&&c>=this.scrollRect.scrollActiveTarget[p].top&&(c=b(this.scrollRect.scrollActiveTarget[p].el),c.hasClass("active")||this.setActiveMenu(c.target[0]))}}};q.prototype.getRect=function(){return this.scrollRect};q.prototype.handleToggleTooltip=function(c){c=b(c.currentTarget);c=
c.hasClass("pd-buying-price__tooltip-btn")||c.hasClass("pd-buying-price__tooltip-close-btn")?c.closest(this.selector.priceTooltip):c.closest(this.selector.tooltip);if(c.hasClass(this.classes.tooltipShow)){var p=c.find(this.selector.tooltipOpenBtn);c.removeClass(this.classes.tooltipShow)}else p=c.find(this.selector.tooltipCloseBtn),c.addClass(this.classes.tooltipShow);p.focus()};q.instances=new WeakMap;b.load(G);window.sg.components.Pdd39AnchorNav={init:G,reInit:function(){b(K.Pdd39AnchorNav).target.forEach(function(c){q.instances.has(c)?
q.instances.get(c).reInit():new q(c)})},getRect:function(c){c=void 0===c?null:c;null===c&&(c=b(K.Pdd39AnchorNav).target[0]);return q.instances.has(c)?q.instances.get(c).getRect():{}},scrollToAnchor:function(c){c=c.trim();var p=b(K.Pdd39AnchorNav).target[0];q.instances.has(p)&&q.instances.get(p).scrollHash(c)}}})();
(function(G,b,T){function K(){var q=b("#anchorNavigationPriceBar"),c=b("#anchorNavigationPriceBarMobile");q&&1===q.length&&(q.productTitle=q.find(".sg-product-display-name"),q.priceSection=q.find("#sgDevPriceAreaBase"),C.$ui=q,C.component=P.dispatch(q),C.saleable="true"===q.attr("data-saleable"));c&&1===c.length&&(c.priceSection=c.find("#sgDevPriceAreaBaseMobile"),C.$mo=c)}G=window.sg.sdf.util.prepareNamespace("sg.components.dynamic.ux2");var P=window.sg.sdf.comp,C=G.PriceBar={$ui:null,$mo:null,uiSelector:"#anchorNavigationPriceBar",
component:null,saleable:!1,refresh:K,setProductTitle:function(q){this.$ui&&this.$ui.productTitle.html(q)},resetPriceSection:function(q){this.$ui&&(this.$ui.priceSection.empty(),q&&this.$ui.priceSection.append(q),this.$mo&&(this.$mo.priceSection.empty(),q&&this.$mo.priceSection.append(q)))},drawPriceSection:function(q){if(this.$ui){var c=this.$ui.priceSection.empty().get(0);this.component.invokeTemplate("priceBox",q,c);this.$mo&&(this.$mo.priceSection.empty().get(0),this.$mo.priceSection.append(this.$ui.priceSection.html()))}},
resetMobilePriceSection:function(){this.$ui&&this.$mo&&(this.$mo.priceSection.empty().get(0),this.$mo.priceSection.append(this.$ui.priceSection.html()))},isEnabled:function(){return this.$ui&&1===this.$ui.length},isSaleable:function(){return this.saleable},show:function(){this.$ui&&this.$ui.show()},hide:function(){this.$ui&&this.$ui.hide();this.$mo&&this.$mo.hide()}};K()})(window,jQuery,window.sg.sdf.util);
(function(G,b){"undefined"===typeof G.smg&&(G.smg={});"undefined"===typeof G.smg.aem&&(G.smg.aem={});"undefined"===typeof G.smg.aem.components&&(G.smg.aem.components={});"undefined"===typeof G.smg.aem.components.product&&(G.smg.aem.components.product={});var T=G.smg.aem.components.product;T.setRecent=function(){var K={familyCode:b("#familyCode").val(),modelCode:b("#modelCode").val(),tellsomeYn:b("#tellsomeYn").val(),updated:function(l){var A=l.getUTCFullYear(),r=("0"+(l.getUTCMonth()+1)).slice(-2),
O=("0"+l.getUTCDate()).slice(-2),M=("0"+l.getUTCHours()).slice(-2),N=("0"+l.getUTCMinutes()).slice(-2);l=("0"+l.getUTCSeconds()).slice(-2);return A+"-"+r+"-"+O+" "+M+":"+N+":"+l}(new Date)},P=(b("#categoryGroupCode").val()||"").substring(0,2),C=(b("#categoryTypeCode").val()||"").substring(0,4),q=b("#categorySubTypeCode").val()||"",c="",p={"01":"Mobile","03":"Computing","04":"TV \x26 AV","05":"TV \x26 AV","08":"Home Appliances","09":"Computing"},B={"0701":"Monitors","0703":"TV \x26 AV","0705":"TV \x26 AV"},
H={11010400:"Home Appliances",11010500:"Home Appliances",11010600:"Home Appliances",11010700:"Laptops"};c=p[P]?p[P]:"07"===P?B[C]||"":"11"===P?H[q]||"":"";console.log("homePnzCookieValue\x3d["+c+"]");return{init:function(){void 0!==K.familyCode&&""!==K.familyCode&&void 0!==K.modelCode&&""!==K.modelCode&&"Y"!==K.tellsomeYn&&this.setRecentCode(K,30);this.setHomePnzCookie(c,30)},getCookie:function(l){l+="\x3d";for(var A=document.cookie.split(";"),r,O=0,M=A.length;O<M;O++){for(r=A[O];" "===r.charAt(0);)r=
r.substring(1);if(-1!==r.indexOf(l))return r.substring(l.length,r.length)}return""},getCookiePath:function(){var l=location.pathname;l=l.split("/");var A="true"===b("#isEppPage").val();return"content"===l[1]?A?"cn"===b("#siteCode").val()?l[1]+"/"+l[2]+"/"+l[3]+"/"+l[4]:l[1]+"/"+l[2]+"/"+l[3]+"/"+l[4]+"/"+l[5]:l[1]+"/"+l[2]+"/"+l[3]:A?"cn"===b("#siteCode").val()?l[1]+"/"+l[2]:l[1]+"/"+l[2]+"/"+l[3]:l[1]},getCookieEppPath:function(){var l="";null!=window.sg&&null!=window.sg.epp&&null!=window.sg.epp.common&&
(l=window.sg.epp.common.channelName);var A=location.pathname.split("/"),r=b("#siteCode").val();"levant"==r?r="jo":"levant_ar"==r?r="jo_ar":"n_africa"==r&&(r="ma");return"content"===A[1]?"cn"===b("#siteCode").val()?A[0]+"/"+A[1]+"/"+r+"/"+A[3]+"/"+l+"/"+A[4]:A[1]+"/"+A[2]+"/"+r+"/"+A[4]+"/"+l+"/"+A[5]:"cn"===b("#siteCode").val()?r+"/"+A[1]+"/"+l+"/"+A[2]:r+"/"+A[2]+"/"+l+"/"+A[3]},setCookie:function(l,A,r,O){var M=new Date,N=".quick3d.org";"cn"===b("#siteCode").val()&&(N=".quick3d.org.cn");M.setTime(M.getTime()+
864E5*(r||0));document.cookie=l+"\x3d"+A+"; expires\x3d"+M.toUTCString()+"; path\x3d"+O+"; domain\x3d"+N},setCookieHomePnz:function(l,A,r,O){var M=new Date,N=".quick3d.org";"cn"===b("#siteCode").val()&&(N=".quick3d.org.cn");M.setTime(M.getTime()+864E5*(r||0));document.cookie=l+"\x3d"+A+"; expires\x3d"+M.toUTCString()+"; path\x3d"+O+"; domain\x3d"+N},setRecentCode:function(l,A){var r=this.getCookie("recent_list"),O=this.getCookiePath();if(""===r||"undefined"===r)r=[l];else{r=JSON.parse(r);for(var M=
!1,N=0;N<r.length;N++)if(r[N].familyCode===l.familyCode){r.splice(N,1);"Y"!==l.tellsomeYn&&r.push(l);M=!0;break}M||(6<=r.length&&r.splice(0,1),r.push(l))}r=JSON.stringify(r);this.setCookie("recent_list",r,A,"/"+O+"/");"true"===b("#isEppPage").val()&&this.setCookie("recent_list",r,A,"/"+this.getCookieEppPath()+"/")},setHomePnzCookie:function(l,A){console.log("setHomePnzCookie homePnzCookieValue\x3d["+l+"]");var r=this.getCookie("home_pnz");this.getCookiePath();b("#siteCode").val();""!=l?(console.log("setHomePnzCookie homePnzCookieValue\x3d["+
l+"]"),""===r||"undefined"===r?(console.log("setHomePnzCookie homePnzCookieValue\x3d1"),r=l,console.log("setHomePnzCookie homePnzCookieValue\x3d11")):(console.log("setHomePnzCookie homePnzCookieValue\x3d2"),r=l,console.log("setHomePnzCookie homePnzCookieValue\x3d22"),console.log("setHomePnzCookie homePnzCookieValue\x3d3")),this.setCookieHomePnz("home_pnz",r,A,"/")):(l=new Date,l.setDate(l.getDate()-1),document.cookie="home_pnz\x3d ; expires\x3d"+l.toGMTString()+";")}}}();b(function(){T.setRecent.init()})})(window,
window.jQuery);
(function(G,b,T){function K(d){d.featureSyn&&d.specSyn&&d.supportSyn&&window.sg.components.pdHeaderNavigationV2.reInit()}function P(d){fnIsNull(d)||(d=d.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26#039;"));return d}function C(d){if(!fnIsNull(d))return"de"===a&&-1!==b.inArray(Q,N)?I.hide():I.show(),J&&"BUY NOW_FEATURE"===d&&("ru"===a?d="\u041a\u0443\u043f\u0438\u0442\u044c":"true"==window.sg.epp.common.offlineFlag&&(d="BUY ONLINE")),
"iq_ar"!==a&&"iq_ku"!==a||"BUY NOW_FEATURE"!==d||(d="Buy"),I.html(Granite.I18n.get(d))}function q(d,m){if(J){var g=m.match(/[0-9]{13}/g);""===b.trim(g)&&(g=location.pathname.match(/[0-9]{13}/g),null!=g&&"undefined"!=typeof g&&""!==b.trim(g)&&(m=m.replace(d,d+"."+g)));return m.replace("/buy","").replace(/\/feature./ig,"/buy.")}return m}function c(d,m){var g=d.modelList[0];var e=q(Q,(null===g.originPdpUrl?"":g.originPdpUrl)+"buy/");var h="",k="";fnIsNull(g.price)||(h=g.price);fnIsNull(g.promotionPrice)||
(k=g.promotionPrice);!0===m?I.attr({href:fnIsNull(g.ctaLink)?e:g.ctaLink,"data-pimsubtype":fnIsNull(d.categorySubTypeEngName)?"":d.categorySubTypeEngName.toLowerCase(),"data-pvitype":fnIsNull(g.pviTypeName)?"":g.pviTypeName.toLowerCase(),"data-pvisubtype":fnIsNull(g.pviSubtypeName)?"":g.pviSubtypeName.toLowerCase(),"data-modelrevenue":h,"data-modelprice":h,"data-modelqty":"1","data-modelcurrency":y,"data-modelcode":g.modelCode,"data-modelname":g.modelName,"data-modeldisplay":P(g.displayName.replace(/<br>/ig,
" ").replace(/<sup>/ig," ")),"data-discountprice":k}):I.attr({"config-url":g.configuratorUrl,"data-pimsubtype":fnIsNull(d.categorySubTypeEngName)?"":d.categorySubTypeEngName.toLowerCase(),"data-pvitype":fnIsNull(g.pviTypeName)?"":g.pviTypeName.toLowerCase(),"data-pvisubtype":fnIsNull(g.pviSubtypeName)?"":g.pviSubtypeName.toLowerCase(),"data-modelrevenue":h,"data-modelprice":h,"data-modelqty":"1","data-modelcurrency":y,"data-modelcode":g.modelCode,"data-modelname":g.modelName,"data-modeldisplay":P(g.displayName.replace(/<br>/ig,
" ").replace(/<sup>/ig," ")),"data-discountprice":k});""===g.ctaTypeUpperCase?I.attr({"an-tr":"pdd39_anchor nav v3-"+pa+"-buy now-buy_cta2","an-ca":"buy cta","an-ac":"buy now","an-la":"anchor navi:buy now"}):"PREORDER"===g.ctaTypeUpperCase?I.attr({"an-tr":"pdd39_anchor nav v3-"+pa+"-pre order-buy_cta2","an-ca":"buy cta","an-ac":"pre-order","an-la":"anchor navi:pre-order"}):I.attr({"an-tr":"pdd39_anchor nav v3-"+pa+"-buy now-buy_cta2","an-ca":"buy cta","an-ac":"buy now","an-la":"anchor navi:buy now"})}
function p(d,m){var g="";if(d&&0<d.length){var e=d[0],h=e.monthly;d=e.months;var k=e.interest;k||(k="0");var f=!fnIsNull(h)&&!fnIsNull(d),z=m.salePrice;e=b(".pd-buying-price__new-price",da);var v=b(".pd-buying-price__box",da);f&&(f=currencyComma(z,y),h=currencyComma(h,y),g="hk"===a?g+(Granite.I18n.get("From {0}/mo",[h])+" "+f+" "+Granite.I18n.get("for {0} mos",[d])):"my"===a||"ro"===a||"bg"===a?g+(Granite.I18n.get("From {0}/mo",[h])+" "+Granite.I18n.get("or")+" "):!0===qa?g+(" "+Granite.I18n.get("or")+
" "+Granite.I18n.get("From {0}/mo",[h])+" "+Granite.I18n.get("for {0} mos",[d])+" "):"it"===a?g+(Granite.I18n.get("From {0}/mo",[h])+" "+Granite.I18n.get("for {0} mos",[d])):"in"===a?g+(Granite.I18n.get("From {0}/mo.",[h])+". "+Granite.I18n.get("or")+" "):"de"===a?g+(Granite.I18n.get("From {0}/mo",[h])+" "+Granite.I18n.get("or")+" "):"cn"===a?g+(Granite.I18n.get("From {0}/mo PF",[h])+" "+Granite.I18n.get("for {0} mos PF",[d])+" "+Granite.I18n.get("or")+" "):"jp"===a?g+(Granite.I18n.get("From {0}",
f)+"\u3001"+Granite.I18n.get("or")+Granite.I18n.get("{0}/mo",h)+Granite.I18n.get("for {0} mos PF",[d])):"sa"===a||"sa_en"===a?g+(Granite.I18n.get("From {0}",f)+" "+Granite.I18n.get("or")+" "+Granite.I18n.get("{0}/mo PD",h)+" "+Granite.I18n.get("for {0} mos at {1}% APR",[d,k])):"jo"===a||"jo_ar"===a?g+(Granite.I18n.get("From {0}",f)+" "+Granite.I18n.get("or")+" "+Granite.I18n.get("{0}/mo",h)+" "+Granite.I18n.get("for {0} mos",[d])):g+(Granite.I18n.get("From {0}/mo",[h])+" "+Granite.I18n.get("for {0} mos",
[d])+" "+Granite.I18n.get("or")+" "),m=m.showSavePrice?"hk"===a||"sa"===a||"sa_en"===a||"jo"===a||"jo_ar"===a||"jp"===a?g:!0===qa?'\x3cspan class\x3d"pd-buying-price__new-price-currency"\x3e'+f+"\x3c/span\x3e"+g:"it"===a?'\x3cp class\x3d"pd-buying-price__monthly-price"\x3e'+g+"\x3c/p\x3e":g+'\x3cspan class\x3d"pd-buying-price__new-price-currency"\x3e'+f+"\x3c/span\x3e":"hk"===a||"sa"===a||"sa_en"===a||"jo"===a||"jo_ar"===a||"jp"===a?g:!0===qa?f+g:g+f,"it"===a?v.append(m):e.html(m))}}function B(d){var m=
fnIsNull(d.price)?"":d.price,g=fnIsNull(d.promotionPrice)?"":d.promotionPrice,e=fnIsNull(d.priceFormatted)?"":d.priceFormatted,h=fnIsNull(d.promotionPriceFormatted)?"":d.promotionPriceFormatted,k=fnIsNull(d.stockLevelStatus)?"":d.stockLevelStatus.toUpperCase(),f=fnIsNull(d.lowestWasPrice)?"":d.lowestWasPrice.value,z="",v="",w="",F="",t="",x="";"br"===a&&(v=fnIsNull(d.SavingInformation)?"":d.SavingInformation,w=fnIsNull(d.savingValue)?"":d.savingValue,F=fnIsNull(d.TaxPriceDisplay)?"":d.TaxPriceDisplay,
d.installmentPlan&&d.installmentPlan.storeText&&(x=d.installmentPlan.storeText||""),t=x,"OUTOFSTOCK"===k&&(v="",F=m));x=!0;if(ba&&(x=!1,!fnIsNull(d.lowestWasPrice))){var u=d.lowestWasPrice.value;!fnIsNull(d.promotionPrice)&&d.promotionPrice<u&&ra?(m=u,e=currencyComma(m,y),x=!0):!fnIsNull(d.promotionPrice)&&u<=d.price&&d.promotionPrice<u&&!ra&&(m=u,e=currencyComma(m,y),x=!0);J&&"it"===a&&!fnIsNull(d.promotionPrice)&&(m=u,e=currencyComma(m,y))}sa&&(fnIsNull(d.lowestWasPrice)||fnIsNull(d.promotionPrice)||
d.price===d.promotionPrice||(ta=!0));"au"!==a||fnIsNull(d.lowestWasPrice)||(u=d.lowestWasPrice.value,!fnIsNull(d.promotionPrice)&&d.promotionPrice<u<d.price&&(m=u,e=currencyComma(m,y)));u=!1;if("NOORDER"!==k){u=!0;var E=k="";fnIsNull(d.price)||(k=d.price);fnIsNull(d.promotionPrice)||(E=d.promotionPrice);I.attr({"data-modelrevenue":k,"data-modelprice":k,"data-discountprice":E})}"realtime"===d.apiType&&(m=deleteCurrency(d.price,y).trim(),g=deleteCurrency(d.promotionPrice,y).trim());if(ea&&!fnIsNull(d.aemAdditionalInfoTypes)&&
0<d.aemAdditionalInfoTypes.length){k=d.aemAdditionalInfoTypes;for(var n in k)if(E=k[n],"TRADEIN"===E.type&&!fnIsNull(E.aemAdditionalInfos)&&0<E.aemAdditionalInfos.length)for(var W in E.aemAdditionalInfos){var U=E.aemAdditionalInfos[W];"TRADEIN_TEXT"!==U.key||fnIsNull(U.value)||(z=U.value)}}""===g&&(g=m);""!==z&&(g=z);d.showSavePrice=x;d.salePrice=g;n="";if(u)if(z=parseFloat(m)-parseFloat(g),0!==z&&x){n="ru"===a?n+('\x3cdiv class\x3d"pd-buying-price__new-price no-max-width" data-promotionprice\x3d"'+
g+'"\x3e'+(""!==h?h:currencyComma(g,y))+"\x3c/div\x3e"):n+('\x3cdiv class\x3d"pd-buying-price__new-price" data-promotionprice\x3d"'+g+'"\x3e'+(""!==h?h:currencyComma(g,y))+"\x3c/div\x3e");n+='\x3cdiv class\x3d"pd-buying-price__box"\x3e';!0===sa&&!0===ta&&(h=n,v='\x3cp class\x3d"pd-buying-price__trade-in"\x3e'+Granite.I18n.get("Best price in the past 30 days:")+" "+currencyComma(f,y)+"(",g=(Number(g)-Number(f))/Number(f)*Math.pow(10,2),g=Math.round(g),0<g&&(g="+"+g),n=h+(v+g+"%)\x3c/p\x3e"));"in"===
a&&(n+='\x3cdiv class\x3d"pd-buying-price__was"\x3eMRP: '+X+(""!==e?e:currencyComma(m,y))+Y+" ("+Granite.I18n.get("Incl. of all taxes")+")\x3c/div\x3e");"jp"===a?(n+='\x3cdiv class\x3d"pd-buying-price__save"\x3e'+Granite.I18n.get("Save {0}",[currencyComma(z,y)])+"\x3c/div\x3e",n+='\x3cdiv class\x3d"pd-buying-price__was" data-price\x3d"'+d.price+'"\x3e\x3cspan class\x3d"hidden"\x3e'+Granite.I18n.get("Original Price")+": \x3c/span\x3e",n+="(\u5272\u5f15\u524d\u4fa1\u683c : "+(""!==e?e:currencyComma(m,
y))+")",n+="\x3c/div\x3e"):"it"===a?f&&(f=n,e='\x3cdiv class\x3d"pd-buying-price__was" data-price\x3d"'+m+'"\x3e\x3cspan class\x3d"hidden"\x3e'+Granite.I18n.get("Original Price")+": \x3c/span\x3e"+X+(""!==e?e:currencyComma(m,y))+Y+'\x3c/div\x3e\x3cdiv class\x3d"pd-buying-price__save"\x3e',g=Granite.I18n,h=g.get,m=Number(z)/Number(m)*Math.pow(10,2),m=Number(m).toFixed(2),m=m.replace(".",","),n=f+(e+h.call(g,"Save the {0}%",m)+"\x3c/div\x3e")):"in"===a?n+='\x3cdiv class\x3d"pd-buying-price__save"\x3e'+
Granite.I18n.get("Save {0}",[currencyComma(z,y)])+"\x3c/div\x3e":"sa"===a||"sa_en"===a?(n+='\x3cdiv class\x3d"pd-buying-price__save"\x3e'+Granite.I18n.get("Save {0}",[currencyComma(z,y)])+'\x3c/div\x3e\x3cdiv class\x3d"pd-buying-price__was" data-price\x3d"'+m+'"\x3e\x3c!--892 --\x3e\x3cspan class\x3d"hidden"\x3e'+Granite.I18n.get("Original Price")+": \x3c/span\x3e",n+=X+", "+(""!==e?e:currencyComma(m,y))+Y,n+="\x3c/div\x3e"):(n+='\x3cdiv class\x3d"pd-buying-price__was" data-price\x3d"'+m+'"\x3e\x3c!--892 --\x3e\x3cspan class\x3d"hidden"\x3e'+
Granite.I18n.get("Original Price")+": \x3c/span\x3e",n+=X+(""!==e?e:currencyComma(m,y))+Y,n+='\x3c/div\x3e\x3cdiv class\x3d"pd-buying-price__save"\x3e'+Granite.I18n.get("Save {0}",[currencyComma(z,y)])+"\x3c/div\x3e");if("pe"===a||"cl"===a||"mx"===a||"co"===a)n+='\x3cdiv class\x3d"pd-buying-price__disclaimer"\x3e*Aplican condiciones\x3c/div\x3e';n+="\x3c/div\x3e";!J||"it"!==a||fnIsNull(d.price)||fnIsNull(d.promotionPrice)||(m=window.sg.epp.common.eppDiscountRate(d.price,d.promotionPrice),0!=m&&(n=
n+'\x3cdiv class\x3d"pd-buying-price__box"\x3e\t\x3cstrong class\x3d"pd-buying-price__was"\x3e'+(Granite.I18n.get("Price at Belo4D.it: {0}",[currencyComma(d.price,y)])+"\x3c/strong\x3e"),n+='\t\x3cdiv class\x3d"pd-buying-price__save"\x3e'+Granite.I18n.get("You save {0}%",[m])+"\x3c/div\x3e",n+="\x3c/div\x3e"))}else"ru"===a?n+='\x3cdiv class\x3d"pd-buying-price__new-price no-max-width" data-promotionprice\x3d"'+g+'"\x3e'+(""!==h?h:currencyComma(g,y))+"\x3c/div\x3e":"br"===a?null!=v&&""!==v?(n+='\x3cdiv class\x3d"pd-buying-price__new-price"\x3e'+
F+" \u00e0 vista "+v+'\x3c/div\x3e\x3cdiv class\x3d"pd-buying-price__box"\x3e',null!=t&&""!==t&&(n+='    \x3cp class\x3d"pd-buying-price__trade-in"\x3e'+t+"\x3c/p\x3e"),n+='    \x3cdiv class\x3d"pd-buying-price__was"\x3e\x3cspan class\x3d"hidden"\x3ePre\u00e7o original:\x3c/span\x3e'+X+currencyComma(m,y)+Y+"\x3c/div\x3e",n+='    \x3cdiv class\x3d"pd-buying-price__save"\x3e'+w+" off\x3c/div\x3e\x3c/div\x3e"):(n+='\x3cdiv class\x3d"pd-buying-price__new-price"\x3e'+F+" \u00e0 vista\x3c/div\x3e",null!=
t&&""!==t&&(n+='\x3cdiv class\x3d"pd-buying-price__box"\x3e\x3cp class\x3d"pd-buying-price__trade-in"\x3e'+t+"\x3c/p\x3e\x3c/div\x3e")):n+='\x3cdiv class\x3d"pd-buying-price__new-price" data-promotionprice\x3d"'+g+'"\x3e'+(""!==h?h:currencyComma(g,y))+"\x3c/div\x3e";""!==n&&da.append(n)}function H(){var d=window.location.origin+window.location.pathname.replace(".html","/"),m=Q,g=xa,e=D.find("#navDisplayName").val(),h=D.find("#wtbUseYn").val();d=q(m,d+"buy/");var k=b("#tempTitle").val(),f=D.find("#navConfiguratorUrl").val(),
z=D.find("#navCtaLocalText").val();D.find("#navCtaEngText").val();var v=D.find("#navConfiguratorUseYn").val();"Y"===v&&""!==f&&null!==f&&(d=f);"Y"===h&&"pl"!==a&&L.find("#anchorWtb").show().css("margin-left","");I.attr({href:d,"data-pimsubtype":"","data-pvitype":"","data-pvisubtype":"","data-modelrevenue":"","data-modelprice":"","data-modelqty":"1","data-modelcurrency":y,"data-modelcode":m,"data-modelname":g,"data-modeldisplay":P(e.replace(/<br>/ig," ").replace(/<sup>/ig," ")),"data-discountprice":""});
"Y"===v?"page-feature-pd"===k&&(""!==f&&null!==f||I.addClass("cta--disabled"),""!==z&&null!==z&&C(z)):C("BUY NOW_FEATURE");"page-feature-pd"===k&&b("#sgDevPriceAreaBaseMobile")&&(b("#sgDevPriceAreaBaseMobile").empty(),b("#sgDevPriceAreaBaseMobile").append(b("#sgDevPriceAreaBase").html()),b("#sgDevPriceAreaBaseMobile").find("#sgDevPriceArea").attr("id","sgDevPriceAreaMobile"),b("#sgDevPriceAreaBaseMobile").find(".pdd39-anchor-nav__cta").before('\x3cdiv id\x3d"sgDevPriceAreaMobile"\x3e\x3c/div\x3e'),
window.sg.components.pdHeaderNavigationV2.reInit())}function l(){""!==V&&(a=V);var d=la+"/"+(J?ma:a)+"/ng/p4v1/getRealTimeProductSimpleInfo?productCode\x3d"+Q;"py"===a&&(d=la+"/ng/p4v1/getRealTimeProductSimpleInfo?productCode\x3d"+Q);"Y"===ua?b.ajax({url:d,type:"GET",dataType:"json",cache:!0,crossDomain:!0,timeout:1E4,xhrFields:{withCredentials:!0},success:function(m,g,e){r(m)}}):b.ajax({url:d,type:"GET",dataType:"jsonp",jsonpCallback:"jQuery1910499421933433041_1385598221584_0",cache:!0,crossDomain:!0,
timeout:1E4,xhrFields:{withCredentials:!0},success:function(m,g,e){r(m)}})}function A(){""!==V&&(a=V);var d=la+"/"+(J?ma:a)+"/servicesv2/getSimpleProductsInfo?productCodes\x3d"+Q;if("ca"===a||"ca_fr"===a){var m=getSECACountryRegion();d+="\x26country_region\x3d"+m}"Y"===ua?b.ajax({url:d,type:"GET",dataType:"json",cache:!0,crossDomain:!0,timeout:1E4,xhrFields:{withCredentials:!0},success:function(g,e,h){O(g)}}):b.ajax({url:d,type:"GET",dataType:"jsonp",jsonpCallback:"jQuery1910499421933433041_111",
cache:!0,crossDomain:!0,timeout:1E4,xhrFields:{withCredentials:!0},success:function(g,e,h){O(g)}})}function r(d){"0000"===d.resultCode&&Q===d.code&&(d.apiType="realtime",B(d),b("#sgDevPriceAreaBaseMobile")&&(b("#sgDevPriceAreaBaseMobile").empty(),b("#sgDevPriceAreaBaseMobile").append(b("#sgDevPriceAreaBase").html()),b("#sgDevPriceAreaBaseMobile").find("#sgDevPriceArea").attr("id","sgDevPriceAreaMobile")),window.sg.components.pdHeaderNavigationV2.reInit())}function O(d){"0000"===d.resultCode&&0<d.productDatas.length&&
b.each(d.productDatas,function(m,g){if(Q===g.productCode&&(J&&"it"===a&&null===g.price&&!fnIsNull(g.promotionPrice)&&(g.price=0),!fnIsNull(g.price)))return g.apiType="simple",B(g),M(g),window.sg.components.pdHeaderNavigationV2.reInit(),!1});b("#sgDevPriceAreaBaseMobile")&&(b("#sgDevPriceAreaBaseMobile").empty(),b("#sgDevPriceAreaBaseMobile").append(b("#sgDevPriceAreaBase").html()),b("#sgDevPriceAreaBaseMobile").find("#sgDevPriceArea").attr("id","sgDevPriceAreaMobile"));window.sg.components.pdHeaderNavigationV2.reInit()}
function M(d){var m=J?ma:a,g="ca"===a||"ca_fr"===a,e=J||"undefined"!==typeof shopAppUtilInstance&&shopAppUtilInstance.isWebView()?{withCredentials:!0}:{},h="ae ae_ar jo jo_ar sa sa_en za ma eg".split(" "),k="";J&&h.includes(a)&&(k="/nocache");m=la+"/"+m+"/servicesv2"+k+"/leasingInfo?productCode\x3d"+Q;g&&(g=getSECACountryRegion(),m+="\x26country_region\x3d"+g);"Y"===ua?b.ajax({url:m,type:"GET",cache:!0,crossDomain:!0,xhrFields:e,dataType:"json",timeout:2E4,success:function(f){p(f,d)}}):b.ajax({url:m,
type:"GET",cache:!0,crossDomain:!0,xhrFields:e,dataType:"jsonp",jsonpCallback:"jQuery1910499421933433041_171",timeout:2E4,success:function(f){p(f,d)}})}window.sg.components.pdHeaderNavigationV2=window.sg.components.Pdd39AnchorNav;var N="NP955XED-KA1DE NP950QED-KA1DE NP950QED-KA2DE NP950XED-KA1DE NP930XED-KA1DE NP930QED-KH1DE NP930QED-KA1DE NP930QED-KA2DE NP750XED-KC2DE NP750XED-KC1DE NP750XED-KB2DE NP750XED-KB1DE NP750XED-KB4DE NP750XED-KB3DE NP750XED-KB5DE NP730QED-KA1DE NP750XEE-XA2DE NP750XED-KC5DE NP750XED-KC4DE NP750XED-KC3DE NP750XED-KB7DE NP750XED-KB6DE NP950QED-KA4DE NP950QED-KA3DE NP950QED-KJ1DE NP930QED-KA3DE".split(" ");
G="ae ae_ar kw kw_ar om om_ar bh bh_ar qa qa_ar".split(" ");var ya=window.sg.sdf.util.prepareNamespace("sg.components.dynamic.ux2").PriceBar,fa=b("#anchorContainer.sg-component"),L=fa.find("#anchor-menu-list"),D=b("#navProperties.sg-component"),R=b("#anchorNavigationPriceBar"),da=R.find("#sgDevPriceArea"),I=R.find(".pdd39-anchor-nav__cta a.cta.anchorBtn");T=T.prepareNamespace("sg.aem.components.product");var Q=b("#modelCode").val(),xa=b("#modelName").val(),y=b("#priceCurrency").val();R=b("#apiStageInfo").val();
var Z=b("#shopIntegrationFlag").val(),ua=b("#hybrisApiJson").val(),ha=b("#useStore").val();b("#categoryGroupCode").val();var na=b("#searchDomain").val(),la=b("#storeDomain").val(),ia=D.find("#navOldProductYn").val(),ja="GPv2"===Z,ka="Hybris-new"===Z,ea="Hybris-intg"===Z,za=fnIsNull(Z),Aa=D.find("#navPriceDisplayYn").val(),Ba=D.find("#navShopServiceYn").val(),Ca=D.find("#navPackageYn").val(),pa=D.find("#navPageTrack").val(),a=b("#siteCode").val(),Da=("Y"===Ba&&"Y"===ha||"Hybris-intg"===Z)&&"Y"!==ia,
Ea=["br","latin","ar","uy"].includes(a),ba="pl si gr fi it se no dk fr de cz sk lv lt ee pt".split(" ").includes(a),aa=!1,sa="hu"===a,ta=!1,qa=["se","fi","no"].includes(a),ra=["se","fi","no","dk","pt"].includes(a),X="Y"==b("#isNotDelTagSites").val()?"\x3cdel\x3e":"",Y="Y"==b("#isNotDelTagSites").val()?"\x3c/del\x3e":"",S={siteCode:a,modelList:Q,onlyRequestSkuYN:"Y",keySummaryYN:"N",specYN:"N"},J="true"===b("#isEppPage").val(),ma=b("#eppCompanyCode").val();ha=J?"epp/v2":"b2c";J&&(S.companyCode=ma,
S.shopSkuYN="N",window.sg.epp.common.isUserGroupPricing&&(S.groupName=window.sg.epp.common.groupName),ia=location.pathname.match(/[0-9]{13}/g),null!=ia&&"undefined"!=typeof ia&&""!=b.trim(ia)&&(S.offerId=ia[0]),ba="Y"===eppOmniPricingUseYn?!0:!1,ra&&(ba=!0),""!==window.sg.epp.common.userStoreId&&(S.o2oId=window.sg.epp.common.userStoreId));R=na+"/"+R+"/"+ha;var oa=R+"/product/card/detail/global";ja?(S.commonCodeYN="N",S.saleSkuYN="N",oa=R+"/product/card/detail/gpv2"):ka?(S.commonCodeYN="N",S.saleSkuYN=
"N",oa=R+"/product/card/detail/newhybris"):ea&&(S.saleSkuYN="N",oa=R+"/product/card/detail/hybris");R=b.cookies.get("estoreSitecode")||"";na=b.cookies.get("country_region")||"";var V=ha="";"ae"===a||"ae_ar"===a?V=""!==R?G.includes(R)?R:a:a:"levant"===a?V="jo":"levant_ar"===a?V="jo_ar":"n_africa"===a&&(V="ma");if("ca"===a||"ca_fr"===a)ha=fnIsNull(na)?"CA-ON":na,S.regionCode=ha;""!==V&&(S.shopSiteCode=V);T.setAnchors=function(){var d=function(e){var h="N";"A"===e&&(h="Y");return h},m=function(e){var h=
!0;0<e.length?e.each(function(){"N"===b(this).val()&&(h=!1)}):h=!1;return h},g=function(e){var h=!0;e.each(function(){"N"===b(this).val()&&(h=!1)});return h};return{setAnchor:function(){var e=fa,h=b("#summaryEmptyYn").val(),k=b("#supportEmptyYn").val(),f=b("#specEmptyYn").val();"Y"===Ca&&(f="N");var z=b("input[name\x3dfeatureEmptyYn]"),v=b("#featureBundleEmptyYn").val(),w=b("input[name\x3dfeatureGalleryEmptyYn]"),F=["Y","N",w.val(),h,k,f,v],t="highlights features gallery summary support specs feature-benefit-bundle".split(" "),
x=m(z);g(w);h=fa.find(".tab__list \x3e li:not(#anchor_pd-g-product-compare)");k=b("#summaryProductType").val();d(k);e.hide();h.each(function(){var u=b(this).attr("id");if(void 0!==u){u=u.replace("anchor_","");var E=!1;if("reviewWrap"===u){var n=L.find("#reviewWrap");n.show();n.removeAttr("style")}else if("anchorWtb"===u)L.find("#anchorWtb \x3e a").attr("href","javascript:;");else{if((!isNaN(u)||-1<u.indexOf("feature"))&&x)b(this).hide(),b(this).css("margin-left","0px"),E=!0;else for(n=0;n<t.length;n++)if(0<=
u.indexOf(t[n])){u=b(this);"N"===F[n]?(b(u).show(),b(u).css("margin-left","")):(b(u).hide(),b(u).css("margin-left","0px"));E=!0;break}E||(n=b(this),n.show(),n.removeAttr("style"))}}});h=b("#tempTitle").val();k=D.find("#navConfiguratorUrl").val();f=D.find("#navCtaLocalText").val();D.find("#navCtaEngText").val();"Y"===D.find("#navConfiguratorUseYn").val()&&("page-feature-pd"===h?""!==k&&null!==k?I.attr("href",k):I.addClass("cta--disabled"):"page-standard-pd"===h&&(""!==k&&null!==k?I.attr("href",k+"?modelCode\x3d"+
Q):I.addClass("cta--disabled")),""!==f&&null!==f&&I.html(f));e.show()},setApi:function(){b.ajax({url:oa,data:S,success:function(e){var h=b("#tempTitle").val(),k=D.find("#navConfiguratorUrl").val(),f=D.find("#navCtaLocalText").val();D.find("#navCtaEngText").val();var z=D.find("#navConfiguratorUseYn").val();if(200===e.response.statusCode&&null!==e.response.resultData){e=e.response.resultData.productList[0];var v="";if(fnIsNull(e))return H(),!1;fnIsNull(e)||fnIsNull(e.modelList[0].ctaType)||(v=e.modelList[0].ctaType.toUpperCase(),
e.modelList[0].ctaTypeUpperCase=v);if(!fnIsNull(e)&&"Y"===e.iaCtaDisplay)if(ja||ka){var w=e.modelList[0],F=!1;!fnIsNull(w.configuratorUrl)&&(F=!0);"us"===a&&fnIsNull(w.buyingConfigLink)&&(F=!0,w.configuratorUrl=w.buyingConfigLink);var t=!1;fnIsNull(w.priceDisplay)&&fnIsNull(w.promotionPriceDisplay)&&(t=!0);"Y"===w.wtbUseFlag&&"pl"!==a&&L.find("#anchorWtb").show().css("margin-left","");t?(c(e,!0),C("BUY NOW_FEATURE")):"INSTOCK"!==w.ctaTypeUpperCase&&"BACKORDERED"!==w.ctaTypeUpperCase&&"PREORDER"!==
w.ctaTypeUpperCase||!F?"INSTOCK"!==w.ctaTypeUpperCase&&"BACKORDERED"!==w.ctaTypeUpperCase&&"PREORDER"!==w.ctaTypeUpperCase||F?("OUTOFSTOCK"===w.ctaTypeUpperCase&&F?c(e,!1):c(e,!0),C("BUY NOW_FEATURE")):(c(e,!0),"PREORDER"===w.ctaTypeUpperCase?C("pre order"):C("BUY NOW_FEATURE")):(c(e,!1),"PREORDER"===w.ctaTypeUpperCase?C("pre order"):C("BUY NOW_FEATURE"))}else ea?(w=e.modelList[0],F=!1,!fnIsNull(w.configuratorUrl)&&(F=!0),"WHERETOBUY"===w.ctaTypeUpperCase?(F?c(e,!1):c(e,!0),C("BUY NOW_FEATURE")):
"BUYNOWLINK"===w.ctaTypeUpperCase?(c(e,!0),C(w.ctaTitle)):"PREORDER"===w.ctaTypeUpperCase?(F?c(e,!1):c(e,!0),C("pre order")):("OUTOFSTOCK"===w.ctaTypeUpperCase?F?c(e,!1):c(e,!0):c(e,!0),C("BUY NOW_FEATURE"))):(w=e.modelList[0],F=!1,!fnIsNull(w.configuratorUrl)&&(F=!0),za?(c(e,!0),C("BUY NOW_FEATURE")):"WHERETOBUY"===w.ctaTypeUpperCase?(F?c(e,!1):c(e,!0),C("BUY NOW_FEATURE")):"BUYNOWLINK"===w.ctaTypeUpperCase?(c(e,!0),C(w.ctaTitle)):"PREORDER"===w.ctaTypeUpperCase?(F?c(e,!1):c(e,!0),C("pre order")):
("OUTOFSTOCK"===w.ctaTypeUpperCase?F?c(e,!1):c(e,!0):c(e,!0),C("BUY NOW_FEATURE")));"Y"===z&&"page-feature-pd"===h&&(""!==k&&null!==k?(e.modelList[0].ctaLink=k,c(e,!0)):I.addClass("cta--disabled"),""!==f&&null!==f&&C(f));if(ya.isSaleable())if(Da)Ea?l():A();else{z=v;k="";f=e.modelList[0];v=f.priceDisplay;"nl"!==a&&"be"!==a&&"be_fr"!==a||fnIsNull(v)||(v=deleteCurrency(v,y));h=!1;"Y"!==Aa||fnIsNull(v)||"mx"===a||"pl"===a&&"OUTOFSTOCK"===z||(h=!0);w=!1;F="";ea&&!fnIsNull(f.tradeInPriceText)&&(F=f.tradeInPriceText,
w=!0);if(h){var x="";h=v;var u="",E="",n=t="",W="",U="",va="",ca=!1,wa=!1;if(ja||ka){if(!fnIsNull(f.leasingInfo)&&"nl"===a&&"Y"===f.upgrade)U=f.leasingInfo,va=deleteCurrency(U.monthlyRate,y),E=U.tenureVal,W=deleteCurrency(U.downPaymentFormatted,y),U=U.tenureUnit,wa=!0;else if(!(fnIsNull(f.monthlyPriceInfo)||fnIsNull(f.monthlyPriceInfo.leasingMonthly)||fnIsNull(f.monthlyPriceInfo.leasingMonths)||fnIsNull(f.monthlyPriceInfo.interest))){n=f.monthlyPriceInfo;u=currencyComma(n.leasingMonthly,y);E=n.leasingMonths;
n=n.interest;if("pe"===a||"cl"===a||"mx"===a||"co"===a||"ro"===a||"bg"===a||"gr"===a)n="";"uk"!==a&&(ca=!0)}x=f.promotionPriceDisplay;if("be"===a||"be_fr"===a||"nl"===a)x=f.promotionPrice,x=currencyComma(x,y)}else{if(!fnIsNull(f.monthlyPriceInfo)&&!fnIsNull(f.monthlyPriceInfo.leasingMonthly)&&!fnIsNull(f.monthlyPriceInfo.leasingMonths)&&"au nz ae my sg ca ca_fr it se dk fi no es pt th tw ru ch ch_fr sa sa_en jp".split(" ").includes(a)){ca=f.monthlyPriceInfo;u=currencyComma(ca.leasingMonthly,y);E=
ca.leasingMonths;if("sa"===a||"sa_en"===a||"jp"===a)n=ca.interest;ca=!0}ea&&(x=f.promotionPriceDisplay)}!fnIsNull(x)&&(h=x);e.currentDisplay=h;if("Hybris-new"===Z||"Hybris-intg"===Z||"Hybris"===Z)fnIsNull(x)?fnIsNull(v)||(f.lowestWasPriceUseYn="N",ba&&!fnIsNull(f.lowestWasPrice)&&!fnIsNull(f.price)&&parseFloat(f.lowestWasPrice)<=parseFloat(f.price)&&(f.lowestWasPriceUseYn="Y",f.price=f.lowestWasPrice,f.priceDisplay=currencyComma(f.lowestWasPrice,y),aa=!0,v=f.priceDisplay)):ba&&!fnIsNull(f.lowestWasPrice)&&
!fnIsNull(f.promotionPrice)&&parseFloat(f.lowestWasPrice)<=parseFloat(f.price)&&parseFloat(f.promotionPrice)<parseFloat(f.lowestWasPrice)&&(f.lowestWasPriceUseYn="Y",f.price=f.lowestWasPrice,f.priceDisplay=currencyComma(f.lowestWasPrice,y),aa=!0,v=f.priceDisplay);if(ja||ka){if(!fnIsNull(x))if(e=0,null!==f.listPrice&&(e=parseFloat(f.listPrice)-parseFloat(f.price)),x=parseFloat(f.price)-parseFloat(f.promotionPrice),ba&&aa&&(f.saveText=x),ba&&!aa&&(x=0,f.saveText=null),0===x||fnIsNull(f.saveText))0<
e&&("nl"===a||"be"===a||"be_fr"===a)&&(t+='\x3cdiv class\x3d"pd-buying-price__price"\x3e'+Granite.I18n.get("Listprice")+" "+currencyComma(f.listPrice,y)+"\x3c/div\x3e");else{J||"ro"!==a&&"bg"!==a||(v=Granite.I18n.get("RRP {0}",[v]));e=f.saveText;if("nl"===a||"be"===a||"be_fr"===a||"de"===a)t="de"===a&&aa?t+('\x3cdiv class\x3d"pd-buying-price__was"\x3e\x3cspan class\x3d"hidden"\x3e'+Granite.I18n.get("Original Price")+": \x3c/span\x3e"+v+"\x3c/div\x3e"):t+('\x3cdiv class\x3d"pd-buying-price__was"\x3e\x3cspan class\x3d"hidden"\x3e'+
Granite.I18n.get("Original Price")+": \x3c/span\x3e"+Granite.I18n.get("From {0}",[X+v+Y])+"\x3c/div\x3e");else if("in"===a&&(t+='\x3cdiv class\x3d"pd-buying-price__was"\x3eMRP: '+v+" ("+Granite.I18n.get("Incl. of all taxes")+")\x3c/div\x3e"),"cz"!==a&&"sk"!==a||!aa||(t+='\x3cdiv class\x3d"pd-buying-price__label"\x3e'+Granite.I18n.get("Lowest price in last 30 days")+"\x3c/div\x3e"),"pl"===a&&aa&&(t+='\x3cdiv class\x3d"pd-buying-price__label"\x3e'+Granite.I18n.get("Lowest price 30 days before the discount:")+
"\x3c/div\x3e"),"at"===a&&aa&&(t+='\x3cdiv class\x3d"pd-buying-price__label"\x3e'+Granite.I18n.get("Lowest price 30 days before the discount:")+"\x3c/div\x3e"),"co"===a&&f.vatEligible&&"true"===f.vatEligible)b(".pd-buying-price").addClass("pd-buying-price--samcol-only"),b(".pd-buying-price__new-price").addClass("pd-buying-price__new-price--samcol");else if(!J&&("ro"===a||"bg"===a))t+='\x3cdiv class\x3d"pd-buying-price__was 1175"\x3e\x3cspan class\x3d"hidden"\x3e'+Granite.I18n.get("Original Price")+
": \x3c/span\x3e"+v+"\x3c/div\x3e";else if("tr"!==a&&"in"!==a||J)t+='\x3cdiv class\x3d"pd-buying-price__was 1237"\x3e\x3cspan class\x3d"hidden"\x3e'+Granite.I18n.get("Original Price")+": \x3c/span\x3e"+X+v+Y+"\x3c/div\x3e";"nl"===a||"be"===a||"be_fr"===a||"ro"===a||"bg"===a||"co"===a&&f.vatEligible&&"true"===f.vatEligible||"tr"===a&&!J||(t+='\x3cdiv class\x3d"pd-buying-price__save"\x3e'+Granite.I18n.get("Save {0}",[currencyComma(e,y)])+"\x3c/div\x3e")}}else ea||fnIsNull(f.formattedPriceSave)||(t=
f.formattedPriceSave);if(!("NOORDER"!==z&&"LEARNMORE"!==z||"nl"!==a&&"be"!==a&&"be_fr"!==a))k+='\x3cdiv class\x3d"pd-buying-price__new-price"\x3e'+v+"\x3c/div\x3e";else if((ja||ka)&&"LEARNMORE"!==z&&"NOORDER"!==z||!ja&&!ka&&"LEARNMORE"!==z){w?k+='\x3cdiv class\x3d"pd-buying-price__text"\x3e\x3cp class\x3d"pd-buying-price__text-lease"\x3e'+F+"\x3c/p\x3e\x3c/div\x3e":ca?(k+='\x3cdiv class\x3d"pd-buying-price__new-price"\x3e',k="id"===a?k+(Granite.I18n.get("pd From {0}/mo",[u])+" "):"in"===a?k+(Granite.I18n.get("From {0}/mo.",
[u])+" "):"pl"===a?k+(h+'\x3cspan class\x3d"pd-buying-price__monthly-price"\x3e'+Granite.I18n.get("or")+" "+Granite.I18n.get("from {0}/mo",[u])+" "):"jp"===a?k+(Granite.I18n.get("From {0}",h)+"\u3001"+Granite.I18n.get("or")+Granite.I18n.get("{0}/mo",u)+Granite.I18n.get("for {0} mos PF",[E])):"sa"===a||"sa_en"===a?k+(Granite.I18n.get("From {0}",h)+" "+Granite.I18n.get("or")+" "+Granite.I18n.get("{0}/mo PD",u)+" "+Granite.I18n.get("for {0} mos at {1}% APR",[E,n])):"jo"===a||"jo_ar"===a?k+(Granite.I18n.get("From {0}",
h)+" "+Granite.I18n.get("or")+" "+Granite.I18n.get("{0}/mo",u)+" "+Granite.I18n.get("for {0} mos",[E])):"cn"===a?k+(Granite.I18n.get("From {0}/mo PF",[u])+" "):k+(Granite.I18n.get("From {0}/mo",[u])+" "),"in"!==a&&"de"!==a&&"sa"!==a&&"sa_en"!==a&&"jo"!==a&&"jo_ar"!==a&&"jp"!==a&&(""!==n&&"cn"!==a?k+=Granite.I18n.get("for {0} mos at {1}% APR",[E,n]):"my"!==a&&"ro"!==a&&"bg"!==a&&(k="cn"===a?k+Granite.I18n.get("for {0} mos PF",[E]):k+Granite.I18n.get("for {0} mos",[E]))),k="my"===a?k+(Granite.I18n.get("or")+
" "+h+"\x3c/div\x3e"):"sa"===a||"sa_en"===a||"jp"===a?k+"\x3c/div\x3e":"pl"===a?k+"\x3c/span\x3e\x3c/div\x3e":k+(" "+Granite.I18n.get("or")+" "+h+"\x3c/div\x3e")):wa?""!==W&&""!==U&&""!==E&&""!==va&&(e=" "+W+" + "+E+" x "+va+"/"+Granite.I18n.get(U),k+='\x3cdiv class\x3d"pd-buying-price__new-price"\x3e'+h+" "+Granite.I18n.get("or")+e+"\x3c/div\x3e"):"co"===a&&f.vatEligible&&"true"===f.vatEligible?(k+='\x3cdiv class\x3d"pd-buying-price__new-price pd-buying-price__new-price--samcol"\x3e\t\x3cdiv class\x3d"pd-buying-price__samcol-main"\x3e\x3cstrong\x3e'+
Granite.I18n.get("Price without VAT")+":\x3c/strong\x3e\x3cstrong\x3e "+f.vatFreePriceDisplay+"\x3c/strong\x3e\x3c/div\x3e",h&&(k+='\t\x3cdiv class\x3d"pd-buying-price__samcol-special"\x3e\x3cstrong\x3e'+Granite.I18n.get("Price with discount")+"\x3c/strong\x3e\x3cstrong\x3e "+h+"\x3c/strong\x3e\x3c/div\x3e"),k+='\t\x3cdiv class\x3d"pd-buying-price__samcol-rrp"\x3e\x3cspan\x3e'+Granite.I18n.get("Price before")+":\x3c/span\x3e"+X+v+Y+"\x3c/div\x3e\x3c/div\x3e"):k+='\x3cdiv class\x3d"pd-buying-price__new-price"\x3e'+
h+"\x3c/div\x3e";k+='\x3cdiv class\x3d"pd-buying-price__box"\x3e';fnIsNull(t)||(!0===sa&&!0===ta&&(t+='\x3cp class\x3d"pd-buying-price__trade-in"\x3eAz elm\u00falt 30 nap legalacsonyabb \u00e1ra: \x3c/p\x3e\x3c!--1529 --\x3e'),k+=t);if("pe"===a||"cl"===a||"mx"===a||"co"===a)k+='\x3cdiv class\x3d"pd-buying-price__disclaimer"\x3e*Aplican condiciones\x3c/div\x3e\x3c!-- 1157 --\x3e';k+="\x3c/div\x3e";J&&"pl"===a&&!fnIsNull(f.msrpPrice)&&(e=" "+currencyComma(f.msrpPrice,y),k+='\x3cp class\x3d"pd-buying-price__advice-price"\x3e'+
Granite.I18n.get("Listprice")+e+"\x3c/p\x3e")}""!==k&&da.append(k);da.find(".pd-buying-price__new-price").text()&&(e=da.find(".pd-buying-price__new-price"),"bg"===a?e.html(e.html().replace(h,'\x3cspan class\x3d"pd-buying-price__new-price-currency"\x3e'+h+"\x3c/span\x3e")):"pl"===a?(k='\n                        \x3cdiv class\x3d"pd-buying-price__new-price-inner"\x3e\n                           \x3cspan class\x3d"pd-buying-price__new-price-currency"\x3e'+h+"\x3c/span\x3e\n                        \x3c/div\x3e",
e.html(e.html().replace(h,k))):e.html(e.text().replace(h,'\x3cspan class\x3d"pd-buying-price__new-price-currency"\x3e'+h+"\x3c/span\x3e")))}b("#sgDevPriceAreaBaseMobile")&&(b("#sgDevPriceAreaBaseMobile").empty(),b("#sgDevPriceAreaBaseMobile").append(b("#sgDevPriceAreaBase").html()),b("#sgDevPriceAreaBaseMobile").find("#sgDevPriceArea").attr("id","sgDevPriceAreaMobile"));window.sg.components.pdHeaderNavigationV2.reInit()}else b("#sgDevPriceAreaBaseMobile")&&(b("#sgDevPriceAreaBaseMobile").empty(),
b("#sgDevPriceAreaBaseMobile").append(b("#sgDevPriceAreaBase").html()),b("#sgDevPriceAreaBaseMobile").find("#sgDevPriceArea").attr("id","sgDevPriceAreaMobile"),b("#sgDevPriceAreaBaseMobile").find(".pdd39-anchor-nav__cta").before('\x3cdiv id\x3d"sgDevPriceAreaMobile"\x3e\x3c/div\x3e'),window.sg.components.pdHeaderNavigationV2.reInit())}else return H(),!1}})},buyingAnchor:function(){if("Y"!==D.find("#marketingPdpYN").val()){var e=window.location.pathname+window.location.search;e=e.replace("/buy","");
var h=D.find("#current-page-nav").val(),k=b("#runmodeInfo").val(),f="/",z={};J&&(e=window.location.href.replace(/\/buy./ig,"/feature."));("live"===k||"qa"===k)&&0<=h.indexOf("/content/Belo4D")&&(h=h.replace("/content/Belo4D",""));-1<location.href.indexOf(".html")&&(f=".html");k="";if(J){var v=location.pathname.match(/[0-9]{13}/g);null!=v&&"undefined"!=typeof v&&""!==b.trim(v)&&(k=".offerid-"+v)}var w=modelCodeToSelector(Q);v=h+".dynamic.pd-g-feature-benefit-ux2."+w+"."+a+".feature.readonly"+k+f;
var F=h+".dynamic.pd-g-product-specs-ux2."+w+"."+a+k+f;h=h+".dynamic.pd-g-product-support-ux2."+w+"."+a+k+f;1===L.find("#highlightsWrap").length&&L.find("#highlightsWrap \x3e a ").attr("href",e+"#highlights");b.ajax({url:v,type:"GET",dataType:"html",success:function(t){if("Y"===fa.find("#featureAnchorListYn").val()){t=L.find("[id^\x3dbenefitWrap]");for(var x=t.length,u=[],E=0;E<x;E++)u.push(L.find("#benefitWrap"+E).find("a").attr("href"));for(x=0;x<u.length;x++)L.find("#benefitWrap"+x).find("a").attr("href",
e+u[x]);t.removeAttr("style");t.show()}else{var n=!0;b(t).filter("input[name\x3dhasBenefit]").each(function(){"Y"===b(this).val()&&(n=!1)});"Y"===b("#featureYN").val()&&(n=!1);var W=!0;b(t).filter("input[name\x3dhasGallery]").each(function(){"Y"===b(this).val()&&(W=!1)});t=L.find("[id^\x3dbenefitWrap]");u=L.find("#galleryWrap");t.find("a").attr("href",e+"#features");u.find("a").attr("href",e+"#gallery");n?t.hide().css("margin-left","0px"):t.show().removeAttr("style");W?u.hide().css("margin-left",
"0px"):u.show().removeAttr("style")}(t=L.find("#reviewWrap"))&&t.show().removeAttr("style");t=b("#tempTitle").val();u=D.find("#navConfiguratorUrl").val();x=D.find("#navCtaLocalText").val();D.find("#navCtaEngText").val();"Y"===D.find("#navConfiguratorUseYn").val()&&"page-feature-pd"===t&&(""!==u&&null!==u?I.attr("href",u):I.addClass("cta--disabled"),""!==x&&null!==x&&I.html(x))},error:function(t){L.find("#benefitWrap").hide().css("margin-left","0px");L.find("#galleryWrap").hide().css("margin-left",
"0px")},complete:function(){z.featureSyn=!0;K(z)}});b.ajax({url:F,type:"GET",success:function(t){var x=L.find("#specsWrap");x.find("a").attr("href",e+"#specs");"N"===b(t).filter("#specEmptyYn").val()&&x.show().removeAttr("style")},error:function(t){L.find("#specsWrap").hide()},complete:function(){z.specSyn=!0;K(z)}});b.ajax({url:h,type:"GET",success:function(t){var x=L.find("#supportWrap");x.find("a").attr("href",e+"#support");"N"===b(t).filter("#supportEmptyYn").val()&&x.show().removeAttr("style")},
error:function(t){L.find("#supportWrap").hide()},complete:function(){z.supportSyn=!0;K(z)}});b("#anchorNavigationPriceBar").find(".pdd39-anchor-nav__info-rating").find("a").attr("href",e+"#reviews")}},init:function(){fa=b("#anchorContainer.sg-component");L=fa.find("#anchor-menu-list");D=b("#navProperties.sg-component");var e=D.find("#pdType").val();"S-B"===e?this.buyingAnchor():(this.setAnchor(),"S-F"===e&&this.setApi())}}}();T.setAnchors.init();b(document).on("click",".anchorBtn",function(){var d=
b(this).attr("config-url"),m=b(this).attr("data-modelcode");fnIsNull(d)||(b(this).attr("href","javascript:;"),window.location.href=d+"?modelCode\x3d"+m)});b(document).on("click",".sg-product-display-name",function(){var d=D.find("#pdType").val();var m=window.location.pathname+window.location.search;m=m.replace("/buy","");var g=D.find("#current-page-nav").val(),e=b("#runmodeInfo").val();J&&(m=window.location.href.replace(/\/buy./ig,"/feature."));("live"===e||"qa"===e)&&0<=g.indexOf("/content/Belo4D")&&
g.replace("/content/Belo4D","");location.href.indexOf(".html");"S-B"!==d||fnIsNull(m)||(window.location.href=m)});"de"===a&&-1!==b.inArray(Q,N)&&(window.onload=function(){I.hide()})})(window,$,window.sg.sdf.util);