PageSourceSearch

https://bunac.org/_next/static/chunks/pages/[brandName]/destinations/[destinationSlug]-1d0667a90e6eda01.js

js bunac.org collected 2026-10-02 04:39:03 UTC 19,512 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6022],{34538:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[brandName]/destinations/[destinationSlug]",function(){return i(41927)}])},29415:function(e,t,i){"use strict";var n=i(52322),l=i(61470),s=i(91560),r=i(88460),a=i(87571);t.Z=e=>{let{faq:t,price:i,brand:o}=e;return t?(0,n.jsxs)(l.ZP,{item:!0,xs:12,children:[(0,n.jsx)(a.Z,{variant:"tagLine",sx:{fontSize:"1.7rem",marginBottom:"1rem"},children:t.tagLine}),(0,n.jsxs)(a.Z,{sx:{fontSize:"2.8rem",lineHeight:"2.8rem",marginBottom:s.Z.spacing(3)},variant:"h2",children:[null==t?void 0:t.title," ",i&&"| ".concat(i)]}),(0,n.jsx)(a.Z,{variant:"body",richText:!0,sx:{marginBottom:s.Z.spacing(3)},children:t.introduction}),(0,n.jsx)(r._,{items:t.faqItems,style:"primary"})]}):null}},10813:function(e,t,i){"use strict";i.d(t,{n:function(){return S}});var n=i(52322),l=i(73569),s=i(91560),r=i(24240),a=i(61470),o=i(64323),d=i(75876),c=i(55768),u=i(27008),h=i(97489),m=i(44393);i(2784);var p=i(76214),x=i(87571),v=i(42925),f=i(94965),g=i(961);let b="25rem",j=e=>{let{jobSummary:t}=e,{brand:i}=(0,p.DY)(),{getImageSizes:l}=(0,g.I)(),{image:s,sticker:d,jobDetails:c,logo:u}=t,h=(null==d?void 0:d.color)==="Main"?i.colors.C4:i.colors.C3;return(0,n.jsx)(o.Z,{elevation:5,sx:{maxWidth:b,height:"100%",minHeight:"36rem",backgroundColor:"white",p:"0 4px",mx:"8px",overflow:"hidden"},component:"article",children:(0,n.jsxs)(a.ZP,{container:!0,sx:{height:"100%"},direction:"column",wrap:"nowrap",children:[(0,n.jsxs)(a.ZP,{item:!0,sx:{position:"relative",minHeight:{xs:"250px",sm:"240px",md:"200px"}},children:[d&&(0,n.jsx)(o.Z,{elevation:10,sx:{top:"5%",right:"5%",position:"absolute",zIndex:1,backgroundColor:h,borderRadius:"50%",height:"4.375rem",width:"4.375rem",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(r.Z,{sx:{p:"5px",border:"solid black 2px",borderRadius:"50%",width:"95%",height:"95%",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,n.jsx)(x.Z,{variant:"caption",sx:{textAlign:"center",fontSize:"0.75rem",lineHeight:"1.15"},children:d.text})})}),(0,n.jsx)(v.d,{image:s,sizes:l(b),style:{objectFit:"cover",display:"block",objectPosition:"10% 50%"}})]}),(0,n.jsx)(a.ZP,{container:!0,item:!0,direction:"column",wrap:"nowrap",gap:2,sx:{mt:2,mb:u?0:2,px:"16px",flex:1},children:(0,n.jsx)(w,{jobDetails:c,hasLogo:!!u})}),u&&(0,n.jsx)(a.ZP,{item:!0,container:!0,justifyContent:"center",alignItems:"end",sx:{position:"relative"},children:(0,n.jsx)(v.d,{width:125,height:100,url:u.url,image:u.image,linkLabel:u.linkLabel})})]})})},w=e=>{let{jobDetails:t,hasLogo:i}=e,s={regularText:{lineHeight:"1.2rem",fontSize:"0.9375rem"},descriptionTitle:{fontSize:"1.875rem",lineHeight:"1.875rem"}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.ZP,{item:!0,container:!0,direction:"row",children:[(0,n.jsx)(c.Z,{fontSize:"small",sx:{ml:"-4px"}}),(0,n.jsx)(f.Z,{href:t.location.googleMapsLink,linkLabel:"Open location in Google Maps: ",sx:{fontWeight:600,...s.regularText},children:t.location.name})]}),(0,n.jsx)(a.ZP,{item:!0,container:!0,children:(0,n.jsx)(x.Z,{variant:"h3",sx:s.descriptionTitle,children:t.title})}),(0,n.jsx)(a.ZP,{item:!0,xs:4,alignContent:"center",children:(0,n.jsxs)(l.Z,{spacing:1,children:[t.additionalInfo&&(0,n.jsxs)(l.Z,{direction:"row",spacing:2,children:[(0,n.jsx)(h.Z,{fontSize:"small"}),(0,n.jsx)(x.Z,{variant:"body",sx:s.regularText,children:t.additionalInfo})]}),(0,n.jsxs)(l.Z,{direction:"row",spacing:2,children:[(0,n.jsx)(u.Z,{fontSize:"small"}),(0,n.jsx)(x.Z,{variant:"body",sx:{...s.regularText,whiteSpace:"nowrap"},children:t.duration})]}),(0,n.jsxs)(l.Z,{direction:"row",spacing:2,children:[(0,n.jsx)(d.Z,{fontSize:"small",viewBox:"0 0 16 11",children:(0,n.jsx)("path",{d:"M15.2517 0.551473C14.2993 0.151987 13.3461 2.9532e-08 12.3934 2.9532e-08C9.36915 -0.000245506 6.34513 1.53067 3.32087 1.53067C2.56241 1.53067 1.80444 1.43442 1.04598 1.19379C0.960781 1.16679 0.875335 1.15402 0.791853 1.15402C0.369286 1.15402 0 1.48107 0 1.93507V9.72493C0 10.035 0.177522 10.329 0.462589 10.4483C1.41502 10.848 2.36819 11 3.32087 11C6.34513 11 9.3694 9.46908 12.3937 9.46908C13.1521 9.46908 13.9101 9.56533 14.6685 9.80596C14.7537 9.83297 14.8392 9.84574 14.9227 9.84574C15.3452 9.84574 15.7145 9.51868 15.7145 9.06469V1.27507C15.7143 0.96471 15.5368 0.671049 15.2517 0.551473ZM1.17857 2.46076C1.67259 2.58451 2.18821 2.64663 2.71857 2.68002C2.5742 3.40165 1.93973 3.94551 1.17857 3.945
151V2.46076ZM1.17857 9.45853V8.28536C2.02248 8.28536 2.70531 8.95493 2.74288 9.79295C2.18969 9.7485 1.67259 9.63801 1.17857 9.45853ZM7.85714 7.85714C6.77212 7.85714 5.89286 6.80158 5.89286 5.5C5.89286 4.19817 6.77237 3.14286 7.85714 3.14286C8.94192 3.14286 9.82143 4.19817 9.82143 5.5C9.82143 6.80208 8.94167 7.85714 7.85714 7.85714ZM14.5357 8.53924C14.1055 8.43145 13.6589 8.37105 13.202 8.33201C13.3461 7.69165 13.8772 7.20549 14.5357 7.12201V8.53924ZM14.5357 2.7419C13.7773 2.64589 13.1887 2.01266 13.1654 1.23063C13.6452 1.28391 14.1006 1.38359 14.5357 1.54147V2.7419Z",fill:"#191919"})}),(0,n.jsx)(x.Z,{variant:"body",sx:{...s.regularText,whiteSpace:"nowrap"},children:t.pay})]}),(0,n.jsxs)(l.Z,{direction:"row",spacing:2,children:[(0,n.jsx)(m.Z,{fontSize:"small"}),(0,n.jsx)(x.Z,{variant:"body",sx:s.regularText,children:t.benefits})]})]})}),(0,n.jsx)(a.ZP,{item:!0,container:!0,xs:4,sx:{flex:1,alignItems:i?"center":"start"},children:(0,n.jsx)(x.Z,{variant:"body",sx:{...s.regularText,lineHeight:"1.3rem"},richText:!0,children:t.description})})]})};var Z=i(36535),y=i(45095),C=i(7570);let S=e=>{let{jobs:t,header:i}=e;return(0,n.jsxs)(l.Z,{component:"section",role:"region","aria-labelledby":"Jobs carousel title",sx:{scrollMarginTop:s.Z.spacing(17),display:"flex",gap:3},id:i.navigationButton,children:[(0,n.jsx)(Z.H,{tagLine:i.tagLine,title:i.title,id:"Jobs carousel title"}),(0,n.jsx)(y.a,{breakPoints:{xs:{slidesPerView:1,spaceBetween:27},sm:{slidesPerView:2,spaceBetween:27},md:{slidesPerView:3,spaceBetween:27},lg:{slidesPerView:4,spaceBetween:27},xl:{slidesPerView:5,spaceBetween:27}},scrollBar:!0,swiperStyle:{padding:"10px 0"},children:t.map((e,t)=>(0,n.jsx)(j,{jobSummary:e},t))}),i.jobsCTA&&(0,n.jsx)(C.o,{variant:"primary",href:i.jobsCTA.url,linkLabel:i.jobsCTA.linkLabel,sx:{width:{xs:"80%",sm:"fit-content"},alignSelf:"center"},children:i.jobsCTA.text})]})}},85081:function(e,t,i){"use strict";i.d(t,{P:function(){return c}});var n=i(52322),l=i(24240),s=i(76214),r=i(1592);i(47437),i(88891);var a=i(87571),o=i(42925),d=i(45095);let c=e=>{let{partnersSlider:t}=e,{brand:i}=(0,s.DY)(),c="-3vh";return(0,n.jsxs)(l.Z,{sx:{isolation:"isolate"},className:"full-bleed",children:[i.imageTransition.enableTransition&&(0,n.jsx)(l.Z,{sx:{position:"relative",zIndex:2,mt:"".concat(c)},children:(0,n.jsx)(r.Z,{brand:i,rotate:"top",width:"100%",height:"10vh"})}),(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",height:{xs:"45vh",sm:"40vh"},backgroundColor:i.colors.C3,"@media (orientation: landscape) and (max-height: 500px)":{height:{sm:"60vh"}}},children:[(0,n.jsx)(a.Z,{variant:"h2",sx:{mb:t.subTitle?"initial":{xs:"0.5rem",sm:"1rem",md:"0.5rem"}},children:t.title}),t.subTitle&&(0,n.jsx)(a.Z,{variant:"subTitle",sx:{mb:{xs:"0.5rem",sm:"1rem",md:"0.5rem"}},children:t.subTitle}),(0,n.jsx)(d.a,{scrollBar:!0,centerInsufficientSlides:!0,swiperWrapperSx:{height:{xs:"35%",xl:"30%"},width:"100%",position:"relative",mb:{xs:"2rem",lg:"2.25rem",xl:"3rem"},"@media (orientation: landscape) and (max-height: 500px)":{height:{sm:"40%"}}},swiperStyle:{height:"100%",backgroundColor:"white",padding:"10px"},breakPoints:{xs:{slidesPerView:3,spaceBetween:49},sm:{slidesPerView:4,spaceBetween:49},md:{slidesPerView:5,spaceBetween:55},lg:{slidesPerView:7,spaceBetween:67}},children:t.slides.map((e,t)=>(0,n.jsx)(o.d,{image:e.logo,url:e.link,linkLabel:e.linkLabel},t))})]}),i.imageTransition.enableTransition&&(0,n.jsx)(l.Z,{sx:{position:"relative",zIndex:2,mb:"".concat(c)},children:(0,n.jsx)(r.Z,{brand:i,rotate:"bottom",width:"100%",height:"10vh"})})]})}},94902:function(e,t,i){"use strict";var n=i(52322);i(2784);var l=i(20782);t.Z=e=>{let{items:t}=e;return!t||t.length<=1?null:(0,n.jsx)(l.gR,{items:t})}},68912:function(e,t,i){"use strict";i.d(t,{Wh:function(){return a},Zd:function(){return c},gD:function(){return u},i1:function(){return d},iW:function(){return o}});var n=i(97668),l=i(7095),s=i(33150);let r=(e,t,i,n)=>{let r=e.startsWith("http")?e:"https://".concat(e),a=t.replace(/^\/+|\/+$/g,""),o=n&&n!==l.ZW?a?"".concat(n,"/").concat(a):n:a,d=(0,s.T)(i)?"/":"";return""===o||"/"===o?d?"".concat(r,"/"):r:"".concat(r,"/").concat(o).concat(d)},a=function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=arguments.length>4?arguments[4]:void 0,s=[{name:"Home",item:r(t,"",i,l)}];
1return n.forEach(e=>{let{path:n,name:a}=e;s.push({name:a,item:r(t,n,i,l)})}),s.push({name:e}),s},o=function(e,t,i,l){let s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=arguments.length>5?arguments[5]:void 0,o=(0,n.y)(t),d=(0,n.y)(e);return"BUNAC"===l?a(d,i,l,[],r):s?a(d,i,l,[{path:"infohub",name:"InfoHub"}],r):a(d,i,l,[{path:"experiences",name:"Experiences"},{path:"experiences/".concat(t),name:o}],r)},d=(e,t,i,l)=>a((0,n.y)(e),t,i,[{path:"experiences",name:"Experiences"}],l),c=(e,t,i,n)=>a(e,t,i,[{path:"destinations",name:"Destinations"}],n),u=function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4?arguments[4]:void 0;return n?a(e,t,i,[{path:"infohub",name:"InfoHub"},{path:"infohub/infoblog",name:"InfoBlog"}],l):a(e,t,i,[{path:"blog",name:"Blog"}],l)}},41927:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return S},default:function(){return k}});var n=i(52322),l=i(29144),s=i(29921),r=i(32286),a=i(94342),o=i(88223),d=i(21256),c=i(60115),u=i(85081),h=i(10813),m=i(38381),p=i(29415),x=i(47323),v=i(30231),f=e=>{var t,i,f,g,b,j,w,Z,y,C,S,k,L,T,P,I,z,H,V,$;let{brand:B,destination:M,jobs:_}=e,N="BUNAC"!==B.name,D=(0,m.v6)([...M.products,...M.productsV2],B);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.Z,{props:M.brandUsp}),(0,n.jsx)(d.Z,{props:M.destinationUsp}),M.partnersSlider&&(0,n.jsx)(u.P,{partnersSlider:M.partnersSlider}),(null===(i=M.news)||void 0===i?void 0:null===(t=i.news)||void 0===t?void 0:t.length)>0&&(0,n.jsx)(r.Z,{news:null==M?void 0:null===(f=M.news)||void 0===f?void 0:f.news,titleLeft:null==M?void 0:null===(g=M.news)||void 0===g?void 0:g.title,subtitleLeft:null==M?void 0:null===(b=M.news)||void 0===b?void 0:b.subtitle,titleRight:null==M?void 0:null===(j=M.news)||void 0===j?void 0:j.linkText,titleRightLink:null==M?void 0:null===(w=M.news)||void 0===w?void 0:w.linkURL}),N&&D.length>0&&(0,n.jsx)(s.ZP,{titleLeft:(null==M?void 0:null===(Z=M.productsSliderHeading)||void 0===Z?void 0:Z.title)||"Check out all our destinations",subTitleLeft:(null==M?void 0:null===(y=M.productsSliderHeading)||void 0===y?void 0:y.tagLine)||"",items:D}),M.jobsPreviewSliderHeader&&(0,n.jsx)(h.n,{jobs:_,header:M.jobsPreviewSliderHeader}),(null===(S=M.faq)||void 0===S?void 0:null===(C=S.faqItems)||void 0===C?void 0:C.length)>0&&(0,n.jsx)(p.Z,{faq:null==M?void 0:M.faq,brand:B}),(null===(L=M.travelGuidesSlider)||void 0===L?void 0:null===(k=L.travelGuides)||void 0===k?void 0:k.length)>0&&(0,n.jsx)(s.ZP,{items:M.travelGuidesSlider.travelGuides,titleLeft:M.travelGuidesSlider.title,subTitleLeft:M.travelGuidesSlider.tagLine}),M.bookACallVideo&&(0,n.jsx)(o.Z,{props:M.bookACallVideo}),M.offerBanner&&(0,n.jsx)(a.Z,{offer:null==M?void 0:M.offerBanner}),M.crossSellSectionV2&&(0,n.jsx)(x.Z,{crossSellSection:M.crossSellSectionV2}),(null===(T=M.events)||void 0===T?void 0:T.length)>0&&(null==M?void 0:M.eventsSection)&&(0,n.jsx)(l.D,{events:M.events,eventsSection:M.eventsSection}),(null===(I=B.reviewsIO)||void 0===I?void 0:null===(P=I.reviewsIOCarouselWidget)||void 0===P?void 0:P.widgetCode)&&(0,n.jsx)(c.Z,{}),(null==B?void 0:null===(H=B.typeform)||void 0===H?void 0:null===(z=H.standardEmbed)||void 0===z?void 0:z.dataTfLive)&&(0,n.jsx)(v.T,{id:null==B?void 0:null===($=B.typeform)||void 0===$?void 0:null===(V=$.standardEmbed)||void 0===V?void 0:V.dataTfLive})]})},g=i(72364),b=i(85973),j=i(28932),w=i(76214),Z=i(68912),y=i(94902),C=i(37366),S=!0,k=e=>{var t;let{brand:i,destination:l,jobs:s}=e,r=(0,Z.Zd)(l.name,i.seoSiteDetails.domain,i.name);return(0,n.jsx)(w.ZP,{brand:i,children:(0,n.jsx)(j.Z,{children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(b.Z,{seoSiteDetails:i.seoSiteDetails,seoDetails:(null==l?void 0:l.seoDetails)||null,image:(null==l?void 0:null===(t=l.hero)||void 0===t?void 0:t.bannerImage)||null,children:[(0,n.jsx)(y.Z,{items:r}),(0,n.jsx)(C.Z,{faq:l.faq})]}),(0,n.jsx)(g.Z,{brand:i,hero:(null==l?void 0:l.hero)||null}),(0,n.jsx)(f,{brand:i,destination:l,jobs:s})]})})})}},44392:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4z"}),"AddBox")},43902:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article")},27008:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"}),"CalendarMonth")},70753:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m3.79 9.71-3.08 3.08c-.39.39-1.02.39-1.42 0l-3.08-3.08c-.39-.39-.39-1.03 0-1.42.39-.39 1.02-.39 1.41 0L12 12.67l2.38-2.38c.39-.39 1.02-.39 1.41 0 .39.39.39 1.03 0 1.42"}),"ExpandCircleDownRounded")},44313:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10H7v-2h10z"}),"IndeterminateCheckBox")},97489:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},55768:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"Place")},44393:function(e,t,i){"use strict";var n=i(71600);t.Z=void 0;var l=n(i(94834)),s=i(52322);t.Z=(0,l.default)((0,s.jsx)("path",{d:"m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"}),"StarRounded")},67678:function(e,t,i){"use strict";i.d(t,{Z:function(){return a}});var n=i(52322),l=i(2784);let s={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280},r=(e,t,i,n="maxresdefault")=>{let[r,a]=(0,l.useState)("");return(0,l.useEffect)(()=>{let l=`https://img.youtube.com/${t}/${e}/${n}.${i}`,r=`https://img.youtube.com/${t}/${e}/hqdefault.${i}`,o=s[n],d=new Image;d.onload=()=>{d.width<o?a(r):a(l)},d.onerror=()=>a(r),d.src=l},[e,t,i,n]),r},a=l.forwardRef(function(e,t){var i,s;let[a,o]=l.useState(!1),[d,c]=l.useState(e.alwaysLoadIframe||!1),u=encodeURIComponent(e.id),h="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,m=e.title,p=e.poster||"hqdefault",x=e.announce||"Watch",v=!e.alwaysLoadIframe||e.autoplay&&e.muted,f=l.useMemo(()=>{let t=new URLSearchParams({...e.muted?{mute:"1"}:{},...v?{autoplay:"1"}:{},...e.enableJsApi?{enablejsapi:"1"}:{},...e.playlist?{list:u}:{}});return e.params&&new URLSearchParams(e.params.startsWith("&")?e.params.slice(1):e.params).forEac
1h((e,i)=>{t.append(i,e)}),t},[e.muted,v,e.enableJsApi,e.playlist,u,e.params]),g=l.useMemo(()=>e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com",[e.cookie]),b=l.useMemo(()=>e.playlist?`${g}/embed/videoseries?${f.toString()}`:`${g}/embed/${u}?${f.toString()}`,[e.playlist,g,u,f]),j=!e.thumbnail&&!e.playlist&&"maxresdefault"===p,w=e.webp?"webp":"jpg",Z=e.webp?"vi_webp":"vi",y=j?r(e.id,Z,w,p):null,C=l.useMemo(()=>e.thumbnail||y||`https://i.ytimg.com/${Z}/${e.playlist?h:u}/${p}.${w}`,[e.thumbnail,y,Z,e.playlist,h,u,p,w]),S=e.activatedClass||"lyt-activated",k=e.adNetwork||!1,L=e.aspectHeight||9,T=e.aspectWidth||16,P=e.iframeClass||"",I=e.playerClass||"lty-playbtn",z=e.wrapperClass||"yt-lite",H=l.useCallback(e.onIframeAdded||function(){},[e.onIframeAdded]),V=e.rel?"prefetch":"preload",$=e.containerElement||"article",B=!1!==e.noscriptFallback;return l.useEffect(()=>{d&&(H(),e.focusOnLoad&&"object"==typeof t&&null!=t&&t.current&&t.current.focus())},[d,H,e.focusOnLoad,t]),(0,n.jsxs)(n.Fragment,{children:[!e.lazyLoad&&(0,n.jsx)("link",{rel:V,href:C,as:"image"}),(0,n.jsx)(n.Fragment,{children:a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"preconnect",href:g}),(0,n.jsx)("link",{rel:"preconnect",href:"https://www.google.com"}),k&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),(0,n.jsx)("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})]})]})}),e.seo&&!e.playlist&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(i=e.id,JSON.stringify({"@context":"https://schema.org","@type":"VideoObject",name:(null==(s=e.seo)?void 0:s.name)||m,thumbnailUrl:[(null==s?void 0:s.thumbnailUrl)||C],embedUrl:(null==s?void 0:s.embedUrl)||`${g}/embed/${i}`,contentUrl:(null==s?void 0:s.contentUrl)||`https://www.youtube.com/watch?v=${i}`,...(null==s?void 0:s.description)&&{description:s.description},...(null==s?void 0:s.uploadDate)&&{uploadDate:s.uploadDate},...(null==s?void 0:s.duration)&&{duration:s.duration}}))}}),B&&!e.playlist&&(0,n.jsx)("noscript",{children:(0,n.jsxs)("a",{href:`https://www.youtube.com/watch?v=${e.id}`,"aria-label":`Watch ${m} on YouTube`,children:['Watch "',m,'" on YouTube']})}),(0,n.jsxs)($,{onPointerOver:()=>{a||o(!0)},onClick:()=>{d||c(!0)},className:`${z} ${d?S:""}`,"data-title":m,role:d?void 0:"img","aria-label":d?void 0:`${m} - YouTube video preview`,style:{...!e.lazyLoad&&{backgroundImage:`url(${C})`},"--aspect-ratio":`${L/T*100}%`,...e.style||{}},children:[e.lazyLoad&&!d&&(0,n.jsx)("img",{src:C,alt:`${m} - YouTube thumbnail`,className:"lty-thumbnail",loading:"lazy"}),(0,n.jsx)("button",{type:"button",className:I,"aria-label":`${x} ${m}`,"aria-hidden":d||void 0,tabIndex:d?-1:0,children:(0,n.jsx)("span",{className:"lty-visually-hidden",children:x})}),d&&(0,n.jsx)("iframe",{ref:t,className:P,title:m,width:"560",height:"315",style:{border:0},allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:b,referrerPolicy:e.referrerPolicy||"strict-origin-when-cross-origin"})]})]})})}},function(e){e.O(0,[5854,8454,874,782,1177,4389,7813,2313,8932,7560,6962,7874,9144,5105,2900,3243,2888,9774,179],function(){return e(e.s=34538)}),_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.