PageSourceSearch

https://puzzletrip.com/_next/static/chunks/pages/more-popular-transports-010599bdfbe40e0d.js

js puzzletrip.com collected 2026-10-08 16:34:40 UTC 4,203 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ee8d80a0-c51e-4baf-9712-aa758260cc45",e._sentryDebugIdIdentifier="sentry-dbid-ee8d80a0-c51e-4baf-9712-aa758260cc45")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4749],{81963:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/more-popular-transports",function(){return n(57313)}])},35862:function(e,t,n){"use strict";var a=n(85893),o=n(79751),r=n(62949),i=n(20114),l=n(37944),u=n(68361),s=n(33747),c=n(21580),d=n(11163),f=n(69594),g=n.n(f),b=n(67294);t.Z=e=>{let{children:t}=e,{isLogin:n}=(0,r.CG)(e=>e.login.data),{data:f}=(0,r.CG)(e=>e.authUser),{data:h}=(0,r.CG)(e=>e.chatListSlice.chatList),[m,_]=(0,b.useState)(),v=(0,r.TL)(),p=localStorage.getItem("accessToken"),y=(0,d.useRouter)(),w=(0,o.s)(),E=async()=>{let e=new(g())({publishKey:"pub-c-04644af8-b613-4fa3-99aa-d81cfbe0ede9",subscribeKey:"sub-c-f8fbfd99-32cd-43d8-9b9c-8316c4bbd788",uuid:String(null==f?void 0:f.id),authKey:localStorage.getItem("accessToken")});_(e)};async function S(){if(!m||!h.length||!f)return;let e=0;for(let t of h.map(e=>e.channel_name)){let n=Number(localStorage.getItem("lastRead_".concat(t)))||0;try{let a=await m.fetchMessages({channels:[t],count:100}),o=a.channels[t]||[],r=o.filter(e=>Number(e.timetoken)>n&&Number(e.uuid)!==Number(null==f?void 0:f.id)).length;e+=r}catch(e){console.error("Error fetching messages for ".concat(t,":"),e)}}return v((0,s.jq)({type:"chat_notification",value:!!e})),e}return(0,b.useEffect)(()=>{f&&E()},[f]),(0,b.useEffect)(()=>{if(!m||!f)return;let e=h.map(e=>e.channel_name);m.subscribe({channels:e});let t={message:e=>{let{channel:t,timetoken:n,message:a}=e,o=(null==a?void 0:a.uuid)||e.publisher,r=Number(localStorage.getItem("lastRead_".concat(t)))||0,i=localStorage.getItem("activeChatChannel");n>r&&Number(o)!==Number(null==f?void 0:f.id)&&t!==i&&v((0,s.jq)({type:"chat_notification",value:!0}))},file:e=>{let{channel:t,timetoken:n,publisher:a}=e,o=Number(localStorage.getItem("lastRead_".concat(t)))||0,r=localStorage.getItem("activeChatChannel");n>o&&Number(a)!==Number(null==f?void 0:f.id)&&t!==r&&v((0,s.jq)({type:"chat_notification",value:!0}))}};return m.addListener(t),()=>{m.removeListener(t),m.unsubscribeAll()}},[m,h,f]),(0,b.useEffect)(()=>{f&&h.length&&S()},[m,h,f]),(0,b.useEffect)(()=>{if(window.FS){if(f){var e;window.FS.setUserVars({role:null==f?void 0:null===(e=f.role)||void 0===e?void 0:e.key,email:null==f?void 0:f.email,name:null==f?void 0:f.full_name})}else window.FS.setUserVars({role:"GUEST",email:"GUEST",name:"GUEST"})}!y.pathname.includes("chat")&&f&&v((0,u.sV)({page:1,searchKeyword:"",perPage:20}))},[f]),(0,b.useEffect)(()=>{if(!w||!f)return;let e=(e,t,n,a,o)=>{w.hasListeners(e)||w.on(e,e=>{e.data&&v((0,s.Nh)({group:o,value:e.data.id})),e.message&&(v((0,s.jq)({type:t,value:!0})),y.pathname.includes(n)&&v(a({page:1,perPage:10,orderBy:"DESC"})).unwrap().then(()=>{v((0,s.jq)({type:t,value:!1}))}))})};return e("BOOKING_".concat(null==f?void 0:f.id),"booking_notification","booking-management",l.aL,"bookingIDs"),e("AVIATION_REQUEST_".concat(null==f?void 0:f.id),"aviation_request_notification","plane-reservation",i.kQ,"aviationRequestIDs"),()=>{w.off("message")}},[w,f]),(0,b.useEffect)(()=>{n&&p&&!f&&v((0,c.uL)())},[n,p,f,v]),(0,b.useEffect)(()=>{let e=e=>{"logoutEvent"===e.key&&(window.location.href="/")};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[]),(0,a.jsx)(a.Fragment,{children:t})}},57313:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return c}});var a=n(85893),o=n(67294),r=n(92511),i=n(35862),l=n(14163);let u=(0,o.lazy)(()=>n.e(5576).then(n.bind(n,45576))),s=e=>(0,a.jsx)(u,{params:e.category_key});s.getLayout=function(e){return(0,a.jsx)(l.ZP,{children:(0,a.jsx)("main",{style:{backgroundColor:r.M1},children:(0,a.jsx)(i.Z,{children:e})})})};var c=!0;t.default=s}},function(e){e.O(0,[2554,1255,1989,5777,8560,4163,9774,2888,179],function(){return e(e.s=81963)}),_N_E=e.O()}]);

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.