PageSourceSearch

https://www.quarkexpeditions.com/wp-content/themes/quarkexpedition…/index.js?ver=2026.09.23.01

js quarkexpeditions.com collected 2026-09-24 18:27:57 UTC 1,757 bytes, 1 lines download raw bytes

1(()=>{"use strict";const t="expeditionSearch",{HTMLElement:i}=window,{customElements:o}=window;o.define("quark-cta-banner-promo-toggle",class extends i{constructor(){super(),this.promotionTagValue="",this.promotionTagLabel="",this.isActive=!1,this.toggleButton=null,this.unsubscribe=null}connectedCallback(){var t,i;this.promotionTagValue=null!==(t=this.getAttribute("promotion-tag-value"))&&void 0!==t?t:"",this.promotionTagLabel=null!==(i=this.getAttribute("promotion-tag-label"))&&void 0!==i?i:"",this.toggleButton=this.querySelector(".media-cta-banner__promo-toggle-btn"),this.promotionTagValue&&!isNaN(parseInt(this.promotionTagValue,10))&&this.promotionTagLabel&&this.toggleButton&&(this.toggleButton.addEventListener("click",this.handleClick.bind(this)),this.subscribeToStore())}disconnectedCallback(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}subscribeToStore(){var i;null!==(i=window.zustand)&&void 0!==i&&null!==(i=i.stores)&&void 0!==i&&i[t]?this.unsubscribe=window.zustand.stores[t].subscribe(this.update.bind(this)):document.addEventListener("DOMContentLoaded",()=>this.subscribeToStore(),{once:!0})}update(t){const{promotionTags:i,availablePromotionTagIds:o}=t;this.style.display=o.includes(this.promotionTagValue)?"":"none",this.isActive=i.some(t=>t.value===this.promotionTagValue),this.toggleButton.setAttribute("aria-pressed",String(this.isActive)),this.toggleButton.classList.toggle("media-cta-banner__promo-toggle-btn--active",this.isActive)}handleClick(){this.isActive?window.dispatchEvent(new CustomEvent("quark.promotion-tag.remove",{detail:{value:this.promotionTagValue}})):window.dispatchEvent(new CustomEvent("quark.promotion-tag.add",{detail:{value:this.promotionTagValue,label:this.promotionTagLabel}}))}})})();

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.