PageSourceSearch

https://globaladventuretrekking.com/_next/static/chunks/8719.99a4d725694554a4.js

js globaladventuretrekking.com collected 2026-10-02 19:32:52 UTC 4,847 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8719],{98719:function(e,s,l){l.r(s);var t=l(57437),a=l(3507),n=l(65570),r=l(30166),c=l(33145),i=l(27648),o=l(2265);let d=(0,r.default)(()=>l.e(9848).then(l.bind(l,99848)),{loadableGenerated:{webpack:()=>[99848]}}),m=(0,r.default)(()=>l.e(7554).then(l.bind(l,27554)),{loadableGenerated:{webpack:()=>[27554]}});s.default=e=>{let{menus:s,settings:l}=e,r=(0,o.useRef)(null),[u,h]=(0,o.useState)(!1),[x,g]=(0,o.useState)(!1),p=e=>{e.preventDefault();let s=e.currentTarget.nextElementSibling;s.style.maxHeight="10000px"===s.style.maxHeight?"0":"10000px",e.currentTarget.classList.toggle("rotate")},b=()=>{document.querySelectorAll(".open-menu").forEach(e=>{e.nextElementSibling.style.maxHeight=0,e.classList.remove("rotate")}),h(!1)};return(0,o.useEffect)(()=>{let e=document.querySelectorAll(".open-menu");e.forEach(e=>{e.addEventListener("click",p)});let s=e=>{r.current&&!r.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",s),()=>{e.forEach(e=>{e.removeEventListener("click",p)}),document.removeEventListener("mousedown",s)}},[]),(0,o.useEffect)(()=>{let e=e=>{let s=document.getElementById("mobile-search-bar");x&&!e.target.closest(".search-box-wrapper")&&e.target!==s&&g(!1)};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[x]),(0,o.useEffect)(()=>{let e=()=>{let e=document.querySelector(".mob-nav");window.scrollY>100?e.classList.add("sticky"):e.classList.remove("sticky")};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,t.jsxs)("nav",{className:"custom-shadow mob-nav block bg-white px-[15px] lg:hidden",ref:r,children:[(0,t.jsxs)("div",{id:"mobile-nav",children:[(0,t.jsxs)("div",{className:"mobile-nav__wrap flex items-center justify-between",children:[(0,t.jsx)("div",{className:"biz__logo",children:(0,t.jsx)(i.default,{href:"/",children:(0,t.jsx)(c.default,{width:80,height:80,src:(0,n.pZ)("/themes/images/new-logo-mobile.svg"),alt:l[0].setting_value,loading:"eager",priority:!0})})}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(i.default,{href:"/wishlist","aria-label":"wishlist",className:"pl-3",children:(0,t.jsx)(a.Pz,{className:"icon-primary h-6 w-6"})}),(0,t.jsx)("span",{className:"mx-4 flex w-full items-center gap-3 px-2 py-4",onClick:()=>g(!x),children:(0,t.jsx)(a.W1,{className:"icon-primary h-5 w-5"})}),(0,t.jsxs)("div",{className:"menu-button flex  items-center gap-[5px] hover:cursor-pointer",onClick:()=>h(!u),children:[(0,t.jsxs)("div",{id:"menu-toggle",className:"menu-toggle ".concat(u?"nav-open":""),children:[(0,t.jsx)("span",{className:"menu-toggle-bar menu-toggle-bar--top"}),(0,t.jsx)("span",{className:"menu-toggle-bar menu-toggle-bar--middle"}),(0,t.jsx)("span",{className:"menu-toggle-bar menu-toggle-bar--bottom"})]}),(0,t.jsx)("span",{className:"pl-2 text-sm font-semibold text-primary sm:text-base",children:"Menu"})]})]})]}),(0,t.jsx)("div",{className:"overflow",children:(0,t.jsx)("ul",{className:u?"open":"",children:null==s?void 0:s.map(e=>{var s,l,a;return(0,t.jsxs)("li",{children:[(0,t.jsx)(i.default,{href:"/"+e.slug,onClick:b,children:e.menu_title}),(null===(s=e.children)||void 0===s?void 0:s.length)>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"open-menu",children:[(0,t.jsx)("span",{className:"icon-rotate",children:"+"}),(0,t.jsx)("span",{className:"icon-minus",children:"-"})]}),(0,t.jsx)(d,{menus:e.children,closeMenu:b})]}),(null===(a=e.category)||void 0===a?void 0:null===(l=a.packages)||void 0===l?void 0:l.length)>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"open-menu",children:[(0,t.jsx)("span",{className:"icon-rotate",children:"+"}),(0,t.jsx)("span",{className:"icon-minus",children:"-"})]}),(0,t.jsx)(m,{packages:e.category.packages,closeMenu:b})]})]},e.id)})})})]}),(0,t.jsx)("div",{id:"mobile-search",children:(0,t.jsx)("div",{className:x?"modal-dialog is-active":"modal-dialog",children:(0,t.jsx)("div",{className:"modal-content center",children:(0,t.jsxs)("form",{action:"/search",method:"GET",className:"relative",children:[(0,t.jsx)("label",{htmlFor:"mobile-search-bar",className:"text-text-color dark:text-white sr-only mb-2 text-sm font-medium",children:"Search"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{type:"text",id:"mobile-search-bar",name:"q",className:"text-text-color dark:placeholder-gray-400 block w-full rounded-lg border border-gray-300 bg-gray-50 p-4 text-sm",placeholder:"Search",required:!0}),(0,t.jsx)("button",{type:"submit","aria-label":"search",className:"absolute bottom-2.5 end-2.5 rounded-lg px-4 py-2 text-sm font-medium text-white focus:outline-none focus:ring-4 focus:ring-blue-300",children:(0,t.jsx)(a.W1,{className:"icon-primary h-5 w-5"})})]})]})})})})]})}}}]);

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.