1import { Application } from "./stimulus.js"; 2import * as Turbo from "./turbo.js"; 3 4import dialogController from "dialog"; 5import alertDialogController from "alertDialog"; 6import hamburgerController from "hamburgerController"; 7import advancedSearchController from "advancedSearchController"; 8import searchController from "searchController"; 9import videoController from "videoController"; 10import lazyYoutubeController from "lazyYoutubeController"; 11import gptAdController from "gptAdController"; 12import flashMessageController from "flashMessage"; 13import labelsDescriptionController from "labelsDescription"; 14import articleListController from "articleListController"; 15import carouselController from "carouselController"; 16import adController from "adController"; 17import contactFormController from "contactFormModule"; 18import navigationController from "navigationController"; 19import currentTimeController from "currentTimeController"; 20import newsletterSignupController from "newsletterSignup"; 21import newsTickerController from "newsTickerController"; 22import articleImageController from "articleImage"; 23 24window.Stimulus = Application.start(); 25 26Stimulus.register("dialog", dialogController); 27Stimulus.register("alert-dialog", alertDialogController); 28Stimulus.register("hamburger", hamburgerController); 29Stimulus.register("advanced-search", advancedSearchController); 30Stimulus.register("search", searchController); 31Stimulus.register("video", videoController); 32Stimulus.register("lazy-youtube", lazyYoutubeController); 33Stimulus.register("gpt-ad", gptAdController); 34Stimulus.register("flash-message", flashMessageController); 35Stimulus.register("labels-description", labelsDescriptionController); 36Stimulus.register("article-list", articleListController); 37Stimulus.register("carousel", carouselController); 38Stimulus.register("ads", adController); 39Stimulus.register("contact-form", contactFormController); 40Stimulus.register("navigation", navigationController); 41Stimulus.register("current-time", currentTimeController); 42Stimulus.register("newsletter-signup", newsletterSignupController); 43Stimulus.register("news-ticker", newsTickerController); 44Stimulus.register("article-image", articleImageController); 45 46document.addEventListener("click", (event) => { 47 const link = event.target.closest('a[href^="#"]'); 48 const target = link && document.querySelector(link.getAttribute("href")); 49 if (!target) return; 50 event.preventDefault(); 51 target.scrollIntoView({ behavior: "smooth" }); 52});
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.