PageSourceSearch

https://www.wego.co.in/roxana/2908.d66a8b55.bundle.js

js wego.co.in collected 2026-09-24 13:08:19 UTC 13,256 bytes, 2 lines download raw bytes

1/*! For license information please see 2908.d66a8b55.bundle.js.LICENSE.txt */
2"use strict";(self.webpackChunkroxana=self.webpackChunkroxana||[]).push([[2908],{35826(e,t,r){r.d(t,{A:()=>i});var n,o=r(96540);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}const i=function(e){return o.createElement("svg",a({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29289 8.29289C4.68342 7.90237 5.31658 7.90237 5.70711 8.29289L12 14.5858L18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289C20.0976 8.68342 20.0976 9.31658 19.7071 9.70711L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L4.29289 9.70711C3.90237 9.31658 3.90237 8.68342 4.29289 8.29289Z",fill:"#767676"})))}},40676(e,t,r){r.d(t,{P:()=>T,A:()=>C}),r(52675),r(89463),r(2259),r(16280),r(76918),r(23418),r(64346),r(23792),r(44114),r(34782),r(23288),r(94170),r(62010),r(59904),r(84185),r(40875),r(10287),r(26099),r(3362),r(27495),r(90906),r(38781),r(47764),r(5746),r(62953),r(48408);var n=r(10619),o=r(38411),a=r(27133),i=r(83428),c=r(57762),l=r(96540),s=r(71468),u=r(78106),d=r(28651),f=r(6818),y=r(49922),h=r(71874),_=r(48009),p=r(27564),v=r(13968),g=r(97670),b=r(24375);const m="PbeGXOE4Va1BLTgr2LkL",j="_m_YQDUj6ZZy83F0oc7S";var w=r(74848);function S(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var l=n&&n.prototype instanceof c?n:c,s=Object.create(l.prototype);return x(s,"_invoke",function(r,n,o){var a,c,l,s=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,r){return a=t,c=0,l=e,f.n=r,i}};function y(r,n){for(c=r,l=n,t=0;!d&&s&&!o&&t<u.length;t++){var o,a=u[t],y=f.p,h=a[2];r>3?(o=h===n)&&(l=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=y&&((o=r<2&&y<a[1])?(c=0,f.v=n,f.n=a[1]):y<h&&(o=r<3||a[0]>n||n>h)&&(a[4]=r,a[5]=n,f.n=h,c=0))}if(o||r>1)return i;throw d=!0,n}return function(o,u,h){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&y(u,h),c=u,l=h;(t=c<2?e:l)||!d;){a||(c?c<3?(c>1&&(f.n=-1),y(c,l)):f.n=l:f.v=l);try{if(s=2,a){if(c||(o="next"),t=a[o]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=e}else if((t=(d=f.n<0)?l:r.call(n,f))!==i)break}catch(t){a=e,c=1,l=t}finally{s=1}}return{value:t,done:d}}}(r,o,a),!0),s}var i={};function c(){}function l(){}function s(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(x(t={},n,function(){return this}),t),d=s.prototype=c.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,x(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=s,x(d,"constructor",s),x(s,"constructor",l),l.displayName="GeneratorFunction",x(s,o,"GeneratorFunction"),x(d),x(d,o,"Generator"),x(d,n,function(){return this}),x(d,"toString",function(){return"[object Generator]"}),(S=function(){return{w:a,m:f}})()}function x(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}x=function(e,t,r,n){function a(t,r){x(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},x(e,t,r,n)}function k(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var T=function(e){return e.FLIGHTS="flights",e.HOTELS="hotels",e}({});const C=function(e){var t,r,x=e.product,C=void 0===x?T.FLIGHTS:x,F=e.genzoTrackPageViewBaseType,L=e.localeParam,G=e.onRefresh,E=e.wegoAnalyticsClientId,H=e.wegoAnalyticsClientSessionId,P=(0,s.d4)(b.uJ),I=(0,s.d4)(b.Ke),N=(0,s.d4)(b.MS),A=(0,s.d4)(b.YH),B=(0,s.d4)(b.h2),M=(0,l.useContext)(y.F).webEngageAnonymousId,R=(0,u.zy)(),U=R.search,J=R.state,Z=(0,g.e)().login,X=(0,l.useMemo)(function(){var e=new URLSearchParams(U);e.delete("modal"),e.delete("search_id"),e.delete("guests"),e.delete("sort"),e.delete("order"),e.delete("name"),e.delete("deals"),e.delete("amenities"),e.delete("providers"),e.delete("brands"),e.delete("chains"),e.delete("districts"),e.delete("price"),e.delete("accommodation_types"),e.delete("free_amenities"),e.delete("guest_rating"),e.delete("guest_score"),e.delete("stars"),e.delete("provider_codes"),e.delete("open_calendar"),e.delete("outbound_date"),e.delete("inbound_date"),e.delete("dep_code"),e.delete("arr_code"),e.delete("trip_type"),e.delete("reference_id"),e.delete("sponsored_ad_id"),e.delete("booking_id"),e.delete("booking_page_view_id"),e.delete("selected_hotel_ids"),e.delete("payment_methods"),e.delete("view"),e.delete(f.NJ),e.delete("session_id"),e.delete("selected_trip_id"),e.delete(c.uH),e.delete("provider"),e.delete("wego_hotel_id"),(0,p.ML)(e);var t=(0,h.jq)(e).toString();return t?"?".concat(t):""},[U,h.jq]),q=(0,l.useMemo)(function(){return(0,i.F1)()},[]),Q=(t=(0,l.useState)("visible"===document.visibilityState),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],l=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;
2!(l=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,r)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),z=Q[0],D=Q[1],K=(0,l.useCallback)(function(){D("visible"===document.visibilityState)},[]);(0,l.useEffect)(function(){return document.addEventListener("visibilitychange",K),function(){document.removeEventListener("visibilitychange",K)}},[K]),(0,l.useEffect)(function(){if(E&&H&&M&&z){var e={id:E,session_id:H};B&&(e.user_hash=B.userHash);var t={name:C===T.FLIGHTS?"Flights Results | Refresh Prompt":"Hotels Results | Refresh Prompt",product:C,base_type:F,sub_type:"refresh_results",locale:N,site_code:I.countryCode,url:window.location.href,referrer_url:document.referrer},r={id:q,client:e,page:t,created_at:(0,o.zg)(new Date),external_services:{crm_id:B?B.userHash:M}};(0,a.JB)(P,r)}},[P,F,E,H,I.countryCode,N,q,B,M,z]);var V=function(){if(E&&H){var e={id:q,category:"refresh_results",object:"refresh_results",action:"refresh_search",value:"refresh_search"};(0,a.lI)(P,E,H,null==B?void 0:B.userHash,e)}G()},W=function(){if(E&&H){var e={id:q,category:"refresh_results",object:"refresh_results",action:"login_to_unlock_deals",value:"login_to_unlock_deals"};(0,a.lI)(P,E,H,null==B?void 0:B.userHash,e)}},$=function(){var e,t=(e=S().m(function e(){return S().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,W();case 1:Z();case 2:return e.a(2)}},e)}),function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(e){k(a,n,o,i,c,"next",e)}function c(e){k(a,n,o,i,c,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}();return(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{"data-testid":"search-expired-popup",className:"b6aEFh8rWlULE2_1CoUn",onClick:V}),(0,w.jsxs)("div",{className:"c3uMCnXgah9yUEu239LT",children:[(0,w.jsx)("img",{src:(0,_.k1)("https://edge.wego.com/image/upload/v1705998176/web/misc/finding-flight.png","c_fill","f_auto","q_auto:low","fl_lossy")}),(0,w.jsx)("div",{className:"SSvuHM_Ziu8SiuX90h7a",children:B||C===T.FLIGHTS?A.search_expired_title:A.search_expired_title_non_user}),B||C===T.FLIGHTS?(0,w.jsx)("div",{className:m,children:A.search_expired_subtitle}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:m,children:A.search_expired_subtitle_non_user_1}),(0,w.jsx)("div",{className:m,children:A.search_expired_subtitle_non_user_2})]}),(0,w.jsxs)("div",{className:"WCTJ3BbsK5XqNcNFfSM2",children:[B||C===T.FLIGHTS?(0,w.jsx)(d.k2,{onClick:function(){if(E&&H){var e={id:q,category:"refresh_results",object:"refresh_results",action:"back_to_homepage",value:"back_to_homepage"};(0,a.lI)(P,E,H,null==B?void 0:B.userHash,e)}},state:J,to:{pathname:C===T.FLIGHTS?(0,v.BQ)(I,L):(0,v.Bj)(I,L),search:X},children:(0,w.jsx)("button",{className:(0,n.$)("OuwoLxee_r1XArdeSQVD",j),children:A.go_back_to_homepage})}):(0,w.jsx)("button",{onClick:$,className:(0,n.$)("V0mwBoNkTecnW_Z_TSkp",j),children:A.login_to_unlock_deals}),(0,w.jsx)("button",{className:(0,n.$)("ZIKWhFNJapazxywrSZCs",j),onClick:V,children:A.refresh_search})]})]})]})}},99359(e,t,r){r.d(t,{A:()=>n.A});var n=r(40676)},87997(e,t,r){r.d(t,{G:()=>f}),r(52675),r(89463),r(16280),r(76918),r(94170),r(59904),r(84185),r(40875),r(10287),r(26099),r(3362);var n=r(63064),o=r(21154),a=r(71468),i=r(130),c=r(24375),l=r(43405);function s(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function a(r,n,o,a){var l=n&&n.prototype instanceof c?n:c,s=Object.create(l.prototype);return u(s,"_invoke",function(r,n,o){var a,c,l,s=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,r){return a=t,c=0,l=e,f.n=r,i}};function y(r,n){for(c=r,l=n,t=0;!d&&s&&!o&&t<u.length;t++){var o,a=u[t],y=f.p,h=a[2];r>3?(o=h===n)&&(l=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=y&&((o=r<2&&y<a[1])?(c=0,f.v=n,f.n=a[1]):y<h&&(o=r<3||a[0]>n||n>h)&&(a[4]=r,a[5]=n,f.n=h,c=0))}if(o||r>1)return i;throw d=!0,n}return function(o,u,h){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&y(u,h),c=u,l=h;(t=c<2?e:l)||!d;){a||(c?c<3?(c>1&&(f.n=-1),y(c,l)):f.n=l:f.v=l);try{if(s=2,a){if(c||(o="next"),t=a[o]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);a=e}else if((t=(d=f.n<0)?l:r.call(n,f))!==i)break}catch(t){a=e,c=1,l=t}finally{s=1}}return{value:t,done:d}}}(r,o,a),!0),s}var i={};function c(){}function l(){}function d(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):(u(t={},n,function(){return this}),t),y=d.prototype=c.prototype=Object.create(f);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,u(e,o,"GeneratorFunction")),e.prototype=Object.create(y),e}return l.prototype=d,u(y,"constructor",d),u(d,"constructor",l),l.displayName="GeneratorFunction",u(d,o,"GeneratorFunction"),u(y),u(y,o,"Generator"),u(y,n,function(){return this}),u(y,"toString",function(){return"[object Generator]"}),(s=function(){return{w:a,m:h}})()}function u(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}u=function(e,t,r,n){function a(t,r){u(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},u(e,t,r,n)}function d(e,t,r,n,o,a,i){try{var c=e[a](i),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}var f=function(){var e,t,r=(0,a.d4)(c.rX),u=(0,a.d4)(c.MS),f=(0,a.d4)(c.h2),y=(0,n.jE)();return(0,o.n)({mutationFn:function(){return(0,i.pw)(r,u)},onSuccess:(e=s().m(function e(t){return s().w(function(e){for(;;)switch(e.n){case 0:return null!=t&&t.currentTier&&y.setQueryData([l.a,null==f?void 0:f.userHash,u],t),e.n=1,y.invalidateQueries({queryKey:[l.a]});case 1:return e.a(2)}},e)}),t=function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(e){d(a,n,o,i,c,"next",e)}function c(e){d(a,n,o,i,c,"throw",e)}i(void 0)})},function(e){return t.apply(this,arguments)})})}},47851(e,t,r){r.d(t,{a:()=>l,n:()=>s});var n=r(78317),o=r(27133),a=r(96540),i=r(71468),c=r(24375),l={homeSignUp:{category:"loyalty_home_signup",object:"loyalty_signup"},homeBanner:{category:"loyalty_home_banner",object:"loyalty_banner"},dashboardJoin:{category:"account_consent",object:"account_join_cta"},consentJoin:{category:"loyalty_sheet",object:"loyalty_consent"},srpBanner:{category:"loyalty_srp_banner",object:"loyalty_banner"},srpSignUp:{category:"loyalty_srp_signup",object:"loyalty_signup"},srpBadge:{category:"loyalty_srp_badge",object:"loyalty_badge"},hdpBadge:{category:"loyalty_hdp_badge",object:"loyalty_badge"},hdpSignUp:{category:"loyalty_hdp_signup",object:"loyalty_signup"},hdpBanner:{category:"loyalty_hdp_banner",object:"loyalty_banner"}},s=function(e){var t=(0,i.d4)(c.h2);return(0,a.useCallback)(function(r){var a=(0,n.Ri)("wego_analytics_client_id"),i=(0,n.Ri)("wego_analytics_client_session_id");a&&i&&e&&(0,o.lI)("https://srv.wego.com",a,i,null==t?void 0:t.userHash,{id:e,category:r.category,object:r.object,action:"clicked",value:""})},[e,null==t?void 0:t.userHash])}}}]);

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.