PageSourceSearch

https://www.montpellier-frankreich.de/app/dist/montpelliertourisme…ry-reveal-toggler-controller.26149551a6.mjs

js montpellier-frankreich.de collected 2026-10-02 20:39:17 UTC 1,421 bytes, 1 lines download raw bytes

1import a from"woody_library_woody_controller";import i from"woody_library_filter";class l extends a{#t={observer_target:".sheet-itinerary-trace-geomap",aria_label_open:"open",aria_label_close:"close"};#i=!1;#e;constructor(t){super(t)}async init(t){super.init(t),this.config=Object.assign(this.#t,this.config),this.#e=document.querySelector(this.config.observer_target);const s=new IntersectionObserver(e=>{e.forEach(o=>{o.isIntersecting?this.hideToggler():this.showToggler()})},{rootMargin:"0px"});this.#e&&s.observe(this.#e),this.el.addEventListener("click",e=>{e.preventDefault(),this.toggleReveal()}),this.el.addEventListener("keypress",e=>{e.preventDefault(),(e.keyCode==13||e.keyCode==32)&&this.toggleReveal()}),document.addEventListener("onItineraryRevealOpened",e=>{this.onRevealOpened()}),document.addEventListener("onItineraryRevealClosed",e=>{this.onRevealClosed()})}toggleReveal(){document.dispatchEvent(new CustomEvent("toggleItineraryReveal"))}onRevealOpened(){this.el.classList.add("opened"),this.el.setAttribute("aria-label",this.config.aria_label_close)}onRevealClosed(){this.el.classList.remove("opened"),this.el.setAttribute("aria-label",this.config.aria_label_open)}showToggler(){this.el.classList.add("active"),this.el.style.marginTop=typeof i.apply("header_mobilenavs_height")<"u"?i.apply("header_mobilenavs_height")+"px":"0px"}hideToggler(){this.el.classList.remove("active")}}export{l as default};

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.