1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6216],{98021:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fc/cruises/cruise-from/[source]",function(){return t(9727)}])},9727:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return U}});var n=t(47842),o=t(70865),r=t(96670),a=t(50930),l=t(52322),d=t(2784),s=t(86718),u=t(5842),c=t(43551),v=t(69016),p=t(48048),g=t(63798),h=t(32322),m=t(42654),f=t(14938),y=t(68439),x=t(49345),b=t(51115),j=t(32433),Z=t(35530),k=t(26572),w=t(51475),O=t(73625),S=t(79164),P=t(4298),C=t(66713),I=t(86425),L=t(17338),T=t(74863),_=t(50184),M=t(51865),D=t(41110),F=t(10462),z=t(83283),R=t(89530),A=t(45485),V=t(39103),q=t(25792),E=(0,h.z)(s.Z,{shouldForwardProp:function(e){return"hasImages"!==e}})((function(e){var i,t=e.theme,a=e.hasImages;return(0,r.Z)((0,o.Z)((i={width:"100%",height:"auto",display:"flex",flexDirection:"column",rowGap:"48px"},(0,n.Z)(i,t.breakpoints.up("lg"),{flexDirection:"row"}),(0,n.Z)(i,"justifyContent",a?"space-between":"center"),(0,n.Z)(i,"alignItems","flex-start"),i),a&&{columnGap:t.spacing(4)}),{h2:(0,r.Z)((0,o.Z)({},t.typography.headingLg),{marginBottom:t.spacing(4)}),p:(0,o.Z)({},t.typography.bodyMd)})})),X=(0,h.z)(s.Z,{shouldForwardProp:function(e){return"hasImages"!==e}})((function(e){var i,t=e.theme;return e.hasImages?(i={width:"100%"},(0,n.Z)(i,t.breakpoints.up("lg"),{width:"50%"}),(0,n.Z)(i,"height","auto"),i):{width:"100%",height:"auto"}})),B=(0,h.z)(u.Z)((function(e){var i=e.theme;return(0,n.Z)({},i.breakpoints.up("md"),(0,o.Z)({},i.typography.headingLg))})),U=((0,h.z)(s.Z,{shouldForwardProp:function(e){return"expanded"!==e}})((function(e){var i=e.expanded;return(0,o.Z)({},!i&&{maxHeight:"400px",overflow:"hidden"})})),!0);i.default=function(e){var i,t,n,u,h,U,N,W,H,G,J,K,Y,$,Q,ee,ie,te,ne,oe,re,ae,le,de,se,ue,ce,ve,pe,ge,he,me,fe,ye,xe,be,je,Ze,ke,we,Oe,Se,Pe,Ce,Ie,Le,Te,_e,Me=e.config,De=e.locale,Fe=e.relativePath,ze=e.pageContent,Re=e.bannersData,Ae=e.header,Ve=e.footer,qe=e.hideCruiseManualTiles,Ee=e.isCa,Xe=e.urlParams,Be=e.elasticSearchIndex,Ue=ze.source,Ne=ze.cruiseDepartingFromContent,We=ze.productContext,He=ze.cruiseFeedSeeMoreLink,Ge=(null===Ne||void 0===Ne||null===(i=Ne.properties)||void 0===i||null===(t=i.traveltek_destination)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.name)||(null===Ue||void 0===Ue?void 0:Ue.name)||null,Je=(null===Ne||void 0===Ne||null===(u=Ne.properties)||void 0===u||null===(h=u.traveltek_destination)||void 0===h||null===(U=h.value)||void 0===U||null===(N=U.type)||void 0===N?void 0:N.toUpperCase())||"PORT",Ke=Me.data,Ye=Ke.brandDetails,$e=Ye.brand,Qe=Ye.region,ei=Ke.cruiseBooking,ii=(ei.url,ei.searchServiceUrl),ti=Ke.googleMaps,ni=Ke.components.cruiseManualCarousel,oi=m.Z.breakpoints.values.md,ri=(0,c.Z)(m.Z.breakpoints.up(oi),{noSsr:!0}),ai=(0,d.useState)("wideStacked"),li=ai[0],di=ai[1],si=null!==(Se=null===Ne||void 0===Ne||null===(W=Ne.properties)||void 0===W||null===(H=W.infoDescription)||void 0===H?void 0:H.value)&&void 0!==Se?Se:"",ui=null===(G=Ne.properties)||void 0===G||null===(J=G.title)||void 0===J?void 0:J.value,ci=[{name:"Cruises",href:"/cruises"},{name:"Cruise From",href:"/cruises/cruise-from"}].concat((0,a.Z)(ui?[{name:ui,href:""}]:[]));return(0,d.useEffect)((function(){di(ri?"wideStacked":"stacked")}),[ri]),(0,l.jsxs)("main",{children:[(0,l.jsx)(_.ZP,{metaData:null===Ne||void 0===Ne||null===(K=Ne.properties)||void 0===K||null===(Y=K.metatags)||void 0===Y?void 0:Y.value,titleOverride:null===Ne||void 0===Ne||null===($=Ne.properties)||void 0===$||null===(Q=$.pageTitle)||void 0===Q?void 0:Q.value}),(0,l.jsx)(f.ZP,(0,o.Z)({},Ae)),(0,l.jsx)(R.U9,{children:(0,l.jsx)(v.O,{links:ci})}),(0,l.jsx)(D.i,{children:(0,l.jsx)(w.r,(0,r.Z)((0,o.Z)({},(null===ze||void 0===ze||null===(ee=ze.bannerImage)||void 0===ee?void 0:ee.src)?{image:ze.bannerImage}:{}),{staticMap:(0,o.Z)({apiKey:ti.mapKey,location:Ue.name},(null===Ue||void 0===Ue||null===(ie=Ue.full)||void 0===ie?void 0:ie.province_name)&&{province:null===Ue||void 0===Ue||null===(te=Ue.full)||void 0===te?void 0:te.province_name},(null===Ue||void 0===Ue?void 0:Ue.country)&&{region:null===Ue||void 0===Ue?void 0:Ue.country}),cta:(0,l.jsx)(F.Z,{children:(0,l.jsx)(I.Z,{brand:$e,country:Qe,onSubmit:function(e){var i,t,n,o;(0,M.ws)({cruiseFrom:null===e||void 0===e||null===(i=e.departures)||void 0===i?void 0:i.value,cruiseTo:null===e||void 0===e||null===(t=e.destinations)||void 0===t?void 0:t.value,departDate:null===e||void 0===e?void 0:e.dateFrom,duration:null===e||void 0===e?void 0:e.duration,cruiseLine:null===e||void 0===e||null===(n=e.cruiselines)||void 0===n?void 0:n.value,cruiseShip:null===e||void 0===e||null===(o=e.ships)||void 0===o?void 0:o.value})},departures:{value:Ge,displayValue:Ge,type:Je},variant:li,searchServiceUrl:ii})}),header:{prefix:(0,l.jsx)(R.uJ,{children:(0,l.jsx)(v.O,{links:ci})}),text:"Cruise from ".concat(ui)}}))}),(0,l.jsx)(O.m,{contextualProps:(0,r.Z)((0,o.Z)({},We),{events:{tileInteraction:function(e){return(0,M.ub)((0,r.Z)((0,o.Z)({},e),{title:e.name,page:ze.pageType,type:e.isFeedProduct?"cruiseOhBuoy":"cruiseWaveHello"}))}}}),children:(0,l.jsxs)(p.W,{children:[(0,l.jsx)(D.i,{children:(0,l.jsxs)(E,{"data-testid":"DestinationOverviewWrapper",children:[(0,l.jsxs)(X,{pr:(null===Ne||void 0===Ne||null===(ne=Ne.properties)||void 0===ne||null===(oe=ne.infoImages)||void 0===oe?void 0:oe.value.length)?12:0,alignSelf:"stretch",hasImages:null===Ne||void 0===Ne||null===(re=Ne.properties)||void 0===re||null===(ae=re.infoImages)||void 0===ae?void 0:ae.value.length,"data-testid":"DestinationOverview",children:[(0,l.jsx)(B,{variant:"headingMd",component:"h2",children:null===Ne||void 0===Ne||null===(le=Ne.properties)||void 0===le||null===(de=le.infoTitle)||void 0===de?void 0:de.value}),si&&(0,l.jsx)(q.Z,{text:si,maxLength:500})]}),(null===Ne||void 0===Ne||null===(se=Ne.properties)||void 0===se||null===(ue=se.infoImages)||void 0===ue?void 0:ue.value.length)>0&&(0,l.jsx)(X,{hasImages:null===Ne||void 0===Ne||null===(ce=Ne.properties)||void 0===ce||null===(ve=ce.infoImages)||void 0===ve?void 0:ve.value.length,"data-testid":"DestinationOverviewImageCarousel",children:(0,l.jsx)(g.l,{transition:"slide",autoplay:!0,loop:!0,children:null===Ne||void 0===Ne||null===(pe=Ne.properties)||void 0===pe||null===(ge=pe.infoImages)||void 0===ge?void 0:ge.value.map((function(e,i){var t,n,r,a,d,u,c,v,p,g,h,m,f={src:e.url,alt:e.alt,gravity:"xy_center,x_".concat(null!==(h=null===(a=null===Ne||void 0===Ne||null===(t=Ne.properties)||void 0===t||null===(n=t.source)||void 0===n||null===(r=n.value)||void 0===r?void 0:r.annotation_destination_image_five_three[0].data[0])||void 0===a?void 0:a.focal_point.x)&&void 0!==h?h:null===(d=Ue.images[0])||void 0===d?void 0:d.focal_point_x,",y_").concat(null!==(m=null===(p=null===Ne||void 0===Ne||null===(u=Ne.properties)||void 0===u||null===(c=u.source)||void 0===c||null===(v=c.value)||void 0===v?void 0:v.annotation_destination_image_five_three[0].data[0])||void 0===p?void 0:p.focal_point.y)&&void 0!==m?m:null===(g=Ue.images[0])||void 0===g?void 0:g.focal_point_y)};return(0,l.jsx)(s.Z,{width:"100%",height:"400px",children:(0,l.jsx)(b.Z,{alt:f.alt,imgStyle:{objectFit:"cover",objectPosition:"center",width:"100%",height:"100%",borderRadius:"12px"},contentLg:{src:f.src,width:"840",height:"625",quality:"80",advancedTransforms:(0,o.Z)({crop:"fill"},f.gravity&&{gravity:f.gravity})},contentMd:{src:f.src,width:"904",height:"625",quality:"80",advancedTransforms:(0,o.Z)({crop:"fill"},f.gravity&&{gravity:f.gravity})},contentSm:{src:f.src,width:"600",height:"400",quality:"80",advancedTransforms:(0,o.Z)({crop:"fill"},f.gravity&&{gravity:f.gravity})}})},i)}))})})]})}),!Ee&&!qe&&(0,l.jsx)(D.i,{children:(0,l.jsx)(S.Z,{locale:De,config:{displayType:"carousel",layout:{seeMoreText:null!==(Pe=null===ni||void 0===ni?void 0:ni.seeAllText)&&void 0!==Pe?Pe:"See all",seeMoreLink:null!==(Ce=null===ni||void 0===ni?void 0:ni.seeAllLink)&&void 0!==Ce?Ce:"".concat(Fe,"/deals/cruises-on-sale"),dataTestId:"CruiseManualTiles"},queryOverride:JSON.stringify(null!==(Le=(0,V.B)({locale:De,departureSlug:Ue.slug}))&&void 0!==Le?Le:(0,P.p)({locale:De,departing:null!==(Ie=Ue.name)&&void 0!==Ie?Ie:null===(he=Ne.properties)||void 0===he||null===(me=he.title)||void 0===me?void 0:me.value}))},title:"Wave hello to our handpicked cruise deals and packages",subtitle:"There are so many reasons to love cruising. Let's add irresistible savings and bonus value to the list!",lazyLoad:!0,environment:Be})}),Ee&&(0,l.jsx)(D.i,{children:(0,l.jsx)(z.W,(0,r.Z)((0,o.Z)({deals:null===Re||void 0===Re?void 0:Re.tileImages,onInteraction:function(e,i){var t=i.url,n=i.title,o=i.image,r=i.id;(0,M.ub)({brandRegion:Me.data.brandDetails.code,page:"cruisesFrom",type:"deals",title:n,url:t,image:o,id:r})}},null===Me||void 0===Me||null===(fe=Me.data)||void 0===fe||null===(ye=fe.components)||void 0===ye?void 0:ye.cruisesCampaignCarousel),{title:"Anchor down our most popular cruise deals"}))}),(0,l.jsx)(D.i,{children:(0,l.jsx)(S.Z,{locale:De,config:{displayType:"carousel",layout:{seeMoreText:"See all",seeMoreLink:"".concat(He).
1concat(Xe.length?"&":"").concat(Xe),displayXs:1,displaySm:1,displayMd:2,displayLg:3,displayXl:4,dataTestId:"CruiseFeedTiles"},queryOverride:JSON.stringify(null!==(_e=(0,A.C)({locale:De,departureSlug:Ue.slug}))&&void 0!==_e?_e:(0,C.p)({locale:De,departing:null!==(Te=null===Ue||void 0===Ue?void 0:Ue.name)&&void 0!==Te?Te:null===(xe=Ne.properties)||void 0===xe||null===(be=xe.title)||void 0===be?void 0:be.value}))},title:"Oh buoy, these deals are good",subtitle:"From stylish decor to unforgettable experiences - we have deals that are sure to make a splash!",lazyLoad:!0,environment:Be})}),!Ee&&(0,l.jsx)(D.i,{children:(0,l.jsx)(z.W,(0,r.Z)((0,o.Z)({deals:null===Re||void 0===Re?void 0:Re.tileImages,onInteraction:function(e,i){var t=i.url,n=i.title,o=i.image,r=i.id;(0,M.ub)({brandRegion:Me.data.brandDetails.code,page:"cruisesFrom",type:"deals",title:n,url:t,image:o,id:r})}},null===Me||void 0===Me||null===(je=Me.data)||void 0===je||null===(Ze=je.components)||void 0===Ze?void 0:Ze.cruisesCampaignCarousel),{title:"Anchor down our most popular cruise deals"}))}),(null===(ke=ze.topCruiseDestinationsCrosslinkList)||void 0===ke?void 0:ke.length)?(0,l.jsx)(D.i,{children:(0,l.jsx)(L.YX,{title:"Destinations that are making a splash",intro:"Set sail for one of these top destinations on your next cruise!",items:ze.topCruiseDestinationsCrosslinkList,displayXl:7,displayLg:5,displayMd:4,displaySm:2,displayXs:1,titleVariant:"subheadingSm"})}):null,(0,l.jsx)(D.i,{"data-testid":"CruiseWindowSeat",children:(0,l.jsx)(j.Z,(0,r.Z)((0,o.Z)({title:"Sail into a sea of cruise inspiration",subtitle:"",categories:["Cruise"],linkDomain:Fe},(0,T.p)(Me,"content")),{hiddenFilters:!0,onSeeMoreLink:function(){return(0,Z.e)({baseUrl:Fe,queryText:Ue.name,categoryTags:["Cruise"]})},onInteraction:function(e,i){var t=i.url,n=i.title;(0,M.ub)({brandRegion:Me.data.brandDetails.code,name:n,page:"cruisesFrom",type:"blogs",url:t})}}))}),(0,l.jsx)(D.i,{children:(0,l.jsx)(k.Z,{title:null===(we=ze.faqs)||void 0===we?void 0:we.title,accordionData:null===(Oe=ze.faqs)||void 0===Oe?void 0:Oe.list})}),ze.cruisesLinkFarm&&(0,l.jsx)(D.i,{children:(0,l.jsx)(x.Z,(0,o.Z)({},ze.cruisesLinkFarm))})]})}),(0,l.jsx)(y.Z,(0,o.Z)({},Ve))]})}},26572:function(e,i,t){"use strict";var n=t(52322),o=t(2784),r=t(48685),a=t(86718),l=t(5842),d=t(82001),s=t(56970),u=t(16552),c=t(32322),v=t(51115),p=t(30098),g=t(94749);function h(e,i){(null==i||i>e.length)&&(i=e.length);for(var t=0,n=new Array(i);t<i;t++)n[t]=e[t];return n}function m(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function f(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(i){m(e,i,t[i])}))}return e}function y(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,r=[],a=!0,l=!1;try{for(t=t.call(e);!(a=(n=t.next()).done)&&(r.push(n.value),!i||r.length!==i);a=!0);}catch(d){l=!0,o=d}finally{try{a||null==t.return||t.return()}finally{if(l)throw o}}return r}}(e,i)||function(e,i){if(!e)return;if("string"===typeof e)return h(e,i);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return h(e,i)}(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var x=function(e,i){for(var t=[],n=e;n<=i;n+=1)t.push(n);return t},b=(0,c.z)(r.ZP)((function(e){var i=e.theme;return m({marginTop:i.spacing(4)},i.breakpoints.down("sm"),{padding:i.spacing(3)})})),j=(0,c.z)(a.Z)((function(e){return{"& a":{color:e.theme.token.color.neutral.text[" "].value}}})),Z=(0,c.z)(r.ZP)((function(e){return{paddingBottom:e.theme.spacing(3)}})),k=(0,c.z)(r.ZP)((function(e){return m({cursor:"pointer","&:nth-of-type(4)":{display:"none"}},e.theme.breakpoints.down("lg"),{"&:nth-of-type(3)":{display:"none"}})}
1)),w=(0,c.z)(l.Z)((function(e){var i,t=e.theme;return m(i={},t.breakpoints.up("md"),f({},t.typography.headingLg)),m(i,t.breakpoints.down("md"),f({},t.typography.headingMd)),i}));i.Z=function(e){var i,t,l,c=e.accordionData,h=void 0===c?[]:c,m=e.title,O=e.defaultExpanded,S=void 0!==O&&O,P=e.testId,C=void 0===P?"AccordionTabsContainer":P,I=h.filter((function(e,i){return i%2===0})),L=h.filter((function(e,i){return i%2!==0})),T=x(0,h.length/2-1),_=x(h.length/2,h.length-1),M=y((0,o.useState)(void 0),2),D=M[0],F=M[1],z=(0,g.Z)(),R=function(e,i,t){return{contentSm:{src:e,width:"auto",height:"315",quality:"auto",advancedTransforms:{crop:"fill",gravity:"auto"}},alt:i||"",imgStyle:{width:"100%",height:t.spacing(26.25),objectFit:"cover",borderRadius:t.token.radius.md.value},imgProps:{"data-testid":"image"},lazy:!0}};return(null===h||void 0===h?void 0:h.length)?(0,n.jsxs)(a.Z,{"data-testid":C,children:[m&&(0,n.jsx)(w,{component:"h2",children:m}),(0,n.jsxs)(b,{container:!0,columnSpacing:6,children:[(0,n.jsx)(r.ZP,{item:!0,xs:12,sm:12,md:6,lg:6,children:I.map((function(e,i){return(0,n.jsx)(a.Z,{children:e.content.length>0&&(0,n.jsxs)(s.U,{title:e.title,defaultExpanded:S,children:[(null===e||void 0===e?void 0:e.images)&&(0,n.jsx)(Z,{container:!0,spacing:2,children:e.images.map((function(e,t){return(0,n.jsx)(k,{onClick:function(){F({source:"left",pannelIndex:i,sliderStartIndex:t})},item:!0,xs:6,md:6,lg:4,children:(0,n.jsx)(v.Z,f({},R(e.url,e.alt||"",z)))},t)}))}),(0,n.jsx)(j,{children:(0,n.jsx)(p.Z,{content:e.content})})]},T[i])},i)}))}),(0,n.jsx)(r.ZP,{item:!0,xs:12,sm:12,md:6,lg:6,children:L.map((function(e,i){return(0,n.jsx)(a.Z,{children:e.content.length>0&&(0,n.jsxs)(s.U,{title:e.title,defaultExpanded:S,children:[(null===e||void 0===e?void 0:e.images)&&(0,n.jsx)(Z,{container:!0,spacing:2,children:e.images.map((function(e,t){return(0,n.jsx)(k,{onClick:function(){F({source:"right",pannelIndex:i,sliderStartIndex:t})},item:!0,xs:6,md:6,lg:4,children:(0,n.jsx)(v.Z,f({},R(e.url,e.alt||"",z)))},t)}))}),(0,n.jsx)(j,{children:(0,n.jsx)(p.Z,{content:e.content})})]},_[i])},i)}))})]}),(0,n.jsx)(u.L,{open:!!(null===D||void 0===D?void 0:D.source),startIndex:null===D||void 0===D?void 0:D.sliderStartIndex,onClose:function(){F(void 0)},children:void 0!==D&&(null===(i="left"===(null===D||void 0===D?void 0:D.source)?null===(t=I[D.pannelIndex||0])||void 0===t?void 0:t.images:null===(l=L[D.pannelIndex||0])||void 0===l?void 0:l.images)||void 0===i?void 0:i.map((function(e,i){return(0,n.jsx)(d.Z,{children:(0,n.jsx)(v.Z,f({},(t=e.url,o=e.alt||"",{contentSm:{src:t,width:"800",quality:"auto",advancedTransforms:{crop:"fill",gravity:"auto"}},alt:o||"",imgStyle:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"},lazy:!0})))},i);var t,o})))})]}):null}},17338:function(e,i,t){"use strict";t.d(i,{G9:function(){return R},YX:function(){return I},Bh:function(){return v}});var n=t(52322),o=(t(2784),t(86718)),r=t(48685),a=t(5842),l=t(20711),d=t(94749),s=t(32322),u=t
1(61356),c=(0,s.z)(o.Z)((function(e){var i=e.theme,t=e.image;return{backgroundImage:"url(".concat(t,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"50% 50%",borderRadius:"".concat(i.shape.borderRadius,"px"),height:i.spacing(25),position:"relative"}})),v=function(e){var i,t=e.image,s=void 0===t?"":t,v=e.title,p=void 0===v?"":v,g=e.subtitle,h=void 0===g?"":g,m=e.link,f=void 0===m?"":m,y=e.target,x=void 0===y?"_self":y,b=(0,d.Z)(),j=(i=s)?(0,u.U)({advancedTransforms:{crop:"fill",gravity:"auto"},src:i,width:"500",quality:"80",format:function(){var e,t=null===(e=i.split(".").pop())||void 0===e?void 0:e.toLowerCase();return t&&["jpg","png","gif","svg"].includes(t)?t:"jpeg"}()}):"",Z=(0,n.jsx)(o.Z,{children:(0,n.jsxs)(r.ZP,{sx:{"&>.MuiGrid-item":{paddingRight:b.spacing(2),paddingBottom:b.spacing(2)}},display:"flex",alignItems:"center",item:!0,container:!0,spacing:2,xs:12,children:[(0,n.jsx)(r.ZP,{item:!0,xs:5,children:s&&(0,n.jsx)(c,{image:j||"","data-testid":"backgroundImage"})}),(0,n.jsxs)(r.ZP,{xs:7,item:!0,children:[p&&(0,n.jsx)(a.Z,{component:"h3",variant:"bodyMd",sx:{lineHeight:b.spacing(7)},children:p}),h&&(0,n.jsx)(a.Z,{component:"p",variant:"bodySm",sx:{color:b.token.color.text.weak[" "].value},children:h})]})]})});return(0,n.jsx)(n.Fragment,{children:f?(0,n.jsx)(l.Z,{href:f,target:x,underline:"none","data-testid":"crosslinking-link",children:Z}):(0,n.jsx)(n.Fragment,{children:Z})})},p=t(43551),g=t(75171),h=t(73199),m=t(82001),f=t(38978),y=t(35690),x=t(14103);function b(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function j(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(i){b(e,i,t[i])}))}return e}function Z(e,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):function(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),t.push.apply(t,n)}return t}(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})),e}var k=(0,s.z)(m.Z)((function(e){var i=e.theme;return b({minHeight:i.spacing(40)},i.breakpoints.up("md"),{minHeight:i.spacing(53)})})),w=(0,s.z)(f.Z)((function(){return{"&:hover":{".MuiCardActionArea-focusHighlight":{opacity:0}
1}}})),O=(0,s.z)(y.Z)((function(){return{padding:0,"&:last-child":{paddingBottom:0}}})),S=(0,s.z)(x.Z)((function(e){return{borderRadius:e.theme.shape.borderRadius}})),P=function(e){var i,t,o=e.title,r=void 0===o?"":o,l=e.subtitle,s=void 0===l?"":l,c=e.image,v=void 0===c?"":c,p=e.imageAlt,g=void 0===p?"":p,h=e.link,f=void 0===h?"":h,y=e.tileVariant,x=void 0===y?"default":y,b=e.sx,P=void 0===b?{}:b,C=e.imageOptions,I=void 0===C?{}:C,L=e.titleVariant,T=void 0===L?"bodyMdStrong":L;if(!r&&!f)return null;var _=(0,d.Z)(),M="box"===x?k:m.Z,D=(0,n.jsxs)(n.Fragment,{children:[v&&(0,n.jsx)(S,{component:"img",image:(0,u.U)(Z(j({src:v,width:"500",quality:(null===I||void 0===I?void 0:I.quality)||"80",format:(null===I||void 0===I?void 0:I.format)||"jpg"},(null===I||void 0===I?void 0:I.width)&&{width:I.width},(null===I||void 0===I?void 0:I.height)&&{height:I.height}),{advancedTransforms:j({},(null===I||void 0===I?void 0:I.crop)&&{crop:I.crop},(null===I||void 0===I?void 0:I.aspectRatio)&&{aspectRatio:I.aspectRatio},(null===I||void 0===I?void 0:I.background)&&{background:I.background},(null===I||void 0===I||null===(i=I.focalPoint)||void 0===i?void 0:i.x)&&(null===I||void 0===I||null===(t=I.focalPoint)||void 0===t?void 0:t.y)&&{xCoordinate:I.focalPoint.x,yCoordinate:I.focalPoint.y})})),alt:g,"data-testid":"image",loading:"lazy"}),r&&(0,n.jsx)(a.Z,{variant:T,component:"div",sx:{paddingTop:3},"data-testid":"title",children:r}),s&&(0,n.jsx)(a.Z,{component:"div",sx:{color:_.token.color.neutral.text.weak[" "].value},"data-testid":"subtitle",children:s})]});return(0,n.jsx)(M,{square:!0,elevation:0,sx:P,children:f?(0,n.jsx)(w,{"data-testid":"cardActionContainer",disableRipple:!0,disableTouchRipple:!0,href:f,children:D}):(0,n.jsx)(O,{"data-testid":"cardContentContainer",children:D})})},C=(0,s.z)(a.Z)((function(){return{"& p":{margin:0}}})),I=function(e){var i,t=e.title,r=void 0===t?"":t,a=e.intro,l=void 0===a?"":a,s=e.items,u=void 0===s?[]:s,c=e.seeMoreText,v=void 0===c?"":c,m=e.seeMoreLink,f=void 0===m?"":m,y=e.showSeeMore,x=e.sx,b=void 0===x?{}:x,j=e.tileVariant,Z=void 0===j?"default":j,k=e.rows,w=void 0===k?1:k,O=e.displayXs,S=void 0===O?2:O,I=e.displaySm,L=void 0===I?2:I,T=e.displayMd,_=void 0===T?3:T,M=e.displayLg,D=void 0===M?4:M,F=e.displayXl,z=void 0===F?5:F,R=e.titleVariant,A=void 0===R?"bodyMdStrong":R;if(0===(null===u||void 0===u?void 0:u.length))return null;var V=(0,d.Z)(),q=(0,p.Z)(V.breakpoints.up("md")),E=l&&(0,h.ZP)(l),X=!!f;return(0,n.jsx)(g.g,{title:r,titleVariant:q?"headingLg":"headingMd",header:(0,n.jsx)(C,{component:"div",variant:q?"bodyLg":"bodySm",children:E}),seeMoreText:v,seeMoreLink:f,showSeeMore:null!==y&&void 0!==y?y:!q&&X,displayXs:S,displaySm:L,displayMd:_,displayLg:D,displayXl:z,sx:b,"data-testid":"CrossLinkingTileList",children:2===w?null===u||void 0===u||null===(i=u.reduce((function(e,i,t,n){return t%2===0&&e.push(n.slice(t,t+2)),e}),[]))||void 0===i?void 0:i.map((function(e,i){return(0,n.jsxs)(o.Z,{children:[e[0]&&(0,n.jsx)(P,{title:e[0].title,subtitle:e[0].subtitle,image:e[0].image,imageAlt:e[0].imageAlt,link:e[0].link,tileVariant:Z||e[0].tileVariant,titleVariant:A||e[0].titleVariant,imageOptions:e[0].imageOptions}),e[1]&&(0,n.jsx)(P,{title:e[1].title,subtitle:e[1].subtitle,image:e[1].image,imageAlt:e[1].imageAlt,link:e[1].link,imageOptions:e[1].imageOptions,tileVariant:Z||e[1].tileVariant,titleVariant:A||e[1].titleVariant,sx:{paddingTop:4}})]},i)})):null===u||void 0===u?void 0:u.map((function(e,i){return(0,n.jsx)(P,{title:e.title,subtitle:e.subtitle,image:e.image,imageAlt:e.imageAlt,link:e.link,tileVariant:Z||e.tileVariant,titleVariant:A||e.titleVariant,imageOptions:e.imageOptions},i)}))})},L=t(26148),T=t(51115);function _(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}var M=(0,s.z)(a.Z)((function(e){var i=e.theme;return _({marginBottom:i.token.spacing[2].value,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},i.breakpoints.up("lg"),function(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}
1)))),n.forEach((function(i){_(e,i,t[i])}))}return e}({},i.typography.subheadingMd))})),D=(0,s.z)(o.Z)((function(e){var i=e.theme;return _({borderTopLeftRadius:i.token.radius.base.value,borderBottomLeftRadius:i.token.radius.base.value,overflow:"hidden",height:i.spacing(38)},i.breakpoints.up("md"),{height:i.spacing(28.75),borderTopRightRadius:i.token.radius.base.value,borderBottomRightRadius:i.token.radius.base.value})})),F=function(e){var i=e.title,t=e.intro,o=void 0===t?"":t,a=e.image,l=void 0===a?"":a,d=e.imageAlt,s=void 0===d?"":d,u={src:null!==l&&void 0!==l?l:"",width:"500",quality:"80",advancedTransforms:{crop:"fill",gravity:"auto"},format:"jpg"},c={replace:function(e){return e.data?(0,n.jsx)(n.Fragment,{children:null===e||void 0===e?void 0:e.data}):e.children?(0,n.jsx)(n.Fragment,{children:(0,h.du)(e.children,c)}):null}},v=o?(0,h.ZP)(o,c):"";return(0,n.jsxs)(r.ZP,{"data-testid":"SingleCrossLinkingCard",container:!0,columnSpacing:2,children:[l&&(0,n.jsx)(r.ZP,{"data-testid":"SingleCrossLinkingCardImageGrid",item:!0,xs:4,md:5,children:(0,n.jsx)(D,{children:(0,n.jsx)(T.Z,{lazy:!0,contentSm:u,contentLg:u,contentMd:u,alt:s||"",imgStyle:{objectFit:"cover",width:"100%"}})})}),(0,n.jsxs)(r.ZP,{item:!0,xs:l?8:12,md:l?7:12,children:[(0,n.jsx)(M,{"data-testid":"SingleCrossLinkingCardTitle",component:"h3",variant:"subheadingSm",children:i}),v&&(0,n.jsx)(L.P,{variant:"bodySm",children:v})]})]})};function z(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function R(e){var i=e.items,t=void 0===i?[]:i,o=e.ariaLabel,r=void 0===o?"":o;return(null===t||void 0===t?void 0:t.length)?(0,n.jsx)(g.g,{"data-testid":"CrossLinkingCardList",ariaLabel:r,displayXl:3,displaySm:1,peek:12.5,children:t.map((function(e){return(0,n.jsx)(F,function(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{},n=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(i){z(e,i,t[i])}))}return e}({},e),e.title)}))}):null}}},function(e){e.O(0,[58,9095,8685,4475,4938,8439,3199,9937,1003,5171,612,561,7621,9178,5671,3148,5755,2214,9351,3981,3594,4487,4242,2227,1330,4268,9887,1836,7975,7757,7331,3956,9774,2888,179],(function(){return i=98021,e(e.s=i);var i}));var i=e.O();_N_E=i}]);
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.