1const{Core,Utils,Events,onBlazeLoad}=Global,{$fetch,$clone}=Utils,REQ_TEMPLATE_SELECTOR="[data-req-content]";customElements.define("product-recommendations-slider",class extends Core{propTypes={"ref-product-id":String,"req-url":String,"req-section":String,limit:Number};elements={slider:"slideshow-inline-blaze"};render(){onBlazeLoad(this._handleRecommendations.bind(this))}async _handleRecommendations(){await customElements.whenDefined(this.elements.slider);try{const $content=await $fetch(this.prop("req-url"),{params:{product_id:this.prop("ref-product-id"),section_id:this.prop("req-section"),limit:this.prop("limit")},select:REQ_TEMPLATE_SELECTOR});if($content)this._injectSlides($clone($content)),this.pub(Events.RECOMMENDATIONS_LOADED);else throw new Error("Missing template from request section")}catch(e){console.error(e),this.pub(Events.RECOMMENDATIONS_LOADED,{error:e}),this.remove()}}_injectSlides($content){this.$("slider").replaceSlides($content.childNodes)}}); 2//# sourceMappingURL=/cdn/shop/t/78/assets/product-recommendations-slider.js.map?v=93018523128154341701774326701
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.