1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[88719],{8719:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var r=i(4049),s=i(447);class o extends window.PluginBaseClass{init(){this._productDetailTabs=r.Z.querySelectorAll(this.el,this.options.tabSelector,!1),this._productDetailTabs&&(this._onViewportHasChanged(),this._registerEvents())}_registerEvents(){document.addEventListener("Viewport/hasChanged",this._onViewportHasChanged.bind(this))}initTemplate(t){this._productDetailTabs.forEach(e=>{"create"===t?this._setHeadlines(e):this._removeHeadlines(e)})}_onViewportHasChanged(){let t=this.options;this._isInAllowedViewports(t.viewports)?t.headlines&&this.initTemplate("create"):t.headlines&&this.initTemplate("delete"),this.$emitter.publish("onViewportHasChanged")}_setHeadlines(t){var e,i;if(t.getAttribute("aria-controls").includes("review-tab-")&&!t.id&&(t.id=this._reviewTabNavId),!0===this.options.hasDescriptionTitle&&"description-tab"===t.id)return;let s="",o=t.firstElementChild;null!==o?(o.hasAttribute("class")&&(o=o.previousSibling),s=(e=o.innerHTML)!==null&&void 0!==e?e:o.textContent.trim()):s=(i=t.childNodes[0].innerHTML)!==null&&void 0!==i?i:t.childNodes[0].textContent.trim();let n=".product-detail-".concat(t.id,"-title"),a=r.Z.querySelector(this.el,n,!1);if(a){this._reviewTabNavId=t.id,t.removeAttribute("id");return}let d=r.Z.getAttribute(t,"href"),l=r.Z.querySelector(document,d),c='<h2 class="product-detail-tab-title product-detail-'.concat(t.id,'-title">').concat(s,"</h2>");l.insertAdjacentHTML("beforebegin",c),this.$emitter.publish("onSetHeadlines"),a=r.Z.querySelector(this.el,n,!1),t.id.includes("review-tab-")&&(this._reviewTabNavId=t.id,t.removeAttribute("id"),a.setAttribute("id",this._reviewTabNavId),a.setAttribute("aria-controls",this._reviewTabNavId+"-pane"))}_removeHeadlines(t){var e;if(((e=t.getAttribute("aria-controls"))===null||void 0===e?void 0:e.includes("review-tab-"))&&!t.id&&t.setAttribute("id",this._reviewTabNavId),!0===this.options.hasDescriptionTitle&&"description-tab"===t.id)return;let i=".product-detail-".concat(t.id,"-title"),s=r.Z.querySelector(this.el,i,!1);s&&(s.remove(),this.$emitter.publish("onRemoveHeadlines"))}_isInAllowedViewports(t){return!!t.includes(s.Z.getCurrentViewport())}}o.options={stickyHeaderSelector:".header-main[data-zen-sticky-header]",tabSelector:'a[data-bs-toggle="tab"]',headlines:!1,hasDescriptionTitle:!0,scrollOffset:100,viewports:'["LG", "XL", "XXL"]'}},9610:(t,e,i)=>{i.d(e,{Z:()=>r});class r{static debounce(t,e){let i,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var s=arguments.length,o=Array(s),n=0;n<s;n++)o[n]=arguments[n];r&&!i&&setTimeout(t.bind(t,...o),0),clearTimeout(i),i=setTimeout(t.bind(t,...o),e)}}}},4049:(t,e,i)=>{i.d(e,{Z:()=>s});var r=i(5140);class s{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!s.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!1===s.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(i)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=e.replace(/^data(|-)/,""),n=r.Z.toLowerCamelCase(o,"-");if(!s.isNode(t)){if(i)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(i)throw Error("This node doesn't support the dataset attribute!");return}let a=t.dataset[n];if(void 0===a){if(i)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return a}return r.Z.parsePrimitive(a)}static querySelector(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!s.isNode(t))throw Error("The parent node is not a valid HTML Node!");let r=t.querySelector(e)||!1;if(i&&!1===r)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return r}static querySelectorAll(t,e){let i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(i&&!s.isNode(t))throw Error("The parent node is not a valid HTML Node!");let r=t.querySelectorAll(e);if(0===r.length&&(r=!1),i&&!1===r)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return r}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n select:not([tabindex^="-"]):not([disabled]),\n textarea:not([tabindex^="-"]):not([disabled]),\n button:not([tabindex^="-"]):not([disabled]),\n a[href]:not([tabindex^="-"]):not([disabled]),\n [tabindex]:not
1([tabindex^="-"]):not([disabled])\n ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}},5140:(t,e,i)=>{i.d(e,{Z:()=>r});class r{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let i=r.toUpperCamelCase(t,e);return r.lcFirst(i)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>r.ucFirst(t.toLowerCase())).join(""):r.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}},447:(t,e,i)=>{i.d(e,{Z:()=>s});var r=i(9610);class s{_registerEvents(){window.addEventListener("DOMContentLoaded",this._onDOMContentLoaded.bind(this)),window.addEventListener("resize",r.Z.debounce(this._onResize.bind(this),200),{capture:!0,passive:!0})}_onDOMContentLoaded(){this._dispatchEvents()}_onResize(){this._viewportHasChanged(s.getCurrentViewport())&&(this._dispatchEvents(),this._dispatchViewportEvent("Viewport/hasChanged"))}_dispatchEvents(){s.isXS()?this._dispatchViewportEvent("Viewport/isXS"):s.isSM()?this._dispatchViewportEvent("Viewport/isSM"):s.isMD()?this._dispatchViewportEvent("Viewport/isMD"):s.isLG()?this._dispatchViewportEvent("Viewport/isLG"):s.isXL()?this._dispatchViewportEvent("Viewport/isXL"):s.isXXL()&&this._dispatchViewportEvent("Viewport/isXXL")}_viewportHasChanged(t){let e=t!==this.currentViewport;return e&&(this.previousViewport=this.currentViewport,this.currentViewport=t),e}_dispatchViewportEvent(t){document.$emitter.publish(t,{previousViewport:this.previousViewport})}static isXS(){return"XS"===s.getCurrentViewport()}static isSM(){return"SM"===s.getCurrentViewport()}static isMD(){return"MD"===s.getCurrentViewport()}static isLG(){return"LG"===s.getCurrentViewport()}static isXL(){return"XL"===s.getCurrentViewport()}static isXXL(){return"XXL"===s.getCurrentViewport()}static getCurrentViewport(){return window.getComputedStyle(document.documentElement).getPropertyValue("--sw-current-breakpoint").replace(/['"]+/g,"").toUpperCase()}constructor(){this.previousViewport=null,this.currentViewport=s.getCurrentViewport(),this._registerEvents()}}}}]);
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.