1"use strict";(self.webpackChunkwf_core_setup=self.webpackChunkwf_core_setup||[]).push([[2778],{9253:(t,e,n)=>{n.r(e),n.d(e,{default:()=>u});var o=function(){var t=this,e=t._self._c;return e("li",{staticClass:"tabs__nav--item",class:{"tabs--expanded":t.tabExpand(this.tabId)},attrs:{id:"product_tab_"+t.tabId,role:"presentation"},on:{click:function(e){return t.gotoTab(e,t.getTabId)}}},[t._t("tabs__nav--item"),t._v(" "),t.tabTitle?e("span",{staticClass:"pdp__tab--view",attrs:{role:"tab","aria-selected":t.tabExpand(this.tabId)?"true":"false"},on:{keyup:function(e){return t.gotoTabKey(e,t.getTabId,t.tabId)}}},[t._v("\n "+t._s(t.tabTitle)+"\n "),t._t("tabs__nav--item-icon")],2):t._e(),t._v(" "),t.tabExpand(this.tabId)?e("span",{staticClass:"tabs__nav--item-arrow"}):t._e()],2)};o._withStripped=!0;var a=n(5353);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function s(t,e,n){return(e=function(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const c={name:"product-details-tabs-nav",props:{tabId:{type:String,required:!0},expanded:{type:Boolean,required:!1},tabTitle:{type:String,default:""},productId:{type:String,default:""},productName:{type:String,default:""},utm_campaign:{type:String,default:""}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){s(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},(0,a.L8)(["tabExpand","getTabId"])),methods:{gotoTab:function(t,e){e!==this.tabId&&(t.preventDefault(),this.$store.commit("setCurrentTabItem",this.tabId),this.tiggerDataLayer())},tiggerDataLayer:function(){if(this.getTabId.includes(this.tabId)){var t={event:"uaevent",event_name:"product_info_click",ecommerce:"undefined",eventCategory:"product detail page",eventAction:this.tabTitle.toLowerCase(),eventLabel:this.productName.toLowerCase()+"::"+this.productId,product_info:this.productName.toLowerCase()+"::"+this.productId,product_tab:this.tabTitle.toLowerCase()};dataLayer.push(t)}},setTab:function(){if(this.expanded||"true"===this.expanded)if(window.location&&"#pil"==window.location.hash&&""==window.location.search){this.$store.commit("setCurrentTabItem","6");var t=document.getElementById("product_tab_6");if(t&&screen.width>=760){var e=t.getBoundingClientRect().top+window.pageYOffset-75;setTimeout(function(){window.scrollTo({top:e,behavior:"smooth"})},1500)}else setTimeout(function(){var t=document.getElementById("environmental_impact").offsetTop;window.scrollTo({top:t-60,behavior:"smooth"})},2e3)}else if(window.location&&window.location.search&&""==window.location.hash&&this.utm_campaign){var n=window.location.search.split("utm_campaign=");n&&n.length>1&&n[1].includes(null!=this.utm_campaign?this.utm_campaign.toLowerCase():"")?this.$store.commit("setCurrentTabItem","6"):this.$store.commit("setCurrentTabItem",this.tabId)}else this.$store.commit("setCurrentTabItem",this.tabId)},gotoTabKey:function(t,e,n){if("ArrowRight"===t.key)for(var o=Number(n)+1;o<=7;){if(document.getElementById("product_tab_"+o)){document.getElementById("product_tab_"+o).getElementsByTagName("span")[0].focus(),document.getElementById("product_tab_"+o).click(),this.setTabIndex(o);break}o=7===o?0:o,o++}if("ArrowLeft"===t.key)for(var a=Number(n)-1;a>=0;){if(document.getElementById("product_tab_"+a)){document.getElementById("product_tab_"+a).getElementsByTagName("span")[0].focus(),document.getElementById("product_tab_"+a).click(),this.setTabIndex(a);break}a=0===a?6:a,a--}"Enter"===t.key&&this.gotoTab(t,e)},setTabIndex:function(){document.querySelectorAll(".tabs__nav--item span").forEach(function(t){t.tabIndex=-1}),setTimeout(function(){var t=document.querySelector(".tabs__nav--item.tabs--expanded span");t&&(t.tabIndex=0)},0)}},mounted:function(){this.setTab(),this.setTabIndex(Number(this.tabId))}},u=(0,n(4486).A)(c,o,[],!1,null,null,null).exports}}]);
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.