1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["cross-selling.plugin"],{5019:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});var i=r(9568),l=r(4049),s=r(447);class n extends i.Z{init(){this._registerEvents()}_registerEvents(){l.Z.querySelectorAll(this.el,this.options.tabSelector).forEach(e=>{e.addEventListener("shown.bs.tab",this._rebuildCrossSellingSlider.bind(this))})}_rebuildCrossSellingSlider(e){if(!e.target.hasAttribute("id"))return;let t=e.target.id,r=l.Z.querySelector(document,"#".concat(t,"-pane")),i=l.Z.querySelector(r,this.options.productSliderSelector,!1);!1!==i&&window.PluginManager.getPluginInstanceFromElement(i,"ProductSlider").rebuild(s.Z.getCurrentViewport(),!0)}}n.options={tabSelector:'a[data-bs-toggle="tab"]',productSliderSelector:'[data-product-slider="true"]'}}}]);
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.