PageSourceSearch

https://www.bestleipzighotels.com/cdn/files/base/build/6685.14c8f97e9a277fa4ea77.js

js bestleipzighotels.com collected 2026-10-10 00:46:04 UTC 1,934 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[6685,6337],{96685:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});class s{constructor(t){var{multiple:e=!1,behavior:i="auto"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)throw new Error("Selector or Dom elements is required");this._triggers="string"==typeof t?[...document.querySelectorAll(t)]:t,this._options={multiple:e,behavior:i},this._listeners={click:this._clickHandler.bind(this)},this._triggers.forEach((t=>t.addEventListener("click",this._listeners.click))),"smooth"===this._options.behavior&&this._triggers.forEach((t=>{var e=this._getTarget(t);e.style.height=e.scrollHeight+"px",e.style.overflow="hidden",e.style.transition="all 0.5s"})),this._options.multiple||this._hideOther(null)}_toggleItem(t){var e=this._getTarget(t);t.classList.toggle("active"),e.classList.toggle("active"),"smooth"===this._options.behavior&&(e.style.height=e.classList.contains("active")?e.scrollHeight+"px":0)}_getTarget(t){var e=t.dataset.target||t.nextElementSibling;if(!e)throw new Error("Cannot find accordion target: "+t);return e}_clickHandler(t){var e=t.currentTarget;this._options.multiple||this._hideOther(e),this._toggleItem(e)}_hideOther(t){this._triggers.forEach((e=>{if(t!==e){var i=this._getTarget(e);e.classList.remove("active"),i.classList.remove("active"),"smooth"===this._options.behavior&&(i.style.height=0)}}))}_validateIndex(t,e){if("number"!=typeof t)throw new Error("Fail to open accordion target. ".concat(t," is not a number"));if(t>=e.length||t<0)throw new Error("Fail to open accordion target. Cannot find element with index ".concat(t))}closeAll(){this._hideOther(null)}open(t){this._validateIndex(t,this._triggers);var e=this._triggers[t];e.classList.contains("active")||(this._options.multiple||this._hideOther(null),this._toggleItem(e))}destroy(){this._triggers.forEach((t=>t.removeEventListener("click",this._listeners.click)))}}}}]);

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.