PageSourceSearch

https://www.hotelsinseattle.info/new/designs/22/build/4472.21b3044b14d629414461.js

js hotelsinseattle.info collected 2026-10-10 00:42:48 UTC 2,459 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[4472],{84472:(t,e,i)=>{i.r(e),new(i(56242).default)(".js-footer-toggle-trigger",{multiple:!0,behavior:"smooth"}).closeAll();var r=document.querySelector(".js-footer"),s=null==r?void 0:r.querySelector(".js-footer-about-us"),o=null==r?void 0:r.querySelector(".js-open-contact-us-modal");null==s||s.addEventListener("click",(()=>{travel.events.footer.send("about-us-click")})),null==o||o.addEventListener("click",(()=>{var t;return null===(t=travel.events)||void 0===t||null===(t=t.footer)||void 0===t?void 0:t.send("contact-us-click")}))},56242:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});class r{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.