PageSourceSearch

https://www.reddottours.com/build/assets/accordion-CwTFBR5z.js

js reddottours.com collected 2026-10-02 12:57:44 UTC 969 bytes, 1 lines download raw bytes

1import{A as e}from"./vendor-accordion-NUN0ooKf.js";const o=()=>window.__refreshScrollTriggers?.();function f(){const i=document.querySelectorAll(".filterSidebar"),t=document.querySelectorAll(".filterSidebar__accordion"),l=document.querySelectorAll(".accommodationAccordion"),s=document.querySelectorAll(".itineraryAccordion"),a=document.querySelectorAll(".faqAccordion"),r=window.matchMedia("(max-width: 1199px)");i.forEach(n=>{const c=new e(n,{onOpen:function(){o()},onClose:function(){o()}});r.matches?c.closeAll():c.openAll(),window.addEventListener("resize",()=>{r.matches?c.closeAll():c.openAll()})}),t.forEach(n=>{new e(n,{openOnInit:[0],collapse:!1,onOpen:function(){o()},onClose:function(){o()}})}),l.forEach(n=>{new e(n,{onOpen:function(){o()},onClose:function(){o()}})}),s.forEach(n=>{new e(n,{openOnInit:[0],onOpen:function(){o()},onClose:function(){o()}})}),a.forEach(n=>{new e(n,{onOpen:function(){o()},onClose:function(){o()}})})}export{f as Accordions};

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.