PageSourceSearch

https://www.sunseekerspain.es/_next/static/chunks/pages/luxury-yachts-for-sale/[...all]-39d195ea2473080d.js

js sunseekerspain.es collected 2026-10-07 08:19:58 UTC 5,900 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9588],{26620:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/luxury-yachts-for-sale/[...all]",function(){return a(27915)}])},27915:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>f,default:()=>b});var l=a(37876),n=a(14232),i=a(18248),r=a(13848),o=a(88935),s=a(66972),u=a(28118),d=a(21430),c=a(24943),m=a(70326),h=a(89099),g=a(90927),p=a(39955);let v=[{name:"gallery",id:"gallery"},{name:"about",id:"about"},{name:"layouts",id:"layouts"},{name:"specs",id:"specs"},{name:"enquiry",id:"enquiry"},{name:"brokerage",id:"brokerage"}];var f=!0;function b(e){var t,a,f;let{headerData:b,brokerageContent:y,contactEnquiries:w,offices:_,allOffices:x,currency:k,locale:C,footerData:D,contactSiteForm:T,siteConfig:I,yachtModels:P}=e,{t:L}=u.Bd("common"),N=(0,h.useRouter)(),[E]=N.asPath.replace("/luxury-yachts-for-sale/","").split("/"),F=v.map(e=>({name:L(e.name),id:L(e.name)})),[S,j]=(0,n.useState)(!0),[U,A]=(0,n.useState)(""),[V,B]=(0,n.useState)(null),[M,W]=(0,n.useState)(!0),O=e=>{var t,a,l,n,i,r,o,s,u,d,c,m,h,g,p,v,f,b,y,w,_,x,k,C;if((null==I?void 0:I.brokerageFeed)==="usa_brokerage"){let t=e.Files.sort((e,t)=>parseInt(e.SortOrder)-parseInt(t.SortOrder)),a=null==(c=t[0])?void 0:c.Url;t.splice(0,1);let l="";e.Textblocks.forEach(e=>{var t;l=l+"<h1><strong>"+(null!=(t=e.Heading)?t:"")+"</strong></h1>"+e.Details});let n=null==(m=e.Tenant)?void 0:m.Emails.filter(e=>"Default"===e.ContactTypeName)[0],i=null==(h=e.Tenant)?void 0:h.Phones.filter(e=>"Default"===e.ContactTypeName)[0],r=null==(g=e.Tenant)?void 0:g.Addresses.filter(e=>"Default"===e.ContactTypeName)[0];return{id:e.Id,name:e.Title,images:{main:a,other:t.map(e=>({url:e.Url,label:""}))},price:{default:"usd",usd:e.AdvertisedPriceIsPublic&&e.AdvertisedPrice?e.AdvertisedPrice:0},descriptions:[{section:"Description",text:{en:e.Description,"en-US":e.Description}},{section:"Additional",text:{en:l,"en-US":l}}],length_overall:Math.round(.0833333*e.LengthInInches*10)/10,beam:Math.round(.0833333*e.BeamInInches*10)/10,draft:Math.round(.0833333*e.DraftInInches*10)/10,weight:e.WeightInLbs,fuel_capacity:e.FuelCapacityInGallons,unit_length:"ft",unit_weight:"lbs",unit_capacity:"gallons",broker:e.Tenant?{name:null!=(p=e.Tenant.Name)?p:"",primaryImageUrl:null!=(v=e.Tenant.HeadshotUrl)?v:"/images/missingBrokerImage.png",phoneNumber:null!=(f=null==i?void 0:i.PhoneNumber)?f:"",emailAddress:null!=(b=null==n?void 0:n.EmailAddress)?b:"",fullAddress:r?[null!=(y=r.AddressLine1)&&y,null!=(w=r.AddressLine2)&&w,null!=(_=r.City)&&_,null!=(x=r.ProvinceName)&&x,null!=(k=r.PostalCode)&&k,!!r.CountryName&&"United States"!==r.CountryName&&r.CountryName].filter(Boolean).join(", "):"",description:null!=(C=e.Tenant.Description)?C:""}:null}}let D=e.Currency.toLowerCase(),T={};T.default=D,T[D]=e.Price;let P=Array.from([,,,,].keys()).map(t=>{let a={section:"",text:{}};return Object.keys(e.Descriptions).forEach(l=>{a.section=e.Descriptions[l][t].title,a.text[l.toLowerCase()]=e.Descriptions[l][t].text}),a.text["en-US"]=a.text.en,a});return{id:e.BoatID,name:e.BoatName,images:{main:e.MainPhotoLgURL,other:e.Pictures.map(e=>({url:e.URL,label:e.Caption})),layout:e.Layouts.map(e=>({url:e.url,label:e.label}))},video:e.Videos&&e.Videos.length>0&&e.Videos[0].url?e.Videos[0]:null,vt360:e.Matterports&&e.Matterports.length>0&&e.Matterports[0].url?e.Matterports[0]:null,price:T,descriptions:P,tax:!!e.PriceFormatted.includes("Tax Paid"),length_overall:null==(t=e.Length)?void 0:t.Value,beam:null==(a=e.Beam)?void 0:a.Value,draft:null==(l=e.Draft)?void 0:l.Value,weight:null==(n=e.Weight)?void 0:n.Value,fuel_capacity:null==(i=e.Fuel)?void 0:i.Value,water_capacity:null==(r=e.Water)?void 0:r.Value,black_water_capacity:null==(o=e.BlackWater)?void 0:o.Value,unit_length:null==(s=e.Length)?void 0:s.Unit,unit_weight:null==(u=e.Weight)?void 0:u.Unit,unit_capacity:null==(d=e.Water)?void 0:d.Unit}},H=async()=>{if(W(!0),(null==I?void 0:I.brokerageFeed)==="usa_brokerage"){try{let{data:e}=await d.EA.get("?id=".concat(E));await B(O(e))}catch(e){await B(null)}finally{W(!1)}return}try{let{data:e}=await d.zc.get("?id=".concat(E));await B(O(e.Result))}catch(e){await B(null)}finally{W(!1)}};(0,n.useEffect)(()=>{H()},[]);let R=e=>{var t;let a=null==(t=document)?void 0:t.getElementById("".concat(null==e?void 0:e.toLowerCase(),"-scrollable-section"));null==a||a.scrollIntoView({behavior:"smooth",inline:"end",block:"end"})},q=e=>{A(e)}
1,z=[{id:1,type:"img-brokerage",src:null==V||null==(t=V.images)?void 0:t.main}];return M||V||N.isFallback?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.W,{meta:null==y?void 0:y.meta,siteConfig:I}),(0,l.jsx)(o.Y,{hasTabs:!0,tabs:F,disappearHeroTabs:e=>{j(!e)},showDropDownPos:U,hassectionsToScroll:!0,headerData:b}),(0,l.jsx)(()=>{let[e,t]=(0,n.useState)(0),a=()=>{t(window.pageYOffset)};return((0,n.useEffect)(()=>(window.addEventListener("scroll",a,{passive:!0}),()=>{window.removeEventListener("scroll",a)}),[]),M&&!V||N.isFallback)?(0,l.jsx)(m.L,{}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.a,{position:"fixed",w:"100%",zIndex:e<1300?2:1,children:(0,l.jsx)(s.m,{sliderItems:z,header:null==V?void 0:V.name.replace("*",""),position:"middleCenter",height:"75vh",textWidth:"100%",mobileHeight:"75vh"})}),(0,l.jsx)(i.g,{tabs:F,tabPos:q,showTabs:S,translation:L,data:V,content:y,contactEnquiries:w,offices:_,allOffices:x,currency:null==k?void 0:k.toLowerCase(),language:C,onTabChange:R,contactForm:T,yachtModels:P,headerData:b,showFinancials:(null==I?void 0:I.brokerageFeed)!=="usa_brokerage",brokerageFeed:null==I?void 0:I.brokerageFeed})]})},{}),(0,l.jsx)(r.w,{footerData:D})]}):(0,l.jsx)(g.default,{pageContent:{content:{hero:[{image:null==y||null==(f=y.content)||null==(a=f.cta)?void 0:a.image}]}},headerData:b,footerData:D,siteConfig:I})}}},e=>{var t=t=>e(e.s=t);e.O(0,[6428,3333,3241,8947,8532,8945,985,7588,9232,9683,6201,636,6593,8792],()=>t(26620)),_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.