PageSourceSearch

https://lidomatrip.com/_next/static/chunks/7769.8bca774546ee6914.js

js lidomatrip.com collected 2026-10-02 20:24:42 UTC 4,061 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7769,7817],{87817:function(e,t,l){l.r(t);var n=l(85893);t.default=function(e){let{onClose:t,closeIconClassname:l,"aria-label":r="بستن"}=e;return(0,n.jsx)("button",{type:"button","aria-label":r,onClick:e=>t(e),className:"flex items-center justify-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-main",children:(0,n.jsx)("i",{"aria-hidden":"true",className:`icon-ErrorFill text-gray-400 text-20 cursor-pointer ${l||""}`})})}},57769:function(e,t,l){l.r(t),l.d(t,{default:function(){return p}});var n=l(85893),r=l(5152),s=l.n(r),a=l(91879),i=l(11163),o=l(67294),u=l(87817),c=l(47300),d=function(e){let{showLidomaAppNotification:t,setShowLidomaAppNotification:l}=e;return(0,n.jsx)(n.Fragment,{children:t&&(0,n.jsxs)("div",{className:"py-8 px-16 bg-black flex items-center justify-between",children:[(0,n.jsxs)("div",{className:"flex items-center gap-x-12",children:[(0,n.jsx)("p",{className:"text-13 text-white leading-16 font-r",children:"تخفیف های ویژه در اپلیکیشن لیدوما"}),(0,n.jsx)(c.Q,{href:"/lidoma-app",onClick:()=>l(!1),variant:"contained",color:"white",rounded:!0,children:"دانلود"})]}),(0,n.jsx)(u.default,{onClose:()=>l(!1)})]})})};let f=s()(()=>l.e(4518).then(l.bind(l,3144)),{loadableGenerated:{webpack:()=>[3144]},ssr:!0}),m=s()(()=>l.e(3502).then(l.bind(l,33502)),{loadableGenerated:{webpack:()=>[33502]},ssr:!0}),b=s()(()=>Promise.all([l.e(4885),l.e(8289),l.e(3765),l.e(8897)]).then(l.bind(l,48897)),{loadableGenerated:{webpack:()=>[48897]},ssr:!0}),v=s()(()=>l.e(5282).then(l.bind(l,25282)),{loadableGenerated:{webpack:()=>[25282]},ssr:!0});var p=function(){let[e,t]=(0,o.useState)(!0),l=(0,i.useRouter)(),r=(0,a.Gr)(),s=(0,o.useRef)();(0,o.useRef)();let u=(0,o.useRef)();(0,o.useRef)();let c=(0,o.useRef)(),p=()=>{var e,t,l,n,r,a,i,o;let d=document.querySelector("#SearchPage-BottomFloater"),f=document.querySelector("#SearchPage-MapBtnText"),m=window.scrollY,b=u.current??0;if(6>Math.abs(m-b))return;u.current=m;let v=m<=80?1:m>b?2:1;v!==c.current&&(c.current=v,2===v?(null==s||null===(e=s.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add("translate-y-[100%]"),null==s||null===(l=s.current)||void 0===l||null===(n=l.classList)||void 0===n||n.remove("translate-y-0"),null==d||d.classList.add("!bottom-16"),null==f||f.classList.remove("!w-40"),null==f||f.classList.remove("md:!w-auto")):(null==s||null===(r=s.current)||void 0===r||null===(a=r.classList)||void 0===a||a.remove("translate-y-[100%]"),null==s||null===(i=s.current)||void 0===i||null===(o=i.classList)||void 0===o||o.add("translate-y-0"),null==d||d.classList.remove("!bottom-16"),null==f||f.classList.add("!w-40"),null==f||f.classList.add("md:!w-auto")))};return(0,o.useEffect)(()=>{var e,t,l,n;return u.current=window.scrollY,c.current=1,null==s||null===(e=s.current)||void 0===e||null===(t=e.classList)||void 0===t||t.remove("translate-y-[100%]"),null==s||null===(l=s.current)||void 0===l||null===(n=l.classList)||void 0===n||n.add("translate-y-0"),window.addEventListener("scroll",p,{passive:!0}),()=>{window.removeEventListener("scroll",p)}},[l.pathname]),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("nav",{"aria-label":"ناوبری اصلی",ref:s,className:`
2          flex flex-col md:hidden fixed z-5 bottom-0 right-0 left-0 translate-y-0 transition-transform duration-300 ease-out will-change-transform md:transition-none md:translate-y-0
3        `,children:[(null==r?void 0:r.current_trip)?(0,n.jsx)(f,{}):"/"===l.pathname?(0,n.jsx)(d,{showLidomaAppNotification:e,setShowLidomaAppNotification:t}):null,(0,n.jsx)("div",{className:`
4            flex items-center justify-center bg-white w-full bg-opacity-90 backdrop-blur-xl pt-6 border-t-1 border-solid border-gray-C4CAD3
5            ${null===r.user_type||r.user_type===a.P.PUBLIC?"gap-x-18":r.is_host?"gap-x-12":""}
6          `,children:null===r.user_type||r.user_type===a.P.PUBLIC?(0,n.jsx)(m,{}):r.is_host?(0,n.jsx)(b,{}):(0,n.jsx)(v,{})})]})})}}}]);

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.