PageSourceSearch

https://travelpal.ai/_next/static/chunks/0n9ptza75yp_x.js?dpl=dpl_2XmuBcuLVsN7H7zxMC7MxroQPy8Q

js travelpal.ai collected 2026-10-02 13:16:22 UTC 38,370 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="cc475671-fa0a-0201-c219-300d5c675c05")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,466497,e=>{"use strict";var t=e.i(271645);let n=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M144,128a16,16,0,1,1-16-16A16,16,0,0,1,144,128ZM60,112a16,16,0,1,0,16,16A16,16,0,0,0,60,112Zm136,0a16,16,0,1,0,16,16A16,16,0,0,0,196,112Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M240,96v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V96A16,16,0,0,1,32,80H224A16,16,0,0,1,240,96Z",opacity:"0.2"}),t.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,80H32A16,16,0,0,0,16,96v64a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V96A16,16,0,0,0,224,80ZM60,140a12,12,0,1,1,12-12A12,12,0,0,1,60,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm68,0a12,12,0,1,1,12-12A12,12,0,0,1,196,140Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM60,118a10,10,0,1,0,10,10A10,10,0,0,0,60,118Zm136,0a10,10,0,1,0,10,10A10,10,0,0,0,196,118Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-76-8a8,8,0,1,0,8,8A8,8,0,0,0,60,120Zm136,0a8,8,0,1,0,8,8A8,8,0,0,0,196,120Z"}))]]);e.s(["default",0,n])},789365,e=>{"use strict";var t=e.i(271645);let n=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H52V121.65l76-76,76,76Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,120v96H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"}),t.createElement("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H48V120l80-80,80,80Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M224,120v96a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a15.87,15.87,0,0,1,4.69-11.32l80-80a16,16,0,0,1,22.62,0l80,80A15.87,15.87,0,0,1,224,120Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6H216a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H48V120l80-80,80,80Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"}))]]);e.s(["default",0,n])},621482,e=>{"use strict";var t=e.i(869230),n=e.i(992571),a=class extends t.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,n.infiniteQueryBehavior)()})}getOptimisticResult(e){return e.behavior=(0,n.infiniteQueryBehavior)(),super.getOptimisticResult(e)}
2fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:a}=e,i=super.createResult(e,t),{isFetching:l,isRefetching:r,isError:s,isRefetchError:o}=i,u=a.fetchMeta?.fetchMore?.direction,c=s&&"forward"===u,d=l&&"forward"===u,p=s&&"backward"===u,h=l&&"backward"===u;return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,n.hasNextPage)(t,a.data),hasPreviousPage:(0,n.hasPreviousPage)(t,a.data),isFetchNextPageError:c,isFetchingNextPage:d,isFetchPreviousPageError:p,isFetchingPreviousPage:h,isRefetchError:o&&!c&&!p,isRefetching:r&&!d&&!h}}},i=e.i(469637);e.s(["useInfiniteQuery",0,function(e,t){return(0,i.useBaseQuery)(e,a,t)}],621482)},51952,e=>{"use strict";var t=e.i(806344);let n={chat:{supports:["hidden","fab","minimized","left_panel"],downgrades:["left_panel","minimized","fab","hidden"],defaults:{chatView:"left_panel",itineraryView:"minimized"}},map:{supports:["hidden","left_panel","right_panel","fullscreen"],downgrades:["left_panel","right_panel","hidden"],defaults:{chatView:"hidden",itineraryView:"left_panel"}},itinerary:{supports:["hidden","right_panel"],downgrades:["right_panel","hidden"],defaults:{chatView:"hidden",itineraryView:"right_panel"}},tailoring:{supports:["hidden","fullscreen"],downgrades:["fullscreen","hidden"],defaults:{chatView:"hidden",itineraryView:"hidden"}}
2,itinerary_v2:{supports:["hidden","right_panel"],downgrades:["right_panel","hidden"],defaults:{chatView:"hidden",itineraryView:"hidden"}},place:{supports:["hidden","left_panel","right_panel","fullscreen"],downgrades:["left_panel","right_panel","hidden"],defaults:{chatView:"hidden",itineraryView:"hidden"}}},a={primary:["fullscreen","left_panel","right_panel"],secondary:["fab","minimized","hidden"],maxPerSlot:{fullscreen:1,left_panel:1,right_panel:2,fab:1,minimized:1,hidden:6}},i={chatView:["map","itinerary","itinerary_v2","chat","place","tailoring"],itineraryView:["chat","place","tailoring","map","itinerary","itinerary_v2"]},l={mobile:["chat","itinerary","itinerary_v2","map","place","tailoring"],desktop:["chat","itinerary","itinerary_v2","map","place","tailoring"]};function r(e,t){return n[e].defaults[t]}function s(e,t){return n[e].supports.includes(t)}function o(e){return n[e].downgrades}function u(e){return a.primary.includes(e)}function c(e,t){let n=i[e],a=l[t];return n.slice().sort((e,t)=>a.indexOf(e)-a.indexOf(t))}function d(e){let t=Date.now(),n={assignments:{},reasons:[],slotUsage:{hidden:[],fab:[],minimized:[],left_panel:[],right_panel:[],fullscreen:[]}};return function(e,t){for(let n of["chat","map","itinerary","itinerary_v2","tailoring","place"]){if(e.wanted[n]?.open!==void 0)continue;let a=r(n,e.pageMode);"chat"===n&&"chatView"===e.pageMode&&"mobile"===e.viewport&&(a="minimized"),p(n,a,`Page mode default (${e.pageMode}, ${e.viewport})`,t)}}(e,n),function(e,t){let n=c(e.pageMode,e.viewport);for(let i of Object.keys(e.wanted).sort((e,t)=>{let a=n.indexOf(e);return n.indexOf(t)-a})){let n=e.wanted[i];if(!1===n.open)p(i,"hidden","Explicitly closed",t);else if(!0===n.open){let l=n.preferred||r(i,e.pageMode);!function(e,t,n,i){for(let l of[t,...o(e)])if(function(e,t,n){if(!s(e,t))return!1;if(n.assignments[e]===t)return!0;let i=a.maxPerSlot[t]||1;return n.slotUsage[t].length<i}(e,l,i))return void p(e,l,l===t?n:`${n} (downgraded to ${l})`,i);p(e,"hidden",`${n} (all slots unavailable)`,i)}(i,l,"Explicitly opened",t)}}}(e,n),function(e,t){if("mobile"!==e.viewport)return;let n=Object.entries(t.assignments).filter(([e,t])=>u(t)).map(([e,t])=>({moduleId:e,slot:t}));if(n.length<=1)return;let a=function(e,t,n){if(t.focus&&e.some(e=>e.moduleId===t.focus)){let a=e.find(e=>e.moduleId===t.focus);return n.reasons.push(`${a.moduleId} wins primary slot (focused)`),a}let a=e.map(e=>({...e,lastInteracted:t.lastInteracted[e.moduleId]||0})).sort((e,t)=>t.lastInteracted-e.lastInteracted);if(a[0].lastInteracted>0)return n.reasons.push(`${a[0].moduleId} wins primary slot (most recent interaction)`),a[0];let i=c(t.pageMode,t.viewport),l=e.reduce((e,t)=>{let n=i.indexOf(e.moduleId);return i.indexOf(t.moduleId)>n?t:e});return n.reasons.push(`${l.moduleId} wins primary slot (priority order)`),l}(n,e,t);for(let{moduleId:e,slot:i}of n)if(e!==a.moduleId){let n=o(e).filter(e=>!u(e))[0]||"hidden";(function(e,t,n,a){p(e,t,n,a)})(e,n,`Mobile constraint: downgraded from ${i}`,t)}}(e,n),function(e,t){let n=Object.entries(t.assignments).find(([e,t])=>"fullscreen"===t);if(n){let[e]=n;for(let n of Object.keys(t.assignments))n!==e&&"hidden"!==t.assignments[n]&&function(e,t,n,a){p(e,t,n,a)}(n,"hidden",`Hidden by fullscreen ${e}`,t);return}let a=e.wanted.place;if(a?.open&&"left_panel"===a.preferred)"hidden"!==t.assignments.chat&&"minimized"!==t.assignments.chat&&(s("chat","minimized")?function(e,t,n,a){p(e,t,n,a)}("chat","minimized","Minimized by place requesting left panel",t):function(e,t,n,a){p(e,t,n,a)}("chat","hidden","Hidden by place requesting left panel (no minimized support)",t));else if("left_panel"===t.assignments.place)"hidden"!==t.assignments.chat&&"minimized"!==t.assignments.chat&&(s("chat","minimized")?function(e,t,n,a){p(e,t,n,a)}("chat","minimized","Minimized by place on left panel",t):function(e,t,n,a){p(e,t,n,a)}("chat","hidden","Hidden by place on left panel (no minimized support)",t));else if("desktop"===e.viewport&&("right_panel"===t.assignments.place||"hidden"===t.assignments.place)&&"minimized"===t.assignments.chat){let n=e.wanted.chat;(!n||"minimized"!==n.preferred)&&s("chat","left_panel")&&function(e,t,n,a){p(e,t,n,a)}("chat","left_panel","Restored from place minimization",t)}"hidden"!==t.assignments.place&&("hidden"!==t.assignments.map&&function(e,t,n,a){p(e,t,n,a)}
2("map","hidden","Hidden by place open state",t),"hidden"!==t.assignments.itinerary&&function(e,t,n,a){p(e,t,n,a)}("itinerary","hidden","Hidden by place open state",t),"hidden"!==t.assignments.itinerary_v2&&function(e,t,n,a){p(e,t,n,a)}("itinerary_v2","hidden","Hidden by place open state",t))}(e,n),function(e,t){for(let[n,i]of Object.entries(t.slotUsage)){let l=a.maxPerSlot[n]||1;i.length>l&&function(e,t,n,i){let l=a.maxPerSlot[e]||1,r=c(n.pageMode,n.viewport);for(let n of t.sort((e,t)=>{let n=r.indexOf(e);return r.indexOf(t)-n}).slice(l)){let t=o(n).filter(t=>t!==e)[0]||"hidden";p(n,t,`Slot conflict: downgraded from ${e}`,i)}}(n,i,e,t)}}(e,n),function(e){for(let t of["chat","map","itinerary","itinerary_v2","tailoring","place"]){e.assignments[t]||p(t,"hidden","Fallback assignment",e);let n=e.assignments[t];if(!s(t,n)){let a=o(t)[0]||"hidden";(function(e,t,n,a){p(e,t,n,a)})(t,a,`Capability violation: ${t} doesn't support ${n}`,e)}}}(n),{modules:n.assignments,reasons:n.reasons,computedAt:t}}function p(e,t,n,a){if(a.assignments[e]){let t=a.assignments[e];a.slotUsage[t]=a.slotUsage[t].filter(t=>t!==e)}a.assignments[e]=t,a.slotUsage[t].push(e),a.reasons.push(`${e} → ${t}: ${n}`)}function h(){let e={pageMode:"chatView",viewport:"desktop",wanted:{},focus:void 0,lastInteracted:{}},t=d(e);return{intent:e,layout:t,appState:{isLocked:!1,isSaved:!1,isAuthorized:!1,hasEditPermission:!0,hasReadPermission:!0,isOwner:!0},chatData:null,debugMode:!1}}let g=(0,t.create)()((e,t)=>({...h(),setPageMode:t=>{e(e=>{let n={...e.intent,pageMode:t},a=d(n);return{...e,intent:n,layout:a}})},setViewport:t=>{e(e=>{let n={...e.intent,viewport:t},a=d(n);return{...e,intent:n,layout:a}})},setFocus:t=>{e(e=>{let n={...e.intent,focus:t},a=d(n);return{...e,intent:n,layout:a}})},updateModuleIntent:(n,a)=>{e(e=>{let i={...e.intent.wanted[n]||{},...a},l={...e.intent,wanted:{...e.intent.wanted,[n]:i},focus:n},r=d(l);return t()._recordInteraction(n),{...e,intent:l,layout:r}})},openChat:e=>{let n=e||r("chat",t().intent.pageMode);t().updateModuleIntent("chat",{open:!0,preferred:n})},closeChat:()=>{t().updateModuleIntent("chat",{open:!1})},openMap:e=>{let n=e||r("map",t().intent.pageMode);t().updateModuleIntent("map",{open:!0,preferred:n})},closeMap:()=>
2{if("fullscreen"===t().layout.modules.map){let e=r("map",t().intent.pageMode);t().updateModuleIntent("map",{open:!0,preferred:e})}else t().updateModuleIntent("map",{open:!1})},openItinerary:()=>{let e=r("itinerary",t().intent.pageMode);t().updateModuleIntent("itinerary",{open:!0,preferred:e})},closeItinerary:()=>{t().updateModuleIntent("itinerary",{open:!1})},openItineraryV2:()=>{t().updateModuleIntent("itinerary_v2",{open:!0,preferred:"right_panel"})},closeItineraryV2:()=>{t().updateModuleIntent("itinerary_v2",{open:!1})},openTailoring:()=>{t().updateModuleIntent("tailoring",{open:!0,preferred:"fullscreen"})},closeTailoring:()=>{t().updateModuleIntent("tailoring",{open:!1})},openPlace:e=>{let n=t().layout.modules.place;if(e||"hidden"===n){let n=e||r("place",t().intent.pageMode);t().updateModuleIntent("place",{open:!0,preferred:n})}else t().updateModuleIntent("place",{open:!0,preferred:n})},closePlace:()=>{if("fullscreen"===t().layout.modules.place){let e=r("place",t().intent.pageMode);t().updateModuleIntent("place",{open:!0,preferred:e})}else t().updateModuleIntent("place",{open:!1})},mobileForceOpen:(t,n="left_panel")=>{let a=["chat","map","itinerary","itinerary_v2","tailoring","place"];e(e=>{let i=a.reduce((e,a)=>({...e,[a]:a===t?n:"hidden"}),{});return{...e,layout:{...e.layout,modules:i,computedAt:Date.now()}}})},reset:()=>{e(h())},toggleDebugMode:()=>{e(e=>({...e,debugMode:!e.debugMode}))},setAppState:t=>{e(e=>({...e,appState:t}))},setChatData:t=>{e(e=>({...e,chatData:t}))},_recompute:()=>{e(e=>{let t=d(e.intent);return{...e,layout:t}})},_recordInteraction:t=>{e(e=>{let n={...e.intent,lastInteracted:{...e.intent.lastInteracted,[t]:Date.now()}};return{...e,intent:n}})}}));e.s(["useLayout",0,function(e){return e?g(t=>t.layout.modules[e]):g(e=>e.layout)},"useLayoutStore",0,g],51952)},973563,e=>{"use strict";var t=e.i(271645);let n=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M152,116H140V60h4a28,28,0,0,1,28,28,12,12,0,0,0,24,0,52.06,52.06,0,0,0-52-52h-4V24a12,12,0,0,0-24,0V36h-4a52,52,0,0,0,0,104h4v56H104a28,28,0,0,1-28-28,12,12,0,0,0-24,0,52.06,52.06,0,0,0,52,52h12v12a12,12,0,0,0,24,0V220h12a52,52,0,0,0,0-104Zm-40,0a28,28,0,0,1,0-56h4v56Zm40,80H140V140h12a28,28,0,0,1,0,56Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M192,168a40,40,0,0,1-40,40H128V128h24A40,40,0,0,1,192,168ZM112,48a40,40,0,0,0,0,80h16V48Z",opacity:"0.2"}),t.createElement("path",{d:"M152,120H136V56h8a32,32,0,0,1,32,32,8,8,0,0,0,16,0,48.05,48.05,0,0,0-48-48h-8V24a8,8,0,0,0-16,0V40h-8a48,48,0,0,0,0,96h8v64H104a32,32,0,0,1-32-32,8,8,0,0,0-16,0,48.05,48.05,0,0,0,48,48h16v16a8,8,0,0,0,16,0V216h16a48,48,0,0,0,0-96Zm-40,0a32,32,0,0,1,0-64h8v64Zm40,80H136V136h16a32,32,0,0,1,0,64Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M160,152a16,16,0,0,1-16,16h-8V136h8A16,16,0,0,1,160,152Zm72-24A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-56,24a32,32,0,0,0-32-32h-8V88h4a16,16,0,0,1,16,16,8,8,0,0,0,16,0,32,32,0,0,0-32-32h-4V64a8,8,0,0,0-16,0v8h-4a32,32,0,0,0,0,64h4v32h-8a16,16,0,0,1-16-16,8,8,0,0,0-16,0,32,32,0,0,0,32,32h8v8a8,8,0,0,0,16,0v-8h8A32,32,0,0,0,176,152Zm-76-48a16,16,0,0,0,16,16h4V88h-4A16,16,0,0,0,100,104Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M152,122H134V54h10a34,34,0,0,1,34,34,6,6,0,0,0,12,0,46.06,46.06,0,0,0-46-46H134V24a6,6,0,0,0-12,0V42H112a46,46,0,0,0,0,92h10v68H104a34,34,0,0,1-34-34,6,6,0,0,0-12,0,46.06,46.06,0,0,0,46,46h18v18a6,6,0,0,0,12,0V214h18a46,46,0,0,0,0-92Zm-40,0a34,34,0,0,1,0-68h10v68Zm40,80H134V134h18a34,34,0,0,1,0,68Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M152,120H136V56h8a32,32,0,0,1,32,32,8,8,0,0,0,16,0,48.05,48.05,0,0,0-48-48h-8V24a8,8,0,0,0-16,0V40h-8a48,48,0,0,0,0,96h8v64H104a32,32,0,0,1-32-32,8,8,0,0,0-16,0,48.05,48.05,0,0,0,48,48h16v16a8,8,0,0,0,16,0V216h16a48,48,0,0,0,0-96Zm-40,0a32,32,0,0,1,0-64h8v64Zm40,80H136V136h16a32,32,0,0,1,0,64Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M152,124H132V52h12a36,36,0,0,1,36,36,4,4,0,0,0,8,0,44.05,44.05,0,0,0-44-44H132V24a4,4,0,0,0-8,0V44H112a44,44,0,0,0,0,88h12v72H104a36,36,0,0,1-36-36,4,4,0,0,0-8,0,44.05,44.05,0,0,0,44,44h20v20a4,4,0,0,0,8,0V212h20a44,44,0,0,0,0-88Zm-40,0a36,36,0,0,1,0-72h12v72Zm40,80H132V132h20a36,36,0,0,1,0,72Z"}))]]);e.s(["default",0,n])},777541,e=>{"use strict";var t=e.i(271645),n=e.i(575108),a=e.i(973563);let i=t.forwardRef((e,i)=>t.createElement(n.default,{ref:i,...e,weights:a.default}));i.displayName="CurrencyDollarIcon",e.s(["CurrencyDollarIcon",0,i])},583398,e=>{"use strict";var t=e.i(997845);e.i(524270);var n=e.i(403079),a=e.i(557927);e.s(["default",0,function({source:e}){let{sendGAEvent:i}=(0,a.useGoogleAnalytics)(),{capture:l}=(0,n.usePostHogAnalytics)(),r=(0,t.useAiChatStore)(e=>e.chatUUID);return{send:t=>{let n=t??r??void 0;i(a.EVENT_CATEGORIES.chat,a.EVENT_ACTIONS.chatCreated,1,{source:e,chat_id:n}),l("nav:chat_initiated_from_homepage",{source_location:e,chat_id:n})}}}])},960570,e=>{"use strict";let t,n="tp_user_location_v1",a=null;function i(e){try{localStorage.setItem(n,JSON.stringify({value:e,expiresAt:Date.now()+864e5}))}catch{}}async function l(){if("u"<typeof navigator||!navigator.geolocation||!navigator.permissions)return null;try{let e=await navigator.permissions.query({name:"geolocation"});if("granted"!==e.state)return null}catch{return null}let e=await new Promise(e=>{navigator.geolocation.getCurrentPosition(t=>e(t.coords),()=>e(null),{timeout:5e3,maximumAge:36e5})});if(!e)return null;let{latitude:t,longitude:n}=e,a=new AbortController,i=setTimeout(()=>a.abort(),4e3);try{let e=await fetch(`https://api.bigdatacloud.net/data/reverse-geocode
2-client?latitude=${t}&longitude=${n}&localityLanguage=en`,{signal:a.signal});if(!e.ok)return null;let i=await e.json(),l=i?.city||i?.locality||null,r=i?.countryCode||null;if(!l&&!r)return null;return{city:l,region:i?.principalSubdivision||null,country_code:r,latitude:t,longitude:n,timezone:"u">typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone??null:null,source:"geolocation",updated_at:new Date().toISOString()}}catch{return null}finally{clearTimeout(i)}}async function r(){let e=new AbortController,t=setTimeout(()=>e.abort(),3e3);try{let n=await fetch("/api/location",{method:"GET",signal:e.signal});if(clearTimeout(t),!n.ok)return null;let a=await n.json();if(!a||a.error)return null;let i=a.city??null,l=a.country_code??null;if(!i&&!l)return null;return{city:i,region:a.region??null,country_code:l,latitude:a.latitude??null,longitude:a.longitude??null,timezone:a.timezone??null,source:"ipapi",updated_at:new Date().toISOString()}}catch(e){return clearTimeout(t),null}}async function s(){if(void 0!==t)return t;if(a)return a;a=(async()=>{let e=function(){try{let e=localStorage.getItem(n);if(!e)return null;let t=JSON.parse(e);if(!t?.value||!t.expiresAt)return null;if(t.expiresAt<Date.now())return localStorage.removeItem(n),null;return t.value}catch{return null}}();if(e)return e;let t=await l();if(t)return i(t),t;let a=await r();return a&&i(a),a})();let e=await a;return t=e,a=null,e}e.s(["getIpLocation",0,s])},436526,e=>{"use strict";let t={sectionHeading:"Simple, transparent pricing",sectionSubtitle:"Start free. Unlock deeper planning when you need it.",freeTrialBadge:"Free to start. Powerful when you're ready.",disclaimer:"Paid balance is used up as you use TravelPal. Each AI response costs roughly $0.05 depending on complexity.",modalHeading:"Keep exploring with TravelPal",modalSubtitle:"Your free trial is complete. Refill your balance to keep planning.",balanceEmptyHeading:"Keep exploring with TravelPal",balanceEmptySubtitle:"Your balance is empty. Refill to keep planning.",savingInsights:"Lock in savings — subscribe and save up to 20% on all refills.",socialProof:"Over a million travelers!",secureCheckout:"Secure checkout via Stripe"},n={trial_expired:{heading:t.modalHeading,subtitle:t.modalSubtitle},balance_empty:{heading:t.balanceEmptyHeading,subtitle:t.balanceEmptySubtitle}};e.s(["BALANCE_INDICATOR_COPY",0,{remaining:"remaining",purchased:"purchased",welcomeBonus:"Welcome bonus",topUp:"Refill to keep planning →",ariaLabel:e=>`Balance: $${e} remaining`},"BILLING_COPY",0,t,"BILLING_GATE_CONFIG",0,{leftBalanceToDisplayWarning:.5,leftMessageAmountToDisplayWarning:3,limitNotice:{showAnonymousMessagesLeft:!0},referral:{showForAuthorizedUsers:!0,label:"Earn $5 bonus!"},warnings:{balance_low:{key:"balance_low",critical:!1,icon:"info",title:"Balance is running low",subtitle:"Refill now to keep deeper planning available.",cta:{icon:null,label:"Refill balance",action:"top_up"}},balance_empty:{key:"balance_empty",critical:!1,icon:"info",title:"You're on Instant mode",subtitle:"Balance is empty. Refill to unlock deeper planning.",cta:{icon:null,label:"Refill balance",action:"top_up"}},trial_low:{key:"trial_low",critical:!1,icon:"info",title:"Free messages are almost gone",subtitle:"Sign in to keep planning with TravelPal.",cta:{icon:null,label:"Sign in",action:"sign_in"}},trial_expired:{key:"trial_expired",critical:!0,icon:"warning",title:"Your trial has expired",subtitle:"Sign in to continue the conversation.",cta:{icon:null,label:"Sign in",action:"sign_in"}}}},"CONTACT_US_URL",0,"mailto:[email protected]","PACKAGE_TRIP_ESTIMATES",0,{business:40,first_class:90},"PRICING_CARDS_COPY",0,{useInstantMode:"Use Instant Mode",getStartedFree:"Sign up to get bonus",tryWithoutSignUp:"Or try it without signing up",freeUnauthTagline:"Free Instant mode and Welcome bonus after registration",contactUs:"Contact Us",select:"Select",mostPopular:"Most Popular",completeTrips:"complete trips",freePrice:"Free",customPrice:"Custom",oneTime:"/ one-time",bonusBalance:"bonus balance",limitedDeepMode:"Limited deep mode",checkoutError:"Could not start checkout. Please try again."},"PRODUCT_FEATURES",0,["Your own travel agent, wherever in the world you are","Local knowledge — neighborhoods, hidden gems, what to skip","Finds the right hotel at real, live booking prices","Dining and experiences that are actually worth it","Full itineraries, multi-city, door to door","Your trip, refined until every detail is right"],"PRODUCT_FEATURES_LABEL",0,"Every Plan Includes","PURCHASE_MODAL_COPY",0,n,"REFERRAL_COPY",0,{modalHeading:"Invite friends, earn $5",modalTooltip:"Enter the email or share it via the link.",modalSubtitle:e=>`When a friend makes their first purchase you get +$${e} credit — no limit on referrals.`,sectionSubtitle:e=>`Enter the email or share it via the link. When a friend makes their first purchase, you get +$${e} credit.`,referralLinkLabel:"Your referral link",copyButton:"Copy Link",copiedButton:"Copied!",divider:"or invite by email",emailPlaceholder:"[email protected]",sendInviteButton:"Invite",friendsReferred:"Friends referred",bonusesEarned:"Bonu
2ses earned",shareTitle:"Join me on TravelPal AI",shareText:"Plan your next trip with TravelPal AI — Use My Referral Link!",toastSuccess:e=>`Invite sent to ${e}!`,toastError:"Could not send invite. Please try again."}])},887768,e=>{"use strict";var t=e.i(806344),n=e.i(411375),a=e.i(735052),i=e.i(6705),l=e.i(436526);let r=l.BILLING_GATE_CONFIG.leftBalanceToDisplayWarning,s=l.BILLING_GATE_CONFIG.leftMessageAmountToDisplayWarning,o={balance:null,messagesLeft:null,billingStatus:null,isAuthorized:null,isBalanceLoading:!1,balanceError:null,needsTopUp:!1,needsAuth:!1,warnings:[],lastFetchedAt:null},u=l.BILLING_GATE_CONFIG.warnings,c=["balance_empty","trial_expired","balance_low","trial_low"];function d(e){if(null==e)return null;let t=Number.parseFloat(e);return Number.isFinite(t)?t:null}function p(e){return e.toFixed(2)}function h(e){return"instant"===e?"instant":"deep"===e||"research"===e||"thinking"===e?"deep":"auto"}function g(e,t){let n=u[e],a=t?.wasDisplayed??!1;return{...n,display:n.critical||!a,wasDisplayed:a}}function f(e,t){let n=e.filter(e=>e.display&&(!t?.criticalOnly||e.critical));if(!n.length)return null;for(let e of c){let t=n.find(t=>t.key===e);if(t)return t}return n[0]??null}function m(e,t){let n=e?.isAuthorized==null?null:!!e.isAuthorized,a=n?d(e?.balanceUsd):null,i=n||"number"!=typeof e?.remainingMessages?null:e.remainingMessages;return{balance:a,messagesLeft:i,isAuthorized:n,needsTopUp:!!(n&&null!=a&&a<=0),needsAuth:!!(!n&&null!=i&&i<=0),warnings:function(e,t){let n=new Map(t.map(e=>[e.key,e])),a=new Map;for(let e of t)a.set(e.key,{...e,display:!1});if(!e)return Array.from(a.values());let i=!!e.isAuthorized,l=d(e.balanceUsd),o="number"==typeof e.remainingMessages?e.remainingMessages:null,u=i?null!=l&&l<=0?"balance_empty":null!=l&&l<=r?"balance_low":null:null!=o&&o<=0?"trial_expired":null!=o&&o<=s?"trial_low":null;return u&&a.set(u,g(u,n.get(u))),Array.from(a.values())}(e,t)}}let y=(0,t.create)((e,t)=>({...o,setBalance:t=>e(e=>{let n=e.billingStatus?{...e.billingStatus,balanceUsd:null==t?void 0:p(t),isAuthorized:!0}:null==t?null:{balanceUsd:p(t),isAuthorized:!0};return{billingStatus:n,lastFetchedAt:Date.now(),...m(n,e.warnings)}}),setMessagesLeft:t=>e(e=>{let n=e.billingStatus?{...e.billingStatus,remainingMessages:t??void 0,isAuthorized:!1}:null==t?null:{remainingMessages:t,isAuthorized:!1};return{billingStatus:n,lastFetchedAt:Date.now(),...m(n,e.warnings)}}),decrementMessagesLeft:(e=1)=>{let n=t().messagesLeft,a=null==n?null:Math.max(0,n-e);return t().setMessagesLeft(a),a},setBillingStatus:(t,n)=>e(e=>{let a=null==t?null:{...t,isAuthorized:t.isAuthorized??n?.isAuthorized};return{billingStatus:a,balanceError:null,lastFetchedAt:a?Date.now():e.lastFetchedAt,...m(a,e.warnings)}}),setNeedsTopUp:t=>e(e=>({needsTopUp:t,warnings:t?e.warnings:e.warnings.map(e=>"balance_empty"===e.key?{...e,display:!1}:e)})),setNeedsAuth:t=>e(e=>({needsAuth:t,warnings:t?e.warnings:e.warnings.map(e=>"trial_expired"===e.key?{...e,display:!1}:e)})),setBalanceLoading:t=>e({isBalanceLoading:t}),setBalanceError:t=>e({balanceError:t}),createWarning:t=>e(e=>{let n="string"==typeof t?t:t.key,a=function(e,t){if("string"==typeof e)return g(e,t);let n=e.wasDisplayed??t?.wasDisplayed??!1;return{...e,display:e.display??(e.critical||!n),wasDisplayed:n}}(t,e.warnings.find(e=>e.key===n));return{warnings:[...e.warnings.filter(e=>e.key!==n),a],needsTopUp:e.needsTopUp||"balance_empty"===n&&a.critical,needsAuth:e.needsAuth||"trial_expired"===n&&a.critical}}),closeWarning:t=>e(e=>
2({warnings:e.warnings.map(e=>e.key!==t||e.critical?e:{...e,display:!1,wasDisplayed:!0})})),clearWarnings:()=>e({warnings:[]}),getActiveWarning:()=>f(t().warnings),getError:()=>f(t().warnings,{criticalOnly:!0}),canSend:e=>{if(!i.TOKEN_BILLING_ENABLED)return!0;let n=t().getError();return!n||"balance_empty"===n.key&&"instant"===h(e??"auto")},canUseMode:e=>{if(!i.TOKEN_BILLING_ENABLED)return!0;let n=t().getError();if(!n)return!0;let a=h(e??"auto");return"balance_empty"===n.key?"instant"===a:"trial_expired"!==n.key&&"instant"===a},openTopUp:(e="balance_empty")=>{n.useModal.getState().triggerMenu(a.MODALS.PURCHASE_REQUIRED,{reason:e})},openReferral:()=>{n.useModal.getState().triggerMenu(a.MODALS.REFERRAL_INVITE)},openWarningCta:e=>{let i=e??t().getActiveWarning();if(i?.cta){if("top_up"===i.cta.action)return void t().openTopUp("balance_empty");n.useModal.getState().triggerMenu(a.MODALS.AUTH_GATE)}},markTopUpResolved:()=>t().setNeedsTopUp(!1),reduceBalanceForCompletedRun:e=>{let n=e?.isAuthorized??!!t().isAuthorized;return i.TOKEN_BILLING_ENABLED?n?{shouldRefreshBalance:"instant"!==h(e?.effectiveMode??"auto"),billingStatus:t().billingStatus}:(t().decrementMessagesLeft(),{shouldRefreshBalance:!1,billingStatus:t().billingStatus}):{shouldRefreshBalance:!1,billingStatus:t().billingStatus}},reset:()=>e(o)}));e.s(["selectActiveBillingWarning",0,f,"useBillingGateStore",0,y])},798987,e=>{"use strict";var t=e.i(271645),n=e.i(303071),a=e.i(137815),i=e.i(6705),l=e.i(436526),r=e.i(887768);function s(e){let t=Number.parseFloat(e?.balanceUsd??"0");return Number.isFinite(t)?t:0}e.s(["default",0,function(e={}){let{autoFetch:o=!0,isConciergeMode:u=!1,brandColor:c=null,freeLabelOnClick:d}=e,p=(0,n.useApi)(),h=(0,t.useRef)(p.billing);h.current=p.billing;let{isAuthorized:g}=(0,a.default)(),f=(0,r.useBillingGateStore)(e=>e.balance),m=(0,r.useBillingGateStore)(e=>e.messagesLeft),y=(0,r.useBillingGateStore)(e=>e.billingStatus),b=(0,r.useBillingGateStore)(e=>e.isAuthorized),w=(0,r.useBillingGateStore)(e=>e.isBalanceLoading),v=(0,r.useBillingGateStore)(e=>e.balanceError),_=(0,r.useBillingGateStore)(e=>e.needsTopUp),A=(0,r.useBillingGateStore)(e=>e.needsAuth),M=(0,r.useBillingGateStore)(e=>e.warnings),E=(0,r.useBillingGateStore)(e=>e.setBillingStatus),I=(0,r.useBillingGateStore)(e=>e.setBalance),S=(0,r.useBillingGateStore)(e=>e.setMessagesLeft),x=(0,r.useBillingGateStore)(e=>e.setBalanceLoading),N=(0,r.useBillingGateStore)(e=>e.setBalanceError),B=(0,r.useBillingGateStore)(e=>e.createWarning),L=(0,r.useBillingGateStore)(e=>e.closeWarning),k=(0,r.useBillingGateStore)(e=>e.setNeedsTopUp),P=(0,r.useBillingGateStore)(e=>e.setNeedsAuth),T=(0,r.useBillingGateStore)(e=>e.openWarningCta),O=(0,r.useBillingGateStore)(e=>e.openTopUp),C=(0,r.useBillingGateStore)(e=>e.openReferral),R=(0,r.useBillingGateStore)(e=>e.getError),V=(0,r.useBillingGateStore)(e=>e.canSend),G=(0,r.useBillingGateStore)(e=>e.canUseMode),F=(0,r.useBillingGateStore)(e=>e.markTopUpResolved),U=(0,r.useBillingGateStore)(e=>e.reduceBalanceForCompletedRun),H=(0,t.useMemo)(()=>(0,r.selectActiveBillingWarning)(M),[M]),Z=(0,t.useMemo)(()=>(0,r.selectActiveBillingWarning)(M,{criticalOnly:!0}),[M]),z=(0,t.useCallback)(async()=>{if(!i.TOKEN_BILLING_ENABLED)return null;x(!0),N(null);try{let e=await h.current.getBalance();return E(e,{isAuthorized:g}),e}catch(e){return N(e instanceof Error?e.message:"Could not fetch balance"),null}finally{x(!1)}},[g,N,x,E]);(0,t.useEffect)(()=>{o&&!u&&z()},[o,u,z]);let j=(0,t.useCallback)(async({effectiveMode:e}={})=>{let t=U({isAuthorized:g,effectiveMode:e});return t.shouldRefreshBalance?z():t.billingStatus},[g,U,z]),D=b??g,$=(0,t.useCallback)(()=>{T(Z??H)},[H,Z,T]),W=(0,t.useMemo)(()=>{let e=D&&null!=y&&0>=s(y),t=H?{warning:H,onCta:()=>T(H),onClose:()=>L(H.key)}:null,n=!u&&D&&l.BILLING_GATE_CONFIG.referral.showForAuthorizedUsers?{show:!0,label:l.BILLING_GATE_CONFIG.referral.label,onClick:C}:null;return{preventSendMessage:!e&&!!Z,blockedSubmitLabel:Z?.cta?.label??null,onBlockedSubmit:$,isEconomy:e,limitNotice:i.TOKEN_BILLING_ENABLED&&!u?{balance:f,lastPurchase:y?.lastPurchase??null,messagesLeft:m,isAuthorized:D,showAnonymousMessagesLeft:l.BILLING_GATE_CONFIG.limitNotice.showAnonymousMessagesLeft,onBuyMore:()=>
2O()}:null,warning:u?null:t,referral:n,freeLabel:u?"Included with stay":null,freeLabelBrandColor:u?c:null,freeLabelOnClick:u?d:void 0}},[H,f,y,c,L,d,Z,u,m,$,C,O,T,D]);return{balance:f,messagesLeft:m,billingStatus:y,isAuthorized:D,isBalanceLoading:w,balanceError:v,needsTopUp:_,needsAuth:A,warnings:M,activeWarning:H,criticalWarning:Z,chatInput:W,preventSendMessage:W.preventSendMessage,canSend:V,canUseMode:G,getError:R,getBalance:z,refreshBalance:z,reduceBalance:j,setBalance:I,setMessagesLeft:S,setBillingStatus:E,setNeedsTopUp:k,setNeedsAuth:P,createWarning:e=>B(e),closeWarning:L,openWarningCta:T,openTopUp:O,openReferral:C,markTopUpResolved:F,parseBalance:s}}])},11347,e=>{"use strict";let t=(0,e.i(806344).create)(e=>({isOpen:!1,setOpen:t=>e({isOpen:t})}));e.s(["useMobileSideRailStore",0,t])},689504,e=>{"use strict";e.s(["getUserInitials",0,function({firstName:e,lastName:t,fallback:n}){let a=e?.trim()??"",i=t?.trim()??"";if(a&&i)return`${a[0]}${i[0]}`.toUpperCase();if(a)return a.slice(0,2).toUpperCase();if(i)return i.slice(0,2).toUpperCase();let l=n?.trim()??"";return l?l.slice(0,2).toUpperCase():null}])},388013,e=>{"use strict";var t=e.i(271645),n=e.i(769464),a=e.i(955584);let i=t.forwardRef((e,i)=>t.createElement(n.default,{ref:i,...e,weights:a.default}));i.displayName="ListIcon",e.s(["ListIcon",0,i])},555199,e=>{"use strict";async function t(e){let t=await fetch("/api/create-chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({location:e?.location??null})});if(!t.ok){if(401===t.status){let e=await t.json().catch(()=>({}));if(e?.code==="token_not_valid")return window.location.href="/auth/login?error=session_expired",new Promise(()=>{})}throw Error(`create-chat failed: ${t.status}`)}return t.json()}e.s(["createChatAction",0,t])},313832,e=>{"use strict";var t=e.i(843476),n=e.i(388013),a=e.i(343794),i=e.i(522016),l=e.i(618566),r=e.i(271645),s=e.i(555199),o=e.i(11347),u=e.i(960570),c=e.i(798987),d=e.i(522042),p=e.i(178815),h=e.i(137815),g=e.i(833845),f=e.i(839865),m=e.i(6705),y=e.i(689504),b=e.i(583398);let w=()=>"u">typeof performance&&"function"==typeof performance.now?performance.now():Date.now();e.s(["default",0,function({forceStuckStyle:e,transparent:v,limitWidth:_,currentPath:A}){let M=(0,l.useRouter)(),E=(0,r.useRef)(null),I=(0,r.useRef)(null),S=(0,r.useRef)(!1),x=(0,r.useRef)(0),N=(0,r.useRef)(null),B=(0,r.useRef)(0),L=(0,r.useRef)(!1),k=(0,r.useRef)(null),[P,T]=(0,r.useState)(!1),O=(0,o.useMobileSideRailStore)(e=>e.setOpen),{send:C}=(0,b.default)({source:"sticky_button_cta"}),{user:R,approximateLocation:V,setApproximateLocation:G}=(0,f.useUserStore)(),[F,U]=(0,r.useState)(!1),H=(0,r.useCallback)(e=>{if(F||L.current)return;L.current=!0,U(!0);let t=w();k.current={attemptId:++B.current,clickedAt:t,steps:[]},(0,s.createChatAction)({location:V}).then(e=>{C(e.id),M.push(g.routes.chat(e.id.toString()))}).catch(()=>{L.current=!1,U(!1)})},[F,V,M,C]),{isAuthorized:Z}=(0,h.default)(),{billingStatus:z}=(0,c.default)({autoFetch:Z}),j=(0,l.usePathname)(),D=e=>j===g.routes.home?e:`${g.routes.home}${e}`,$=[{href:D("#how-it-works"),label:"How It Works"},{href:g.routes.destinations.root,label:"Get Inspired"},...m.TOKEN_BILLING_ENABLED?[{href:D("#pricing"),label:"Pricing"}]:[]],W={href:g.routes.blog.index,label:"Blog"},Y=[...$,W],K=[...$,W],[Q,J]=(0,r.useState)(Y);return(0,r.useEffect)(()=>{x.current=w()},[]),(0,r.useEffect)(()=>{Z?J(K):J(Y)},[Z]),(0,r.useEffect)(()=>{let e=E.current;if(!e)return;let t=new IntersectionObserver(([e])=>T(!e.isIntersecting),{threshold:0});return t.observe(e),()=>t.disconnect()},[]),(0,r.useEffect)(()=>{let e=I.current;if(!e)return;let t=()=>{let t=Math.round(e.getBoundingClientRect().height);t>0&&document.documentElement.style.setProperty("--site-header-height",`${t}px`)};if(t(),"u"<typeof ResizeObserver)return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t);let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,r.useEffect)(()=>{if(S.current||null!==V)return;S.current=!0;let e=!0;return(async()=>{let t=w(),n=await (0,u.getIpLocation)();e&&(N.current=Math.round(w()-t),G(n))})(),()=>{e=!1}},[V,G]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:E,className:"h-px -mt-px"}),(0,t.jsx)("header",{ref:I,className:(0,a.default)("sticky top-0 z-[100] flex flex-col","flex w-full justify-between items-center","px-6 md:px-10 lg:px-14 xl:px-24",{"bg-white/80 shadow-sm border-b border-gray-200 backdrop-blur-lg py-2 md:py-4":P||e,"bg-white pt-4 md:pt-8":!P&&!e,"bg-transparent":v}),children:(0,t.jsxs)("nav",{className:(0,a.default)("flex justify-between lg:grid lg:grid-cols-[1fr_auto_1fr] w-full items-center",_?"container-limit-width":""),children:[(0,t.jsx)("div",{className:"justify-self-start",children:(0,t.jsxs)(i.default,{title:"Return to HomePage",href:g.routes.home,className:"group flex items-center",children:[(0,t.jsx)(d.default,{iconName:p.MiscIcons.LOGO,className:"hidden md:block w-[7.5rem] h-14 fill-black group-hover:fill-primary group-active:fill-primary/80"}),(0,t.jsx)(d.default,{iconName:p.MiscIcons.LOGO_MOBILE,className:"block md:hidden w-24 h-3 fill-black group-hover:fill-primary group-active:fill-primary/80"})]})}),(0,t.jsx)("ul",{className:"hidden lg:flex gap-x-10 justify-self-center",children:Q.map(({href:e,label:n})=>{let l=e.startsWith("#"),r=(0,a.default)("underline-from-center hover:text-green-dark",{"font-semibold":e===A});return(0,t.jsx)("li",{children:l?(0,t.jsx)("a",{href:e,className:r,children:n}):(0,t.jsx)(i.default,{href:e,className:r,children:n})},e)})}),(0,t.jsxs)("ul",{className:"flex items-center justify-self-end",children:[Z&&z&&(0,t.jsx)("li",{className:"hidden lg:flex mr-3 items-center",children:(0,t.jsxs)(i.default,{href:D("#pricing"),className:"text-sm font-semibold text-green-dark border border-green-dark/30 rounded-full px-3 py-1 hover:bg-green-dark/5 transition-colors",children:["$",parseFloat(z.balanceUsd??"0.00").toFixed(2)]})}),(0,t.jsx)("li",{className:"hidden lg:flex mr-2 items-center",children:Z&&R?(0,t.jsx)(i.default,{href:g.routes.profile,className:"group flex h-7 w-7 items-center justify-center rounded-full bg-primary text-[0.6875rem] font-medium leading-none text-white hover:bg-primary/80","aria-label":"Account",children:(0,y.getUserInitials
2)({firstName:R.firstName,lastName:R.lastName,fallback:R.username??R.email})??(0,t.jsx)(d.default,{iconName:p.UIIcons.PROFILE,className:"fill-white w-4 h-4"})}):(0,t.jsx)(i.default,{href:g.routes.auth.login(),className:(0,a.default)("border border-black rounded-24 px-4 lg:py-1 xl:py-2 font-normal text-body-sm-lg md:text-body-lg","hover:bg-gray-100 active:bg-gray-100/90 cursor-pointer"),children:"Login"})}),(0,t.jsx)("li",{className:"mr-2 lg:mr-[0px]",children:(0,t.jsxs)("button",{onPointerDown:e=>{0===e.button&&H("pointerdown")},onClick:()=>H("click"),disabled:F,className:(0,a.default)("px-4 py-2","rounded-24 text-white font-medium","bg-primary hover:bg-primary/90 active:bg-primary/80",F&&"opacity-60 pointer-events-none"),children:[(0,t.jsx)("span",{className:"hidden xl:block text-body-sm-lg md:text-body-lg",children:"Chat with TravelPal"}),(0,t.jsx)("span",{className:"block xl:hidden text-body-sm-lg lg:text-body",children:"Chat"})]})}),(0,t.jsx)("li",{className:"lg:hidden",children:(0,t.jsx)("button",{type:"button","aria-label":"Open menu",onClick:()=>O(!0),className:"flex h-8 w-8 items-center justify-center text-black hover:text-primary active:text-primary/80",children:(0,t.jsx)(n.ListIcon,{size:24})})})]})]})})]})}])}]);
3
4//# debugId=cc475671-fa0a-0201-c219-300d5c675c05

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.