1"use strict";(self.webpackChunk_mvps_genesis_quickstart_theme=self.webpackChunk_mvps_genesis_quickstart_theme||[]).push([[3151],{3151:(t,e,l)=>{l.d(e,{default:()=>i});var s=l(1559);const i=class{#t;triggerElements;beforeScroll;scrollElement;scrollIntoViewOptions;constructor(t){let{beforeScroll:e=null,scrollToAttribute:l="data-scroll-to",scrollToSelector:i="",scrollIntoViewOptions:o={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.#t=new s.A(this),this.triggerElements=this.#t.isElementList("triggerElements",t),this.beforeScroll=e,this.scrollElement=this.#t.isElement("scrollElement",this.#t.isString("scrollToSelector",i)||this.triggerElements[0].getAttribute(this.#t.isString("scrollToAttribute",l))),this.scrollIntoViewOptions=this.#t.isObject("scrollIntoViewOptions",o),this.bindEvents()}bindEvents(){for(const t of this.triggerElements)t.addEventListener("click",(t=>this.scrollToElement(t)))}scrollToElement(t){t.preventDefault(),"function"==typeof this.beforeScroll&&this.beforeScroll(),this.scrollElement.scrollIntoView(this.scrollIntoViewOptions)}}}}]); 2//# sourceMappingURL=3151.36d78534dd20ea37c482.chunk.js.map
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.