PageSourceSearch

https://navisavitravel.com/_next/static/chunks/pages/index-b6251da9b4ba9ad1.js

js navisavitravel.com collected 2026-10-09 22:41:25 UTC 37,006 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0bf8fcc1-f7ed-4107-b312-4ab1e15ae6f0",e._sentryDebugIdIdentifier="sentry-dbid-0bf8fcc1-f7ed-4107-b312-4ab1e15ae6f0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(51304)}])},73093:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});let n=(0,i(1462).Z)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},81194:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});let n=(0,i(1462).Z)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},51304:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eP}});var n=i(62364),o=i(67294),r=i(11163),a=i(92729),d=i(81292),l=i(39626),c=i(95936),s=i(25938),p=i(15437),m=i(46347);let h=(0,p.F4)(["0%{box-shadow:0 12px 34px rgba(15,23,42,0.16),0 0 0 0 rgba(255,0,138,0.24);}70%{box-shadow:0 16px 42px rgba(15,23,42,0.18),0 0 0 12px rgba(255,0,138,0);}100%{box-shadow:0 12px 34px rgba(15,23,42,0.16),0 0 0 0 rgba(255,0,138,0);}"]),g=p.ZP.div.withConfig({componentId:"sc-197bb970-0"})(["margin-top:2.8rem;display:grid;grid-template-columns:minmax(24rem,0.34fr) minmax(0,1fr);gap:2rem;align-items:stretch;@media (max-width:1023px){grid-template-columns:1fr;}"]),b=p.ZP.div.withConfig({componentId:"sc-197bb970-1"})(["position:relative;min-height:42rem;overflow:hidden;padding:2.4rem;border:1px solid ",";border-radius:8px;background:",";box-shadow:0 18px 50px ",";display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate;@media (max-width:1023px){min-height:34rem;}@media (max-width:640px){min-height:30rem;padding:1.8rem;}"],m.O9.border.soft,m.O9.background.panel,m.O9.shadow.soft),f=p.ZP.video.withConfig({componentId:"sc-197bb970-2"})(["position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;background:",";"],m.O9.background.soft),u=p.ZP.div.withConfig({componentId:"sc-197bb970-3"})(["position:absolute;inset:0;z-index:1;background:linear-gradient( 180deg,rgba(15,23,42,0.02) 0%,rgba(15,23,42,0.18) 42%,rgba(15,23,42,0.58) 100% ),linear-gradient( 90deg,rgba(15,23,42,0.28) 0%,rgba(15,23,42,0.12) 58%,rgba(15,23,42,0.02) 100% );"]),x=p.ZP.div.withConfig({componentId:"sc-197bb970-4"})(["position:relative;z-index:2;max-width:35rem;"]),w=p.ZP.p.withConfig({componentId:"sc-197bb970-5"})(["margin:0 0 1rem;color:",";font-family:",";font-size:1.1rem;font-weight:",";letter-spacing:0.14em;line-height:1.2;text-transform:uppercase;"],m.O9.brand.pink,m.cp.fontFamily.primary,m.cp.weight.bold),y=p.ZP.h3.withConfig({componentId:"sc-197bb970-6"})(["margin:0;color:",";font-family:",";font-size:clamp(3.4rem,4vw,5.4rem);font-weight:",";letter-spacing:-0.06em;line-height:0.95;@media (max-width:640px){font-size:clamp(3rem,13vw,4.4rem);}"],m.O9.text.inverse,m.cp.fontFamily.primary,m.cp.weight.bold),v=p.ZP.p.withConfig({componentId:"sc-197bb970-7"})(["margin:1.5rem 0 0;max-width:32rem;color:rgba(255,255,255,0.86);font-family:",";font-size:",";font-weight:",";line-height:",";@media (max-width:640px){font-size:",";}"],m.cp.fontFamily.primary,m.cp.body.md,m.cp.weight.medium,m.cp.lineHeight.body,m.cp.body.sm),Z=p.ZP.p.withConfig({componentId:"sc-197bb970-8"})(["width:fit-content;margin:1.7rem 0 0;padding:0.75rem 0.95rem;border:1px solid rgba(255,255,255,0.18);border-radius:8px;background:rgba(255,255,255,0.12);color:rgba(255,255,255,0.86);font-family:",";font-size:",";font-weight:",";line-height:1.2;"],m.cp.fontFamily.primary,m.cp.body.xs,m.cp.weight.bold),k=p.ZP.button.withConfig({componentId:"sc-197bb970-9"})(["width:fit-content;margin-top:2.1rem;padding:1.1rem 1.5rem;border:0;border-radius:8px;background:",";color:",";font-family:",";font-size:",";font-weight:",";line-height:1;cursor:pointer;box-shadow:0 14px 34px ",";transition:transform 0.2s ease,box-shadow 0.2s ease,background 0.2s ease;&:hover{transform:translateY(-1px);box-shadow:0 18px 42px ",";}@media (max-width:640px){width:100%;justify-content:center;padding:1.1rem 1.2rem;font-size:",";}"],m.O9.brand.pink,m.O9.text.inverse,m.cp.fontFamily.primary,m.cp.button.md,m.cp.weight.bold,m.O9.shadow.pink,m.O9.shadow.pinkHover,m.cp.button.sm),O=p.ZP.div.withConfig({componentId:"sc-197bb970-10"})(["min-width:0;display:grid;grid-template-rows:42rem auto;gap:1.2rem;@media (max-width:1023px){grid-template-rows:36rem auto;}@media (max-width:640px){grid-template-rows:32rem auto;}"]),C=p.ZP.div.withConfig({componentId:"sc-197bb970-11"})(["position:relative;min-width:0;overflow:hidden;border:1px solid ",";border-radius:8px;background:",";box-shadow:0 18px 50px ",";.homepage-map-marker{width:2.2rem;height:2.2rem;padding:0;border:2px solid ",";border-radius:999px;background:",";box-shadow:0 8px 18px rgba(15,23,42,0.22);cursor:pointer;}.homepage-map-cluster{width:4.6rem;height:4.6rem;border:2px solid ",";border-radius:999px;background:",";color:",";display:flex;align-items:center;justify-content:center;font-family:",";font-size:1.2rem;font-weight:",";box-shadow:0 10px 24px rgba(15,23,42,0.18);}"],m.O9.border.soft,m.O9.background.soft,m.O9.shadow.soft,m.O9.text.inverse,m.O9.brand.pink,m.O9.text.inverse,m.O9.brand.pink,m.O9.text.inverse,m.cp.fontFamily.primary,m.cp.weight.bold),I=p.ZP.div.withConfig({componentId:"sc-197bb970-12"})(["width:100%;height:100%;"]),P=p.ZP.button.withConfig({componentId:"sc-197bb970-13"})(["position:absolute;top:1.2rem;right:1.2rem;z-index:20;min-height:5.4rem;padding:0.55rem 1.15rem 0.55rem 0.55rem;border:1px solid rgba(255,0,138,0.2);border-radius:999px;background:rgba(255,255,255,0.96);color:",";display:inline-flex;align-items:center;gap:0.85rem;font-family:",";text-align:left;cursor:pointer;box-shadow:0 12px 34px rgba(15,23,42,0.16),0 0 0 0 rgba(255,0,138,0.24);backdrop-filter:blur(10px);animation:"," 4.8s ease-in-out infinite;transition:border-color 0.2s ease,transform 0.2s ease,box-shadow 0.2s ease;&:hover{border-color:",";transform:translateY(-2px);box-shadow:0 18px 46px rgba(15,23,42,0.2),0 0 0 6px rgba(255,0,138,0.08);animation-play-state:paused;}&:hover span:last-child{transform:translateX(2px);}@media (max-width:640px){top:1rem;right:1rem;max-width:calc(100% - 2rem);min-height:4.8rem;padding:0.45rem 0.95rem 0.45rem 0.45rem;gap:0.7rem;}"],m.O9.text.primary,m.cp.fontFamily.primary,h,m.O9.brand.pink),z=p.ZP.span.withConfig({componentId:"sc-197bb970-14"})(["width:4.3rem;height:4.3rem;flex:0 0 4.3rem;overflow:hidden;border:2px solid ",";border-radius:999px;background:",";box-shadow:0 6px 16px rgba(15,23,42,0.16);@media (max-width:640px){width:3.8rem;height:3.8rem;flex-basis:3.8rem;}"],m.O9.background.panel,m.O9.background.soft),_=p.ZP.img.withConfig({componentId:"sc-197bb970-15"})(["width:100%;height:100%;display:block;object-fit:cover;"]),X=p.ZP.span.withConfig({componentId:"sc-197bb970-16"})(["display:flex;flex-direction:column;gap:0.15rem;min-width:0;"]),N=p.ZP.span.withConfig({componentId:"sc-197bb970-17"})(["color:",";font-size:1.15rem;font-weight:",";line-height:1.05;white-space:nowrap;@media (max-width:640px){font-size:1rem;}"],m.O9.text.primary,m.cp.weight.bold),B=p.ZP.span.withConfig({componentId:"sc-197bb970-18"})(["color:",";"],m.O9.brand.pink),S=p.ZP.span.withConfig({componentId:"sc-197bb970-19"})(["display:inline-block;margin-left:0.35rem;color:",";transition:transform 0.2s ease;"],m.O9.text.primary),W=p.ZP.div.withConfig({componentId:"sc-197bb970-20"})(["position:absolute;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.78);color:",";font-family:",";font-size:",";font-weight:",";"],m.O9.text.secondary,m.cp.fontFamily.primary,m.cp.body.sm,m.cp.weight.bold),M=p.ZP.div.withConfig({componentId:"sc-197bb970-21"})(["position:absolute;
1left:1.2rem;bottom:1.2rem;z-index:14;padding:0.9rem 1.2rem;border-radius:8px;background:",";color:",";font-family:",";font-size:",";font-weight:",";box-shadow:0 8px 24px ",";"],m.O9.background.panel,m.O9.text.secondary,m.cp.fontFamily.primary,m.cp.body.sm,m.cp.weight.semibold,m.O9.shadow.soft),F=p.ZP.div.withConfig({componentId:"sc-197bb970-22"})(["display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;@media (max-width:1180px){grid-template-columns:repeat(3,minmax(0,1fr));}@media (max-width:640px){display:flex;gap:1rem;overflow-x:auto;padding:0.2rem 0 1rem;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{display:none;}}"]),T=p.ZP.button.withConfig({componentId:"sc-197bb970-23"})(["min-height:13rem;padding:1.4rem;border:1px solid ",";border-radius:8px;background:",";text-align:left;cursor:pointer;box-shadow:",";transition:transform 0.2s ease,border-color 0.2s ease,box-shadow 0.2s ease;&:hover{transform:translateY(-2px);border-color:",";box-shadow:0 14px 34px ",";}@media (max-width:640px){flex:0 0 18rem;min-height:10.5rem;padding:1.2rem;scroll-snap-align:start;}"],e=>{let{$isActive:t}=e;return t?m.O9.brand.pink:m.O9.border.soft},m.O9.background.panel,e=>{let{$isActive:t}=e;return t?"0 14px 34px ".concat(m.O9.shadow.pink):"0 10px 28px ".concat(m.O9.shadow.soft)},m.O9.brand.pink,m.O9.shadow.soft),E=p.ZP.span.withConfig({componentId:"sc-197bb970-24"})(["display:block;color:",";font-family:",";font-size:",";font-weight:",";line-height:1.35;"],m.O9.text.muted,m.cp.fontFamily.primary,m.cp.body.xs,m.cp.weight.semibold),L=p.ZP.span.withConfig({componentId:"sc-197bb970-25"})(["display:flex;align-items:center;gap:0.6rem;margin-top:0.8rem;color:",";font-family:",";font-size:1.9rem;font-weight:",";letter-spacing:-0.04em;line-height:1;span{font-size:1.6rem;line-height:1;}@media (max-width:640px){font-size:1.7rem;span{font-size:1.4rem;}}"],m.O9.text.primary,m.cp.fontFamily.primary,m.cp.weight.bold),j=p.ZP.span.withConfig({componentId:"sc-197bb970-26"})(["display:block;margin-top:1.4rem;color:",";font-family:",";font-size:",";font-weight:",";line-height:1.2;"],m.O9.brand.pink,m.cp.fontFamily.primary,m.cp.body.xs,m.cp.weight.bold),A=s.je,H=new l.aN({apiKey:"".concat("AIzaSyBM2JS4PatFTbtLaU6NQ1OOpqFL6McOIT4"),version:"weekly",libraries:["maps","marker"]}),R=e=>e?e.toUpperCase().replace(/./g,e=>String.fromCodePoint(127397+e.charCodeAt(0))):"",Y=e=>[...A].sort(()=>Math.random()-.5).slice(0,e),U=e=>{try{e.map=null}catch(e){}};function $(){let e=(0,r.useRouter)(),t=(0,o.useRef)(null),i=(0,o.useRef)(null),d=(0,o.useRef)(null),l=(0,o.useRef)([]),s=(0,o.useRef)(null),p=(0,o.useRef)(null),m=(0,o.useRef)(0),[h,A]=(0,o.useState)([]),[$,D]=(0,o.useState)(null),[V,q]=(0,o.useState)([]),[G,J]=(0,o.useState)(!1),[K,Q]=(0,o.useState)(!1),[ee,et]=(0,o.useState)(!1),ei=!!$;p.current=$,(0,o.useEffect)(()=>{var e;let t=Y(5);t.length&&(A(t),D(null!==(e=t[0])&&void 0!==e?e:null))},[]);let en=$?"/search?q=".concat(encodeURIComponent($.displayName)):"",eo=(0,o.useMemo)(()=>V.filter(e=>"number"==typeof(null==e?void 0:e.lat)&&"number"==typeof(null==e?void 0:e.lng)),[V]),er=(0,o.useCallback)(async e=>{let t=m.current+1;m.current=t,J(!0),Q(!1),q([]);try{var i;let{data:n}=await a.Z.get("/api/commercial/videos",{params:{search:e.destination_text,includeCoordinates:!0,limit:1,page:1}});if(m.current!==t)return;let o=(null!==(i=null==n?void 0:n.coordinates)&&void 0!==i?i:[]).filter(t=>t.lat>=e.sw_latitude&&t.lat<=e.ne_latitude&&t.lng>=e.sw_longitude&&t.lng<=e.ne_longitude);q(o.map(e=>({id:e.id,lat:e.lat,lng:e.lng,title:e.title,thumbnail:e.thumbnailUrl})))}catch(e){if(m.current!==t)return;Q(!0),q([])}finally{m.current===t&&J(!1)}},[]);(0,o.useEffect)(()=>{$&&er($)},[$,er]),(0,o.useEffect)(()=>{if(!ei)return;let e=!1;return(async()=>{var n,o;let r=await H.load(),{Map:a,RenderingType:l}=await r.maps.importLibrary("maps"),{AdvancedMarkerElement:m}=await r.maps.importLibrary("marker");if(e||!t.current||i.current)return;let h=p.current,g=new a(t.current,{zoom:10,center:{lat:null!==(n=null==h?void 0:h.latitude)&&void 0!==n?n:0,lng:null!==(o=null==h?void 0:h.longitude)&&void 0!==o?o:0},mapId:"".concat("c038c2b18990e2ef"),renderingType:l.VECTOR,disableDefaultUI:!0,fullscreenControl:!1,streetViewControl:!1,mapTypeControl:!1,zoomControl:!0,rotateControl:!1,scaleControl:!1,clickableIcons:!1,gestureHandling:"greedy"});
1i.current=g,s.current=m,d.current=new c.XL({map:g,markers:[],algorithm:new c.dO({radius:70,maxZoom:14,minPoints:3}),renderer:{render:e=>{let{count:t,position:i}=e,n=document.createElement("div");return n.className="homepage-map-cluster",n.textContent=t.toString(),new m({position:i,content:n})}}}),et(!0)})(),()=>{if(e=!0,d.current&&(d.current.clearMarkers(),d.current=null),l.current.forEach(e=>{U(e)}),l.current=[],i.current){var t,n,o;null===(o=window.google)||void 0===o||null===(n=o.maps)||void 0===n||null===(t=n.event)||void 0===t||t.clearInstanceListeners(i.current),i.current=null}s.current=null}},[ei]),(0,o.useEffect)(()=>{let e=i.current,t=d.current,n=s.current;if(!ee||!e||!t||!n||!$)return;if(t.clearMarkers(),l.current.forEach(e=>{U(e)}),!eo.length){l.current=[],e.fitBounds(new google.maps.LatLngBounds({lat:$.sw_latitude,lng:$.sw_longitude},{lat:$.ne_latitude,lng:$.ne_longitude}));return}let o=new google.maps.LatLngBounds({lat:$.sw_latitude,lng:$.sw_longitude},{lat:$.ne_latitude,lng:$.ne_longitude}),r=eo.map(e=>{let t=document.createElement("button");return t.type="button",t.className="homepage-map-marker",t.setAttribute("aria-label",e.title||"Video in ".concat($.displayName)),new n({position:{lat:e.lat,lng:e.lng},content:t})});l.current=r,t.addMarkers(r),e.fitBounds(o)},[$,eo,ee]);let ea=()=>{en&&e.push(en)};return $?(0,n.BX)(g,{children:[(0,n.BX)(b,{children:[$.videoSrc?(0,n.tZ)(f,{src:$.videoSrc,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"},$.videoSrc):null,(0,n.tZ)(u,{}),(0,n.BX)(x,{children:[(0,n.tZ)(w,{children:"Featured destination"}),(0,n.tZ)(y,{children:$.displayName}),(0,n.tZ)(v,{children:$.summary}),(0,n.tZ)(Z,{children:G?"Loading mapped travel videos":eo.length?"".concat(eo.length,"+ mapped videos"):"No mapped videos found"}),(0,n.BX)(k,{type:"button",onClick:ea,children:["Explore videos from ",$.displayName]})]})]}),(0,n.BX)(O,{children:[(0,n.BX)(C,{children:[(0,n.BX)(P,{type:"button",onClick:ea,"aria-label":"Explore ".concat(eo.length?"".concat(eo.length," "):"").concat($.displayName," videos"),children:[(0,n.tZ)(z,{children:(0,n.tZ)(_,{src:$.thumbnailSrc,alt:"","aria-hidden":"true"})}),(0,n.BX)(X,{children:[(0,n.BX)(N,{children:["Explore"," ",eo.length?(0,n.tZ)(B,{children:eo.length}):null]}),(0,n.BX)(N,{children:[$.displayName," videos",(0,n.tZ)(S,{children:"→"})]})]})]}),(0,n.tZ)(I,{ref:t}),G?(0,n.BX)(W,{children:["Loading ",$.displayName," videos…"]}):null,K?(0,n.tZ)(M,{children:"Could not load videos for this destination."}):null]}),(0,n.tZ)(F,{children:h.map(e=>{let t=e.destination_text===$.destination_text;return(0,n.BX)(T,{type:"button",$isActive:t,onClick:()=>D(e),children:[(0,n.tZ)(E,{children:e.label}),(0,n.BX)(L,{children:[e.displayName,e.countryCode?(0,n.tZ)("span",{children:R(e.countryCode)}):null]}),(0,n.tZ)(j,{children:t?"Now showing":"View ".concat(e.displayName)})]},e.destination_text)})})]})]}):null}var D=i(28847),V=i(45779),q=i(8842),G=i(5074),J=i(88062);let K=p.ZP.main.withConfig({componentId:"sc-a6bc1790-0"})(["width:100%;overflow:hidden;background:",";font-family:",";"],m.O9.background.page,m.cp.fontFamily.primary),Q=p.ZP.section.withConfig({componentId:"sc-a6bc1790-1"})(["width:100%;padding:"," "," ",";background:",";@media (max-width:1023px){padding:"," "," ",";}@media (max-width:640px){padding:"," "," ",";}"],m.W0.heroTop,m.W0.pageX,m.W0.heroBottom,m.O9.background.page,m.W0.heroTopTablet,m.W0.pageXTablet,m.W0.heroBottomTablet,m.W0.heroTopMobile,m.W0.pageXMobile,m.W0.heroBottomMobile),ee=p.ZP.div.withConfig({componentId:"sc-a6bc1790-2"})(["width:100%;max-width:",";margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,0.95fr);gap:56px;align-items:center;@media (max-width:1023px){grid-template-columns:1fr;gap:48px;}"],m.W0.maxWidthTight),et=p.ZP.div.withConfig({componentId:"sc-a6bc1790-3"})(["min-width:0;@media (max-width:1023px){text-align:center;}"]),ei=p.ZP.p.withConfig({componentId:"sc-a6bc1790-4"})(["margin:0 0 14px;color:",";font-size:",";font-weight:",";letter-spacing:0.12em;text-transform:uppercase;"],m.O9.brand.pink,m.cp.hero.eyebrow,m.cp.weight.bold),en=p.ZP.h1.withConfig({componentId:"sc-a6bc1790-5"})(["margin:0 0 20px;max-width:720px;color:",";font-size:",";font-weight:",";line-height:",";letter-spacing:normal;@media (max-width:1023px){margin-left:auto;margin-right:auto;}@media (max-width:640px){font-size:",";}"],m.O9.text.primary,m.cp.hero.title,m.cp.weight.bold,m.cp.lineHeight.tight,m.cp.hero.titleMobile),eo=p.ZP.p.withConfig({componentId:"sc-a6bc1790-6"})(["margin:0 0 28px;max-width:720px;color:",";font-size:",";font-weight:",";line-height:",";@media (max-width:1023px){margin-left:auto;margin-right:auto;}@media (max-width:640px){font-size:",";line-height:1.55;}"],m.O9.text.secondary,m.cp.section.body,m.cp.weight.medium,m.cp.lineHeight.body,m.cp.section.bodyMobile),er=p.ZP.div.withConfig({componentId:"sc-a6bc1790-7"})(["width:100%;max-width:780px;@media (max-width:1023px){margin:0 auto;}> *{width:100%;}"]);p.ZP.div.withConfig({componentId:"sc-a6bc1790-8"})(["display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;@media (max-width:1023px){justify-content:center;}"]),p.ZP.span.withConfig({componentId:"sc-a6bc1790-9"})(["color:",";font-size:",";font-weight:",";"],m.O9.text.muted,m.cp.body.sm,m.cp.weight.medium),p.ZP.button.withConfig({componentId:"sc-a6bc1790-10"})(["border:1px solid ",";border-radius:999px;padding:7px 12px;background:",";color:",";font-family:",";font-size:",";font-weight:",";cursor:pointer;transition:border-color 0.2s ease,color 0.2s ease,background 0.2s ease;&:hover{color:",";border-color:",";background:",";}"],m.O9.border.soft,m.O9.background.panel,m.O9.text.secondary,m.cp.fontFamily.primary,m.cp.body.sm,m.cp.weight.semibold,m.O9.brand.pink,m.O9.border.pinkSoft,m.O9.background.soft);let ea=p.ZP.div.withConfig({componentId:"sc-a6bc1790-11"})(["display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:38px;@media (max-width:1023px){justify-content:center;}@media (max-width:640px){gap:6px;margin-top:18px;}"]),ed=p.ZP.span.withConfig({componentId:"sc-a6bc1790-12"})(["display:inline-flex;align-items:center;gap:4px;
1height:34px;padding:0 14px;border:1px solid ",";border-radius:999px;background:",";color:",";white-space:nowrap;font-size:15px;font-weight:",";line-height:1;box-shadow:0 4px 14px rgba(15,23,42,0.04);strong{color:",";font-weight:",";letter-spacing:-0.01em;}@media (max-width:640px){height:30px;padding:0 12px;font-size:13px;}"],m.O9.border.soft,m.O9.background.panel,m.O9.text.secondary,m.cp.weight.medium,m.O9.text.primary,m.cp.weight.semibold),el=p.ZP.span.withConfig({componentId:"sc-a6bc1790-13"})(["display:none;"]);p.ZP.div.withConfig({componentId:"sc-a6bc1790-14"})(["position:relative;"]),p.ZP.button.withConfig({componentId:"sc-a6bc1790-15"})(["display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border:1px solid ",";border-radius:999px;background:",";color:",";white-space:nowrap;font-family:",";font-size:15px;font-weight:",";line-height:1;box-shadow:0 4px 14px rgba(15,23,42,0.04);cursor:pointer;transition:border-color 0.2s ease,transform 0.2s ease,box-shadow 0.2s ease,color 0.2s ease;&:hover{transform:translateY(-1px);border-color:",";color:",";box-shadow:0 10px 24px rgba(15,23,42,0.08);}&:focus{outline:none;}@media (max-width:640px){height:30px;padding:0 12px;font-size:13px;}"],m.O9.border.soft,m.O9.background.panel,m.O9.text.secondary,m.cp.fontFamily.primary,m.cp.weight.medium,m.O9.border.pinkSoft,m.O9.text.primary),p.ZP.div.withConfig({componentId:"sc-a6bc1790-16"})(["position:absolute;top:calc(100% + 12px);left:0;z-index:20;width:320px;padding:18px;border-radius:16px;border:1px solid ",";background:",";box-shadow:0 24px 60px rgba(15,23,42,0.12),0 8px 24px rgba(15,23,42,0.08);@media (max-width:640px){left:50%;transform:translateX(-50%);width:min(320px,calc(100vw - 32px));}"],m.O9.border.soft,m.O9.background.panel),p.ZP.div.withConfig({componentId:"sc-a6bc1790-17"})(["display:flex;flex-direction:column;gap:10px;"]),p.ZP.p.withConfig({componentId:"sc-a6bc1790-18"})(["margin:0;color:",";font-size:",";font-weight:",";line-height:1.2;"],m.O9.text.primary,m.cp.body.lg,m.cp.weight.bold),p.ZP.div.withConfig({componentId:"sc-a6bc1790-19"})(["width:fit-content;padding:8px 12px;border-radius:10px;background:rgba(255,0,138,0.06);border:1px solid rgba(255,0,138,0.14);color:",";font-size:",";font-weight:",";letter-spacing:0.08em;"],m.O9.brand.pink,m.cp.body.sm,m.cp.weight.bold),p.ZP.p.withConfig({componentId:"sc-a6bc1790-20"})(["margin:14px 0 0;color:",";font-size:",";font-weight:",";line-height:1.6;"],m.O9.text.secondary,m.cp.body.sm,m.cp.weight.medium),p.ZP.button.withConfig({componentId:"sc-a6bc1790-21"})(["width:100%;height:44px;margin-top:18px;border:0;border-radius:10px;background:",";color:",";font-family:",";font-size:",";font-weight:",";cursor:pointer;transition:transform 0.2s ease,box-shadow 0.2s ease,background 0.2s ease;box-shadow:0 12px 24px rgba(255,0,138,0.22);&:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(255,0,138,0.28);}&:focus{outline:none;}"],m.O9.brand.pink,m.O9.text.inverse,m.cp.fontFamily.primary,m.cp.body.sm,m.cp.weight.bold);let ec=p.ZP.div.withConfig({componentId:"sc-a6bc1790-22"})(["position:relative;width:100%;min-height:520px;@media (max-width:1023px){max-width:680px;min-height:420px;margin:0 auto;}@media (max-width:640px){min-height:360px;}"]),es=p.ZP.div.withConfig({componentId:"sc-a6bc1790-23"})(["position:absolute;overflow:hidden;border-radius:8px;background:",";box-shadow:0 24px 60px ",";border:1px solid ",';&::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient( to top,',"d9 0%,","99 28%,","33 56%,transparent 76% );}"," @media (max-width:1023px){","}@media (max-width:640px){border-radius:8px;","}"],m.O9.background.panel,m.O9.shadow.medium,m.O9.border.soft,m.O9.text.primary,m.O9.text.primary,m.O9.text.primary,e=>{let{$variant:t}=e;return"center"===t?"\n        width: 46%;\n        height: 480px;\n        left: 27%;\n        top: 0;\n        z-index: 3;\n      ":"left"===t?"\n        width: 38%;\n        height: 390px;\n        left: 0;\n        top: 82px;\n        z-index: 2;\n        transform: rotate(-5deg);\n      ":"\n      width: 38%;\n      height: 420px;\n      right: 0;\n      top: 82px;\n      z-index: 1;\n      transform: rotate(5deg);\n    "},e=>{let{$variant:t}=e;return"center"===t?"\n          width: 38%;\n          height: 390px;\n          left: 31%;\n        ":"left"===t?"\n          width: 32%;\n          height: 320px;\n          top: 52px;\n          left: 7%;\n        ":"\n        width: 32%;\n        height: 320px;\n        top: 52px;\n        right: 7%;\n      "},e=>{let{$variant:t}=e;return"center"===t?"\n          width: 46%;\n          height: 340px;\n          left: 27%;\n        ":"left"===t?"\n          width: 37%;\n          height: 270px;\n          top: 56px;\n          left: -1%;\n        ":"\n        width: 37%;\n        height: 270px;\n        top: 56px;\n        right: -1%;\n      "}),ep=p.ZP.video.withConfig({componentId:"sc-a6bc1790-24"})(["position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block;"]),em=p.ZP.div.withConfig({componentId:"sc-a6bc1790-25"})(["position:absolute;inset:0;z-index:0;background:",";"],m.O9.background.soft),eh=p.ZP.div.withConfig({componentId:"sc-a6bc1790-26"})(["position:absolute;inset:auto 16px 28px;z-index:3;padding:0;background:transparent;border:0;box-shadow:none;"," "," ",""],e=>{let{$variant:t}=e;return"left"===t&&"\n    left: 8px;\n    right: 72px;\n    "},e=>{let{$variant:t}=e;return"center"===t&&"\n    left: 20px;\n    right: 32px;\n    "},e=>{let{$variant:t}=e;return"right"===t&&"\n      left: 86px;\n      right: 12px;\n    "}),eg=p.ZP.p.withConfig({componentId:"sc-a6bc1790-27"})(["margin:0;color:",";font-size:",";font-weight:",";letter-spacing:0.1em;text-transform:uppercase;"],m.O9.brand.pink,m.cp.body.xs,m.cp.weight.bold),eb=p.ZP.p.withConfig({componentId:"sc-a6bc1790-28"})(["margin:6px 0 0;color:",";font-size:",";font-weight:",";line-height:1.25;"],m.O9.text.inverse,m.cp.body.md,m.cp.weight.bold),ef=p.ZP.section.withConfig({componentId:"sc-a6bc1790-29"})(["position:relative;width:100%;padding:"," ",";overflow:hidden;background:",";@media (max-width:640px){padding:"," ",";}"],m.W0.sectionY,m.W0.pageX,m.O9.background.page,m.W0.sectionYMobile,m.W0.pageXMobile),eu=p.ZP.div.withConfig({componentId:"sc-a6bc1790-30"})(["width:100%;max-width:",";margin:0 auto;"],m.W0.maxWidthTight),ex=p.ZP.p.withConfig({componentId:"sc-a6bc1790-31"})(["margin:0 0 10px;color:",";font-size:",";font-weight:",";letter-spacing:0.14em;text-transform:uppercase;"],m.O9.brand.pink,m.cp.section.eyebrow,m.cp.weight.bold),ew=p.ZP.h2.withConfig({componentId:"sc-a6bc1790-32"})(["margin:0 0 32px;color:",";font-size:",";font-weight:",";line-height:",";letter-spacing:normal;@media (max-width:640px){font-size:",";}"],m.O9.text.primary,m.cp.section.title,m.cp.weight.bold,m.cp.lineHeight.heading,m.cp.section.titleMobile),ey=p.ZP.section.withConfig({componentId:"sc-a6bc1790-33"})(["width:100%;max-width:",";margin:0 auto ",";padding:0 ",";@media (max-width:1023px){padding:0 ",";}@media (max-width:640px){margin-bottom:",";padding:0 ",";}"],m.W0.maxWidthTight,m.W0.sectionY,m.W0.pageX,m.W0.pageXTablet,m.W0.sectionYMobile,m.W0.pageXMobile);var ev=i(83454);let eZ=e=>{let t=[...e];for(let e=t.length-1;e>0;e--){let i=Math.floor(Math.random()*(e+1));[t[e],t[i]]=[t[i],t[e]]}return t};var ek=e=>{var t;let{content:i,shared:l,trendingSearchItems:c}=e,s={canonicalUrl:"".concat(null!==(t=ev.env.NS_URL_HOSTNAME)&&void 0!==t?t:"https://www.navisavitravel.com","/"),metaDescription:"NaviSavi is the world's leading travel video licensing platform. Search 250k+ authentic UGC travel videos across 190+ countries — rights-cleared and ready to deploy. From $17/video.",title:"Licensed Travel Video for Hotels, Airlines & OTAs | NaviSavi"},p=null==i?void 0:i.openGraphMetadata,{setTrending:m}=(0,q.AB)(),h=(0,r.useRouter)(),[g,b]=(0,o.useState)(!1),[f]=(0,o.useState)(!1),[u,x]=(0,o.useState)(!1),[w,y]=(0,o.useState)(!1),v=(0,o.useRef)(null),[Z,k]=(0,o.useState)([]);return(0,o.useEffect)(()=>{(async()=>{try{var e;let{data:t}=await a.Z.get("/api/media/filter-videos",{params:{featured:200}}),i=null!==(e=null==t?void 0:t.featured_videos)&&void 0!==e?e:[];k(eZ(i).slice(0,20))}catch(e){console.error("Failed to fetch videos: ".concat(e))}})()},[]),(0,o.useEffect)(()=>{(null==c?void 0:c.length)&&m(c)},[m,c]),(0,o.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,n.BX)(d.Z,{metadata:s,ogmd:p,shared:l,children:[(0,n.BX)(K,{children:[(0,n.tZ)(Q,{children:(0,n.BX)(ee,{children:[(0,n.BX)(et,{children:[(0,n.tZ)(ei,{children:"Licensed travel video content"}),(0,n.tZ)(en,{children:"The world’s leading travel video library."}),(0,n.tZ)(eo,{children:"Discover 250,000+ authentic travel videos from real travelers. Fully licensed and ready for your campaigns, website, and social media."}),(0,n.BX)(ea,{className:" mb-8",children:[(0,n.BX)(ed,{children:[(0,n.tZ)("strong",{children:"250k+"})," videos"]}),(0,n.tZ)(el,{children:"\xb7"}),(0,n.BX)(ed,{children:[(0,n.tZ)("strong",{children:"190+"})," countries"]}),(0,n.tZ)(el,{children:"\xb7"}),(0,n.BX)(ed,{children:["From ",(0,n.tZ)("strong",{children:"$17"})," per video"]}),(0,n.tZ)(el,{children:"\xb7"}),(0,n.tZ)(ed,{children:"Ready to license"})]}),(0,n.tZ)(er,{children:(0,n.tZ)(D.Z,{size:"small",placeholder:"Search destinations or keywords, e.g. Ibiza sunset",onSubmit:e=>{e&&h.push("/search?q=".concat(encodeURIComponent(e)))}})})]}),(0,n.BX)(ec,{"aria-label":"Travel video previews",children:[(0,n.BX)(es,{$variant:"left",children:[(0,n.tZ)(em,{}
1),(0,n.tZ)(ep,{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",children:(0,n.tZ)("source",{src:"/videos/hero-travel-2.mp4",type:"video/mp4"})}),(0,n.BX)(eh,{$variant:"left",children:[(0,n.tZ)(eg,{children:"Destinations"}),(0,n.tZ)(eb,{children:"Authentic local discovery"})]})]}),(0,n.BX)(es,{$variant:"center",children:[(0,n.tZ)(em,{}),(0,n.tZ)(ep,{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",children:(0,n.tZ)("source",{src:"/videos/hero-travel-1.mp4",type:"video/mp4"})}),(0,n.BX)(eh,{$variant:"center",children:[(0,n.tZ)(eg,{children:"Hotels"}),(0,n.tZ)(eb,{children:"Real guest storytelling"})]})]}),(0,n.BX)(es,{$variant:"right",children:[(0,n.tZ)(em,{}),(0,n.tZ)(ep,{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",children:(0,n.tZ)("source",{src:"/videos/hero-travel-3.mp4",type:"video/mp4"})}),(0,n.BX)(eh,{$variant:"right",children:[(0,n.tZ)(eg,{children:"Experiences"}),(0,n.tZ)(eb,{children:"Moments people remember"})]})]})]})]})}),(null==Z?void 0:Z.length)?(0,n.tZ)(ey,{children:(0,n.tZ)(G.Z,{eyebrow:"Fresh content",title:"Videos recently added",ctaText:"Explore the library",ctaHref:"/search",showCta:!0,videos:Z})}):null,(0,n.tZ)(ef,{id:"start-exploring",children:(0,n.BX)(eu,{children:[(0,n.tZ)(ex,{children:"Explore by destination"}),(0,n.tZ)(ew,{children:"View videos by destination."}),(0,n.tZ)($,{})]})}),(0,n.tZ)(J.Z,{})]}),(0,n.tZ)(V.Z,{openModal:g,setOpenModal:b,createAccount:f})]})},eO={slug:"/",metaDescription:"Meta description for Homepage",pageTitle:"Homepage",openGraphMetadata:{url:"https://www.navisavi.com",type:"website",image:"https://images.squarespace-cdn.com/content/v1/610c066d13fdd76b15788867/0af61b52-e50b-4a5d-8731-00dd96fb15eb/NaviSavi_Logo-With-Name+Transparent.png","locale:alternate":"Locale Alternate Test"}},eC=i(35004),eI=[{id:2,link:"/search/all/national_parks",location:{lon:-90.1858,lat:38.62488},locationName:"National Parks",thumbnail:{url:"/assets/contentful/tt1_national_parks.jpeg"}},{id:3,link:"/search/los_angeles",location:{lon:-118.242,lat:34.0549},locationName:"Los Angeles",thumbnail:{url:"/assets/contentful/tt2_los_angeles.jpg"}},{id:6,link:"/search/niagara_falls",location:{lon:-79.0377,lat:43.09621},locationName:"Niagara Falls",thumbnail:{url:"/assets/contentful/tt5_niagara.jpeg"}},{id:1,link:"/search/new_york",location:{lon:-74.0059,lat:40.71277},locationName:"New York City",thumbnail:{url:"/assets/contentful/tt8_ny.jpg"}},{id:8,link:"/search/chicago",location:{lon:-87.6297,lat:41.87811},locationName:"Chicago",thumbnail:{url:"/assets/contentful/tt7_chicago.webp"}},{id:7,link:"/search/yellowstone",location:{lon:-108.434,lat:45.78565},locationName:"Yellowstone",thumbnail:{url:"/assets/contentful/tt6_yellowstone.webp"}},{id:5,link:"/search/all/waterfall",location:{lon:-112.697,lat:36.2552},locationName:"Waterfall",thumbnail:{url:"/assets/contentful/tt4_waterfalls.jpeg"}},{id:4,link:"/search/all/museum",location:{lon:-73.9632,lat:40.77943},locationName:"Museum",thumbnail:{url:"/assets/contentful/tt3_museum.jpeg"}}],eP=()=>(0,n.tZ)(ek,{content:eO,shared:eC.Z,trendingSearchItems:eI})},88062:function(e,t,i){"use strict";i.d(t,{Z:function(){return O}});var n=i(62364);i(67294);var o=i(41664),r=i.n(o),a=i(15437),d=i(46347);let l=a.ZP.section.withConfig({componentId:"sc-5cceb271-0"})(["width:100%;max-width:",";margin:0 auto;padding:"," ",";background:",";@media (max-width:1023px){padding:"," ",";}@media (max-width:640px){padding:"," ",";}"],d.W0.maxWidthTight,d.W0.sectionY,d.W0.pageX,d.O9.background.page,d.W0.sectionYMobile,d.W0.pageXTablet,d.W0.sectionYMobile,d.W0.pageXMobile),c=a.ZP.div.withConfig({componentId:"sc-5cceb271-1"})(["max-width:72rem;margin:0 auto 4rem;text-align:center;@media (max-width:640px){margin-bottom:2.8rem;text-align:left;}"]),s=a.ZP.p.withConfig({componentId:"sc-5cceb271-2"})(["margin:0 0 1rem;color:",";font-family:",";font-size:",";font-weight:",";letter-spacing:0.14em;text-transform:uppercase;"],d.O9.brand.pink,d.cp.fontFamily.primary,d.cp.section.eyebrow,d.cp.weight.bold),p=a.ZP.h2.withConfig({componentId:"sc-5cceb271-3"})(["margin:0;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";letter-spacing:-0.02em;@media (max-width:640px){font-size:",";}"],d.O9.text.primary,d.cp.fontFamily.primary,d.cp.section.title,d.cp.weight.bold,d.cp.lineHeight.heading,d.cp.section.titleMobile),m=a.ZP.p.withConfig({componentId:"sc-5cceb271-4"})(["max-width:58rem;margin:1.4rem auto 0;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";@media (max-width:640px){margin-left:0;margin-right:0;font-size:",";}"],d.O9.text.secondary,d.cp.fontFamily.primary,d.cp.body.md,d.cp.weight.medium,d.cp.lineHeight.body,d.cp.body.sm),h=a.ZP.div.withConfig({componentId:"sc-5cceb271-5"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.4rem;@media (max-width:1023px){grid-template-columns:repeat(2,minmax(0,1fr));gap:1.8rem;}@media (max-width:640px){grid-template-columns:1fr;gap:1.4rem;}"]),g=a.ZP.div.withConfig({componentId:"sc-5cceb271-6"})(["min-width:0;a{display:block;height:100%;color:inherit;text-decoration:none;}"]),b=a.ZP.article.withConfig({componentId:"sc-5cceb271-7"})(["position:relative;min-height:22rem;height:100%;padding:2.8rem;border-radius:8px;border:1px solid ",";background:",";box-shadow:0 14px 38px ",";display:flex;flex-direction:column;align-items:flex-start;gap:1.4rem;overflow:hidden;transition:transform 0.2s ease,border-color 0.2s ease,box-shadow 0.2s ease;&:hover{transform:translateY(-3px);border-color:",";box-shadow:0 22px 54px ",";}@media (max-width:640px){min-height:auto;padding:2rem;}"],e=>{let{$isComingSoon:t}=e;return t?d.O9.border.pinkSoft:d.O9.border.soft},e=>{let{$isComingSoon:t}=e;return t?"linear-gradient(135deg, ".concat(d.O9.background.panel," 0%, ").concat(d.O9.background.soft," 52%, rgba(255, 0, 138, 0.08) 100%)"):d.O9.background.panel},d.O9.shadow.soft,d.O9.border.pinkSoft,d.O9.shadow.medium),f=a.ZP.div.withConfig({componentId:"sc-5cceb271-8"})(["width:4.4rem;height:4.4rem;border-radius:999px;background:",";color:",";border:1px solid ",";display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(0.4,0,0.2,1);svg{width:2rem;height:2rem;stroke:currentColor;stroke-width:2;}",":hover &{background:",";color:",";border:1px solid transparent;transform:scale(1.05);}"],d.O9.brand.white,d.O9.brand.pink,d.O9.brand.pink,b,d.O9.brand.pink,d.O9.brand.white),u=a.ZP.h3.withConfig({componentId:"sc-5cceb271-9"})(["margin:0;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";"],d.O9.text.primary,d.cp.fontFamily.primary,d.cp.body.lg,d.cp.weight.bold,d.cp.lineHeight.heading),x=a.ZP.p.withConfig({componentId:"sc-5cceb271-10"})(["margin:0;color:",";font-family:",";font-size:",";font-weight:",";line-height:",";@media (max-width:640px){font-size:",";}"],d.O9.text.secondary,d.cp.fontFamily.primary,d.cp.body.md,d.cp.weight.medium,d.cp.lineHeight.body,d.cp.body.sm);var w=function(e){let{id:t,icon:i,title:o,link:a,description:d}=e,l=a.startsWith("http");return(0,n.tZ)(g,{children:(0,n.tZ)(r(),{href:a,target:l?"_blank":void 0,rel:l?"noopener noreferrer":void 0,children:(0,n.BX)(b,{$isComingSoon:"coming_soon"===t,children:[(0,n.tZ)(f,{children:i}),(0,n.tZ)(u,{children:o}),(0,n.tZ)(x,{children:d})]})})})},y=i(81194),v=i(47963),Z=i(73093);let k=[{id:"moats",link:"/moats",title:"Build your own travel video library",icon:(0,n.tZ)(y.Z,{size:24}),description:"Collect guest, customer and creator videos into your own branded content hub with NaviSavi MOATS."},{id:"ugc",link:"/creators",title:"Commission travel creators",icon:(0,n.tZ)(v.Z,{size:24}),description:"Need custom content? With access to 5k+ global travel creators, we help brands produce destination shoots, campaigns and social-first travel content."},{id:"video_api",link:"/api-access",title:"Plug travel video into your platform",icon:(0,n.tZ)(Z.Z,{size:24}),description:"Use the NaviSavi API to power destination pages, booking flows, apps and websites with licensed travel video."}];var O=function(){return(0,n.BX)(l,{children:[(0,n.BX)(c,{children:[(0,n.tZ)(s,{children:"NaviSavi for businesses"}),(0,n.tZ)(p,{children:"Everything you need to power your travel business with video."}),(0,n.tZ)(m,{children:"NaviSavi helps travel brands source, organize, license and distribute authentic travel video across websites, apps, campaigns and booking experiences."})]}),(0,n.tZ)(h,{children:k.map(e=>(0,n.tZ)(w,{...e},e.id))})]})}}},function(e){e.O(0,[4577,9332,9184,7636,1956,4097,1292,8894,3359,3134,4982,2888,9774,179],function(){return e(e.s=48312)}),_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.