1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3100,9642],{53435:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r,i=n(37612),o=n(67294),c=n(90139),a={timer:null,stop:function(){clearTimeout(this.timer)},scrollTo:function(t,e,n){var r,i,o={duration:1e3,easing:{outQuint:function(t,e,n,r,i){return r*((e=e/i-1)*e*e*e*e+1)+n}}},c=t.offsetTop-e,a=t.offsetHeight,s=document.body,l=document.documentElement,u=Math.max(s.scrollHeight,s.offsetHeight,l.clientHeight,l.scrollHeight,l.offsetHeight),p=window.innerHeight,d=window.pageYOffset,f=c-d,h=u-p,g=h<f?h-(u-c-a+d):f;function m(){var t,e=Date.now()-i;e>o.duration&&clearTimeout(this.timer),e/o.duration>1?(clearTimeout(this.timer),n&&n()):(t=o.easing.outQuint(0,e,d,g,o.duration),window.scrollTo(0,t),this.timer=setTimeout(m,1))}i=Date.now(),this.timer&&clearInterval(this.timer),this.timer=setTimeout(m,1)}},s=n(21153),l=n(11548),u=n(86552),p=n(85893),d=function(t){var e=t.tabs,n=t.goNext,r=t.goPrev,d=t.title,f=t.subtitle,h=t.detectActive,g=void 0===h||h,m=t.isBuilding,b=t.isArrowsShown,y=(0,o.useState)(0),v=y[0],w=y[1],O=(0,o.useState)(null),j=O[0],x=O[1],P=(0,o.useRef)(null),_=(0,l.G)().notebook,S=(0,o.useRef)(null);(0,o.useEffect)(function(){var t=document.querySelector("footer");t&&(S.current=(0,c.Z)(t).top)},[]);var C=(0,o.useCallback)(function(){for(var t=e.length-1;t>=0;t--){var n=e[t].ref;if(null===n.current)x(null);else if(window.pageYOffset>(0,c.Z)(n.current).top-200){x(t);var r,i=null===(r=e[e.length-1].ref.current)||void 0===r?void 0:r.parentElement;return i&&window.pageYOffset>(0,c.Z)(i).top+i.offsetHeight-200&&x(null),t}x(null)}},[e]);return(0,o.useEffect)(function(){var t=function(t){if(P.current){if(_)P.current.classList.remove("sticky");else{if(g&&(0,s.Z)(C(),100),v&&window.pageYOffset<v){P.current.classList.remove("sticky"),w(0);return}var e=document.querySelector("footer");e&&(S.current=(0,c.Z)(e).top,window.pageYOffset>S.current-100?P.current.classList.add("sticky-hide"):P.current.classList.remove("sticky-hide"));var n=(0,c.Z)(P.current).top-70;window.pageYOffset>=n&&(v||P.current.classList.contains("sticky")||w(n),P.current.classList.add("sticky"))}}};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t)}},[v,_,e]),(0,p.jsxs)(u.nR,{ref:P,$isBuilding:void 0!==m&&m,children:[(void 0===b||b)&&(0,p.jsxs)(u.FZ,{children:[(0,p.jsx)(i.Z,{direction:"back",onClick:r,big:"big"}),(0,p.jsx)(i.Z,{onClick:n,big:"big"})]}),(0,p.jsxs)(u.z1,{children:[(0,p.jsx)("div",{children:d}),f&&(0,p.jsx)(u.sy,{children:f})]}),(0,p.jsx)(u.Yt,{children:e.map(function(t,e){return(0,p.jsx)(u.iC,{isActive:e===j&&"active",onClick:function(){var e;a.scrollTo(null==t?void 0:null===(e=t.ref)||void 0===e?void 0:e.current,193)},children:t.title},t.title)})})]})}},36460:function(t,e,n){"use strict";var r=n(59499),i=n(4730),o=n(67294),c=n(85893),a=["children","style","className"];function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var u=(0,o.forwardRef)(function(t,e){var r=t.children,s=t.style,u=t.className,p=(0,i.Z)(t,a),d=(0,o.useRef)(null),f=(0,o.useState)(!1),h=f[0],g=f[1],m=(0,o.useState)(null),b=m[0],y=m[1];(0,o.useEffect)(function(){var t=d.current;if(t){if("undefined"==typeof IntersectionObserver){g(!0);return}var e=new IntersectionObserver(function(t){t.some(function(t){return t.isIntersecting})&&(g(!0),e.disconnect())},{rootMargin:"50px 0px",threshold:.01});return e.observe(t),function(){return e.disconnect()}}},[]),(0,o.useEffect)(function(){if(h&&!b){var t=!1;return Promise.all([n.e(2138),n.e(1955)]).then(n.bind(n,53983)).then(function(e){t||y(function(){return e.default})}).catch(function(){}),function(){t=!0}}},[h,b]);var v=o.Children.toArray(r);return(0,c.jsx)("div",{ref:d,className:u,style:l({width:"100%"},s),children:b?(0,c.jsx)(b,l(l({ref:e,style:s},p),{},{children:r})):(0,c.jsx)("div",{style:{display:"flex",flexWrap:"nowrap",overflow:"hidden",
1width:"100%",gap:"20px"},"aria-hidden":!1,children:v.slice(0,4)})})});u.displayName="LazySlider",e.Z=u},92861:function(t,e,n){"use strict";n.d(e,{Z:function(){return Z}});var r=n(59499),i=n(4730),o=n(67294),c=n(56310),a=n(41686),s=n(36864),l=n(76094),u=n(85893);function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var f=a.ZP.div.withConfig({displayName:"PlayButton__StyledWrapper",componentId:"sc-14e4gzr-0"})(["cursor:pointer;width:102px;height:102px;border-radius:50%;background:",";display:flex;justify-content:center;align-items:center;","{width:80px;height:80px;}","{width:60px;height:60px;}","{width:50px;height:50px;}"],l.$_.white,l.BC.tablet,l.BC.phablet,l.BC.mobileLarge),h=a.ZP.div.withConfig({displayName:"PlayButton__StyledTriangle",componentId:"sc-14e4gzr-1"})(["width:0;height:0;border-style:solid;border-width:10px 0 10px 20px;border-color:transparent transparent transparent ",";position:relative;left:4px;"],l.$_.black),g=function(t){var e=(0,s.Z)({},t);return(0,u.jsx)(f,d(d({},e),{},{children:(0,u.jsx)(h,{})}))},m=n(72321),b=n(25675),y=n.n(b),v=["poster","videoUrl","link","className"];function w(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var j,x=a.ZP.section.withConfig({displayName:"VideoBlock__StyledWrapper",componentId:"sc-1wtbg3l-0"})(["position:relative;margin-top:100px;margin-bottom:100px;","{margin-top:60px;margin-bottom:60px;}"],l.BC.notebook),P=(0,a.iv)(["transition:"," opacity;z-index:2;",""],l.dW.base,function(t){return t.isPlaying&&(0,a.iv)(["opacity:0;pointer-events:none;"])}),_=(0,a.ZP)(g).withConfig({displayName:"VideoBlock__StyledPlay",componentId:"sc-1wtbg3l-1"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);",""],P),S=a.ZP.div.withConfig({displayName:"VideoBlock__ImageWrapper",componentId:"sc-1wtbg3l-2"})(["& > div{","}"],P),C=(0,a.ZP)(c.Z).withConfig({displayName:"VideoBlock__StyledVideo",componentId:"sc-1wtbg3l-3"})(["display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;"]),k=a.ZP.div.withConfig({displayName:"VideoBlock__AspectBlock",componentId:"sc-1wtbg3l-4"})([""," ","{","}","{","}"],(0,m.Dm)(1920,800),l.BC.ultraWide,(0,m.Dm)(1440,756),l.BC.tablet,(0,m.Dm)(375,242)),Z=function(t){var e=t.poster,n=(t.videoUrl,t.link),r=t.className,c=(0,i.Z)(t,v),a=(0,o.useState)(!1),s=a[0],l=a[1];return(0,u.jsxs)(x,O(O({className:r},c),{},{children:[(0,u.jsx)(k,{}),(0,u.jsx)(C,{poster:e,url:n,width:"100%",height:"100%",controls:!0,playing:s,onPlay:function(t){l(!0)},onEnded:function(t){l(!1)}}),e&&(0,u.jsx)(S,{isPlaying:s&&"playing",children:(0,u.jsx)(y(),{src:e,layout:"fill",objectFit:"cover",unoptimized:!0,loader:function(t){return t.src}})}),(0,u.jsx)(_,{isPlaying:s&&"playing",onClick:function(){l(!0)}})]}))}},8206:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});var r=function(t){return t?{prices:{week:{pretext:"Ð¾Ñ ",label:" в неделÑ"},day:{pretext:"Ð¾Ñ ",label:" в денÑ"}},lengths:{m:"м",ft:"ft"},cabins:["каÑÑа","каÑÑÑ","каÑÑ"],guests:["гоÑÑÑ","гоÑÑÑ","гоÑÑей"],more:{photo:"ÑоÑо",text:"ÐÑÑ"},conditions:{new:"новаÑ",pastUsage:"б / Ñ"},requestPrice:"Цена по запÑоÑÑ"}:{prices:{week:{pretext:"from ",label:" per week"},day:{pretext:"from ",label:" per day"}},lengths:{m:"m",ft:"ft"},cabins:["cabin","cabins"],guests:["guest","guests"],more:{photo:"photos",text:"more"},conditions:{new:"new",pastUsage:"used"},requestPrice:"Price on request"}}},39246:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return K},default:function(){return tt}});var r=n(59499),i=n(27812),o=n(60956),c=n(11325),a=n(56323),s=n(53435),l=n(83732),u=n(57899),p=n(11163),d=n(67294),f=n(41686);n(22576);var h=n(27553),g=n(52659);n(33939);var m=n(32531),b=n(81242),y=n(76094),v=n(3962),w=n(55717),O=n(94478),j=n(85893);function x(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?x(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var _=(0,f.ZP)(o.Z).withConfig({displayName:"ShipyardPage__StyledDetailGrid",componentId:"sc-wih1c5-0"})(["margin-bottom:0;","{margin-bottom:0;}","{margin-bottom:0;}","{margin-bottom:0;}","{margin-bottom:0;}"],y.BC.fullhd,y.BC.notebook,y.BC.tablet,y.BC.phablet),S=(0,f.iv)(["margin-top:180px;","{margin-top:140px;}","{margin-top:120px;}","{margin-top:100px;}","{margin-top:80px;}"],y.BC.fullhd,y.BC.notebook,y.BC.tablet,y.BC.phablet),C=(0,f.ZP)(a.default).withConfig({displayName:"ShipyardPage__SellForm",componentId:"sc-wih1c5-1"})(["",""],S),k=(0,f.ZP)(l.Z).withConfig({displayName:"ShipyardPage__StyledRelatedShipyards",componentId:"sc-wih1c5-2"})([""," .swiper{width:100%;overflow:visible;}"],S),Z=(0,f.ZP)(a.default).withConfig({displayName:"ShipyardPage__SimilarForm",componentId:"sc-wih1c5-3"})(["margin-top:140px;","{margin-top:100px;}"],y.BC.notebook),E=function(t){var e=t.data,n=(0,m.o)(),r=n.swiperRef,o=n.goNext,a=n.goPrev;(0,p.useRouter)();var l=(0,d.useRef)(null),f=(0,d.useRef)(null),y=(0,d.useRef)(null),x=(0,d.useRef)(null),S=e.name,E=e.images,T=e.location,D=e.year_of_foundation,B=e.logo,N=e.count_yachts,R=e.about_text,I=e.slug,L=e.others,A=e.sale,H=A.text,F=A.count,V=A.list,M=e.rent,Y=M.text,q=M.count,W=M.list,z=e.building,U=z.text,G=z.count,$=z.list,X=V&&V.length&&V.map(function(t){return(0,g.Do)(t)}),J=W&&W.length&&W.map(function(t){return(0,g.Do)(t,O.d.CHARTER_DYNAMIC)}),Q=$&&$.length&&$.map(function(t){return(0,g.Do)(t,O.d.PROJECT)}),K=(0,b.$)("shipyardStatic"),tt=[];return R&&tt.push({ref:l,title:K.navigation.about}),F>0&&tt.push({ref:f,title:K.navigation.sell}),q>0&&tt.push({ref:y,title:K.navigation.charter}),G>0&&tt.push({ref:x,title:K.navigation.building}),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.Z,{page:"shipyard-page",title:S.toUpperCase(),images:E,swiperRef:r,location:T&&T.name,foundationDate:D,builtCount:"".concat(N," ").concat(h.u.apply(void 0,[N].concat((0,i.Z)(K.builtCount)))),shipyardLogo:(null==B?void 0:B.fullpath)||""}),(0,j.jsx)(s.Z,{tabs:tt,goNext:o,goPrev:a,title:S,isArrowsShown:E.length>0}),(0,j.jsx)("section",{children:(0,j.jsx)(v.Z,{aboutRef:l,content:R,title:"".concat(K.navigation.about," ").concat((S||"").replace("ЯÑ
ÑÑ ",""))})}),F>0&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(_,{navigationRef:f,title:"".concat(K.sale.title," ").concat((S||"").replace("ЯÑ
ÑÑ ","")),buttonTitle:K.sale.button,description:H,caption:"".concat(F," ").concat(h.u.apply(void 0,[F].concat((0,i.Z)(K.sale.caption)))),yachts:X,showButton:F>6,buttonHref:{pathname:u.m.SALE_CATALOG+"/"+I}}),(0,j.jsx)(C,P(P({},K.sellFeedbackForm),{},{formType:w.d.yachtSell}))]}),q>0&&(0,j.jsx)(_,{navigationRef:y,title:"".concat(K.charter.title," ").concat((S||"").replace("ЯÑ
ÑÑ ","")),buttonTitle:K.charter.button,description:Y,caption:"".concat(q," ").concat(h.u.apply(void 0,[q].concat((0,i.Z)(K.charter.caption)))),yachts:J,showButton:q>6,buttonHref:{pathname:u.m.CHARTER_CATALOG+"/"+I}}),G>0&&(0,j.jsx)(_,{navigationRef:x,title:K.building.title.replace("{shipyard}",(S||"").replace("ЯÑ
ÑÑ ","")),caption:"".concat(G," ").concat(h.u.apply(void 0,[G].concat((0,i.Z)(K.building.caption)))),description:U,yachts:Q,buttonTitle:K.building.button,descriptionCaption:K.building.descriptionCaption,buttonHref:{pathname:u.m.PROJECTS,query:{shipyard:I}}}),L&&L.length>0&&(0,j.jsx)(k,{title:"".concat(T?T.name||T.name_genitive:""," - ").concat(K.related.title),style:{marginBottom:0},shipyards:L}),(0,j.jsx)(Z,P(P({},K.suitableForm),{},{formType:w.d.yachtSelection}))]})},T=n(95705),D=n(42795),B=n(9008),N=n.n(B),R=n(76361),I=n(55923),L=n(61276),A=n(61693),H=n(36124),F=n(57349),V=n(94608),M=n(72845),Y=n(86493),q=n(8206),W=n(88514),z=n(8746),U=n(55273),G=n(64145),$=n(71669),X=n(81586);function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var Q=function(t){var e=t.shipyard,n=(0,p.useRouter)(),r=(0,b.$)("shipyardStatic"),i=(0,d.useMemo)(function(){return e.seo.title?e.seo.title:(0,G.C)(r.metaShipyard.title,{shipyard_name:e.name})},[e,r.metaShipyard.title]),o=(0,d.useMemo)(function(){return e.seo.description?e.seo.description:(0,G.C)(r.metaShipyard.description,{shipyard_name:e.name})},[e,r.metaShipyard.description]),c=(0,d.useMemo)(function(){return{shipyard:null==e?void 0:e.name}},[e]),a=(0,d.useMemo)(function(){var t,n;return e?(null===(t=e.logo)||void 0===t?void 0:t.fullpath)||(null===(n=e.preview)||void 0===n?void 0:n.fullpath):null},[e]);return e?(0,j.jsxs)(T.Z,{breadcrumbsTitle:e.name,infoTitle:"".concat(r.infoTitle," ").concat(e.name),epilogueText:e.epilogue_text,showInfo:!!e.epilogue_text,linkEnVersion:e.is_hide_en?"/":null,linkRuVersion:e.is_hide_ru?"/":null,children:[(0,j.jsxs)(N(),{children:[(0,j.jsx)("title",{children:i}),(0,j.jsx)("meta",{name:"description",content:o},"description"),(0,j.jsx)("link",{rel:"alternate",hrefLang:"ru",href:e.is_hide_ru?"/":(0,X.g)(n,"/ru")},"alternateRu"),(0,j.jsx)("link",{rel:"alternate",hrefLang:"en",href:e.is_hide_en?"/":(0,X.g)(n)},"alternateEn"),(0,j.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:e.is_hide_en?"/":(0,X.g)(n)},"alternateDefault")]}),(0,j.jsx)($.A,{locale:n.locale,pageType:"other",slug:"shipyardPage",values:c,ogImage:a,twitterImage:a}),(0,j.jsx)(E,{data:e})]}):(0,j.jsx)(D.default,{})};Q.translation=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?J(Object(n),!0).forEach(function(e){(0,r.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},(0,V.F)({detailHeaderStatic:M.G,sortsStatic:Y.V,yachtCardStatic:q.A,feedbackFormStatic:W.T,shipyardStatic:F.N,headerStatic:R.r,breadcrumbsStatic:I.V,footerStatic:L.X,contactsStatic:A.M,notificationStatic:H.x,spoiler:z.I,notFoundStatic:U.p}));var K=!0,tt=Q},90139:function(t,e,n){"use strict";function r(t){if(!t)return{top:0,left:0};var e,n,r=t instanceof Element?t.getBoundingClientRect():null===(e=t.el)||void 0===e?void 0:null===(n=e.getBoundingClientRect)||void 0===n?void 0:n.call(e);if(!r)return{top:0,left:0};var i,o=document.body,c=document.documentElement,a=window.pageYOffset||c.scrollTop||o.scrollTop,s=window.pageXOffset||c.scrollLeft||o.scrollLeft,l=c.clientTop||o.clientTop||0,u=c.clientLeft||o.clientLeft||0;return{top:Math.round(r.top+a-l),left:Math.round(r.left+s-u)}}n.d(e,{Z:function(){return r}})},39642:function(t,e,n){"use strict";n.d(e,{VC:function(){return o},fC:function(){return i},oL:function(){return r}});var r="(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 33vw",i=function(t){return"string"==typeof t&&t.startsWith("http://")?"https://".concat(t.slice(7)):t},o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:65;return"/_next/image?url=".concat(encodeURIComponent(t),"&w=").concat(e,"&q=").concat(n)}},46333:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shipyards/[slug]",function(){return n(39246)}])}},function(t){t.O(0,[7048,9107,6502,2138,6310,1500,5705,714,1669,2367,6323,4989,7484,9516,4194,8269,9774,2888,179],function(){return t(t.s=46333)}),_N_E=t.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.