PageSourceSearch

https://divnomorskoe.ru/_next/static/chunks/0kby4~pfd~i3m.js

js divnomorskoe.ru collected 2026-10-04 22:56:37 UTC 25,356 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3303,(e,t,r)=>{t.exports=e.r(79520)},72964,e=>{"use strict";e.s(["TRANSPORT_MENU_ITEMS",0,[{href:"/avtobusy",label:"Автобусы Дивноморское ↔ Геленджик"},{href:"/tablo",label:"Авиа: табло и билеты"},{href:"/tablo/krasnodar",label:"Аэропорт Краснодар (KRR)"},{href:"/tablo/sochi",label:"Аэропорт Сочи (AER)"},{href:"/tablo/anapa",label:"Аэропорт Анапа (AAQ)"},{href:"/raspisanie/poezda-novorossiysk",label:"Поезда в Новороссийск"},{href:"/raspisanie/goryachiy-klyuch",label:"Поезда в Горячий Ключ"},{href:"/raspisanie/autobusy-mezhdunarodnye",label:"Международные автобусы"}],"TRANSPORT_MENU_LABEL",0,"Дорога"])},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809)._(e.r(98183)),l=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(a.urlQueryToSearchParams(i)));let u=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),o=o.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${o}${u}${s}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(18967),o=e.r(52817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809),l=e.r(43476),s=a._(e.r(71645)),i=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),m=e.r(5550);e.r(33525);let h=e.r(88540),p=e.r(91949),f=e.r(73668),y=e.r(9396);function g(t){var r,n;let o,a,g,[b,x]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),j=(0,s.useRef)(null),{href:N,as:w,children:k,prefetch:E=null,passHref:R,replace:S,shallow:P,scroll:_,onClick:C,onMouseEnter:L,onTouchStart:T,legacyBehavior:O=!1,onNavigate:I,transitionTypes:A,ref:$,unstable_dynamicOnHover:M,...U}=t;o=k,O&&("string"==typeof o||"number"==typeof o)&&(o=(0,l.jsx)("a",{children:o}));let D=s.default.useContext(c.AppRouterContext),K=!1!==E,V=!1!==E?null===(n=E)||"auto"===n?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,z="string"==typeof(r=w||N)?r:(0,i.formatUrl)(r);if(O){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=s.default.Children.only(o)}let B=O?a&&"object"==typeof a&&a.ref:$,F=s.default.useCallback(e=>(null!==D&&(j.current=(0,p.mountLinkInstance)(e,z,D,V,K,x)),()=>{j.current&&((0,p.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,p.unmountPrefetchableInstance)(e)}),[K,z,D,V,x]),W={ref:(0,u.useMergedRef)(F,B),onClick(t){O||"function"!=typeof C||C(t),O&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!D||t.defaultPrevented||function(t,r,n,o,a,l,i){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);s.default.startTransition(()=>{d(r,o?"replace":"push",!1===a?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,i)})}}(t,z,j,S,_,I,A)},onMouseEnter(e){O||"function"!=typeof L||L(e),O&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),D&&K&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){O||"function"!=typeof T||T(e),O&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),D&&K&&(0,p.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(z)?W.href=z:O&&!R&&("a"!==a.type||"href"in a.props)||(W.href=(0,m.addBasePath)(z)),g=O?s.default.cloneElement(a,W):(0,l.jsx)("a",{...U,...W,children:o}),(0,l.jsx)(v.Provider,{value:b,children:g})}e.r(84508);let v=(0,s.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},99797,23814,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function n(e,t=!1){let r,{autoplay:o=!1,jsApi:a=!1}="boolean"==typeof t?{autoplay:t,jsApi:!1}:t,l=e=>{let t=new URL(e);return a&&/^(?:www\.)?vkvideo\.ru$/i.test(t.hostname)&&(t.hostname="vk.com"),t.searchParams.delete("__ref"),t.searchParams.delete("api_hash"),a&&t.searchParams.set("js_api","1"),o&&t.searchParams.set("autoplay","1"),t.toString()};if(e.playerUrl&&function(e){if(!e)return!1;try{let t=new URL(e).hostname.replace(/^www\./,"");return"vk.com"===t||t.endsWith(".vk.com")||"vkvideo.ru"===t||t.endsWith(".vkvideo.ru")}catch{return!1}}(e.playerUrl))try{return l(e.playerUrl)}catch{}return l((r=new URLSearchParams({oid:String(e.ownerId),id:String(e.id),hd:"2"}),e.accessKey&&r.set("hash",e.accessKey),`https://vk.com/video_ext.php?${r.toString()}`))}Date.parse("2026-01-01T00:00:00+03:00"),e.s(["formatVkDateRu",0,function(e){return e?new Intl.DateTimeFormat("ru-RU",{day:"numeric",month:"long",year:"numeric",timeZone:"Europe/Moscow"}).format(new Date(1e3*e)):""},"formatVkDuration",0,function(e){if(!e||e<0)return"";let t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=e%60;return t>0?`${t}:${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`:`${r}:${String(n).padStart(2,"0")}`},"pickHomeVideos",0,function(e){let t=e.filter(e=>e.isClip).slice(0,5),r=e.filter(e=>!e.isClip).slice(0,2),n=[...r,...t].sort((e,t)=>t.dateUnix-e.dateUnix);return{clips:t,landscape:r,playlist:n}},"resolveEmbedSrc",0,n],23814);let o=null;e.s(["VkEmbedPlayer",0,function({video:e,onEnded:a}){let l=(0,r.useRef)(null),s=(0,r.useRef)(a);return s.current=a,(0,r.useEffect)(()=>{let e=!1,t=null,r=()=>{try{t?.pause()}catch{}s.current()};return(async()=>{try{await (window.VK?.VideoPlayer?Promise.resolve():o||(o=new Promise((e,t)=>{let r=document.querySelector('script[data-vk-videoplayer="1"]');if(r){r.addEventListener("load",()=>e(),{once:!0}),r.addEventListener("error",()=>t(Error("VK player script")),{once:!0});return}let n=document.createElement("script");n.src="https://vk.com/js/api/videoplayer.js",n.async=!0,n.dataset.vkVideoplayer="1",n.onload=()=>e(),n.onerror=()=>t(Error("VK player script")),document.body.appendChild(n)})))}catch{return}if(!e&&l.current&&window.VK?.VideoPlayer)try{(t=window.VK.VideoPlayer(l.current)).on("ended",r)}catch{}})(),()=>{e=!0;
1try{t?.off("ended",r),t?.destroy()}catch{}}},[e.id,e.ownerId]),(0,t.jsx)("iframe",{ref:l,title:e.title,src:n(e,{autoplay:!0,jsApi:!0}),className:"h-full w-full border-0",allow:"autoplay; encrypted-media; fullscreen; picture-in-picture; screen-wake-lock",referrerPolicy:"strict-origin-when-cross-origin"})}],99797)},97226,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(14057);e.s(["HeroBackgroundVideo",0,function({videoSrc:e,posterSrc:o,alt:a,className:l=""}){let s=(0,r.useRef)(null),[i,c]=(0,r.useState)(!1);return(0,r.useLayoutEffect)(()=>{let t=s.current;if(!t)return;let r=window.matchMedia("(max-width: 768px)").matches,n=!!navigator.connection?.saveData;if(r||n){t.pause(),t.removeAttribute("src"),t.load(),c(!1);return}let o=()=>c(!0),a=()=>{t.play().catch(()=>{})};t.getAttribute("src")!==e&&(t.src=e),t.addEventListener("canplay",o),t.addEventListener("playing",o),t.addEventListener("loadeddata",a),a();let l=()=>{document.hidden?t.pause():a()};return document.addEventListener("visibilitychange",l),()=>{t.removeEventListener("canplay",o),t.removeEventListener("playing",o),t.removeEventListener("loadeddata",a),document.removeEventListener("visibilitychange",l)}},[e]),(0,t.jsxs)("div",{className:`hero-bg-media ${l}`.trim(),children:[(0,t.jsx)(n.SiteImage,{src:o,alt:a,fill:!0,priority:!0,sizes:"100vw",className:`hero-bg-poster object-cover${i?" hero-bg-poster-hidden":""}`}),(0,t.jsx)("video",{ref:s,className:`hero-bg-video${i?" is-ready":""}`,src:e,poster:o,muted:!0,loop:!0,playsInline:!0,autoPlay:!0,preload:"auto","aria-hidden":!0})]})}])},95504,e=>{"use strict";e.s(["YANDEX_REVIEW_LINKS",0,[{id:"kirova",name:"Бригантина на Кирова",address:"село Дивноморское, ул. Кирова, 9Б",coords:[44.502641,38.132657],orgId:"1388997230",reviewUrl:"https://yandex.ru/maps/org/brigantina/1388997230/?ll=38.132657%2C44.502641&z=17"},{id:"sovkhozny",name:"Бригантина на Совхозной",address:"село Дивноморское, пер. Совхозный, 2Б",coords:[44.506287,38.133331],orgId:"164765704930",reviewUrl:"https://yandex.ru/maps/org/brigantina/164765704930/?ll=38.133331%2C44.506287&z=17"}],"yandexMapsApiKey",0,function(){return"018f2352-1bdb-4c2e-925e-e0fb2a758b6d".trim()||""}])},31333,10311,96923,93105,2975,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function n({src:e,alt:o}){let a=(0,r.useRef)(null),[l,s]=(0,r.useState)(!1),[i,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{s(!1),c(!1);let e=a.current;e?.complete&&e.naturalWidth>0&&s(!0)},[e]),(0,t.jsxs)("div",{className:"photo-lightbox-image-wrap",children:[l||i?null:(0,t.jsxs)("div",{className:"photo-lightbox-loader","aria-live":"polite","aria-busy":"true",children:[(0,t.jsx)("span",{className:"photo-lightbox-spinner","aria-hidden":!0}),(0,t.jsx)("span",{className:"photo-lightbox-loader-text",children:"Загрузка фото…"})]}),i?(0,t.jsx)("p",{className:"photo-lightbox-error",children:"Не удалось загрузить фото"}):(0,t.jsx)("img",{ref:a,src:e,alt:o,className:`photo-lightbox-image${l?" is-loaded":""}`,draggable:!1,decoding:"async",onLoad:()=>s(!0),onError:()=>c(!0)},e)]})}e.s(["GalleryLightboxImage",0,n,"GalleryMainImage",0,function({src:e,alt:r,priority:n=!1}){return(0,t.jsx)("img",{src:e,alt:r,className:"house-gallery-media",loading:n?"eager":"lazy",decoding:n?"sync":"async",fetchPriority:n?"high":"low",draggable:!1})},"GalleryThumbImage",0,function({src:e,alt:n}){let o=(0,r.useRef)(null),[a,l]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e?.isIntersecting&&(l(!0),t.disconnect())},{rootMargin:"240px"});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsx)("span",{ref:o,className:"house-gallery-thumb-inner",children:a?(0,t.jsx)("img",{src:e.startsWith("/houses/")?`/_next/image?url=${encodeURIComponent(e)}&w=128&q=75`:e,alt:n,className:"house-gallery-media",loading:"lazy",decoding:"async",draggable:!1}):null})}],10311);var o=e.i(74080);function a({photos:e,index:l,onClose:s,onIndexChange:i,label:c}){let[u,d]=(0,r.useState)(!1),m=(0,r.useRef)(null),h=(0,r.useRef)(null),p=(0,r.useRef)(0);(0,r.useEffect)(()=>{d(!0),p.current=Date.now()+400},[]);let f=e.length,y=e[l]??e[0],g=f>1,v=y?.type==="video"||/\.(mp4|webm|mov|m4v)(\?|$)/i.test(y?.url??""),b=(0,r.useCallback)(()=>{f<2||Date.now()<p.current||i((l-1+f)%f)},[l,i,f]),x=(0,r.useCallback)(()=>{f<2||Date.now()<p.current||i((l+1)%f)},[l,i,f]);return((0,r.useEffect)(()=>{let e=document.body.style.overflow;document.body.style.overflow="hidden";let t=e=>{"Escape"===e.key&&s(),"ArrowLeft"===e.key&&b(),"ArrowRight"===e.key&&x()};return document.addEventListener("keydown",t),()=>{document.body.style.overflow=e,document.removeEventListener("keydown",t)}},[s,x,b]),(0,r.useEffect)(()=>
1{if(y&&!v)for(let t of(new window.Image().src=y.url,[-1,1])){let r=e[l+t];r&&"video"!==r.type&&(new window.Image().src=r.url)}},[y,v,l,e]),(0,r.useEffect)(()=>{let e=h.current;if(e)return e.play().catch(()=>{}),()=>{e.pause()}},[l,v]),u&&y)?(0,o.createPortal)((0,t.jsxs)("div",{className:"photo-lightbox",role:"dialog","aria-modal":"true","aria-label":c??(v?"Просмотр видео":"Просмотр фото"),onClick:s,children:[(0,t.jsx)("button",{type:"button",className:"photo-lightbox-close",onClick:s,"aria-label":"Закрыть",children:"×"}),g?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"photo-lightbox-nav photo-lightbox-nav-prev",onClick:e=>{e.stopPropagation(),b()},"aria-label":"Предыдущее",children:"‹"}),(0,t.jsx)("button",{type:"button",className:"photo-lightbox-nav photo-lightbox-nav-next",onClick:e=>{e.stopPropagation(),x()},"aria-label":"Следующее",children:"›"})]}):null,(0,t.jsx)("div",{className:"photo-lightbox-stage",onClick:e=>e.stopPropagation(),onTouchStart:e=>{v||(m.current=e.changedTouches[0]?.clientX??null)},onTouchEnd:e=>{if(v)return;let t=m.current,r=e.changedTouches[0]?.clientX;if(m.current=null,null==t||null==r||!g)return;let n=r-t;50>Math.abs(n)||(n>0?b():x())},children:v?(0,t.jsx)("video",{ref:h,className:"photo-lightbox-video",src:y.url,poster:y.poster,controls:!0,autoPlay:!0,playsInline:!0,preload:"auto","aria-label":y.alt},y.url):(0,t.jsx)(n,{src:y.url,alt:y.alt})}),(0,t.jsxs)("div",{className:"photo-lightbox-meta",onClick:e=>e.stopPropagation(),children:[c?(0,t.jsx)("span",{className:"photo-lightbox-label",children:c}):null,g?(0,t.jsxs)("span",{className:"photo-lightbox-counter",children:[l+1," / ",f]}):null]})]}),document.body):null}function l(e){let t=/^[a-z0-9-]+$/.test(e)?e:"circle-check";return`fa-solid fa-${t}`}function s({groups:e}){return((0,r.useEffect)(()=>{!function(){if("u"<typeof document)return;let e=document.head;if(!e)return;for(let t of e.querySelectorAll('link[rel="stylesheet"]')){let e=t.getAttribute("href")??"";if(e.includes("font-awesome")||e.includes("fontawesome"))return}let t=document.createElement("link");t.rel="stylesheet",t.href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css",t.crossOrigin="anonymous",e.appendChild(t)}()},[]),0===e.length)?null:(0,t.jsx)("div",{className:"room-amenity-groups",children:e.map(e=>(0,t.jsxs)("section",{className:"room-amenity-group",children:[(0,t.jsxs)("h4",{className:"room-amenity-group-title",children:[(0,t.jsx)("i",{className:l(e.group_icon),"aria-hidden":!0}),e.title]}),(0,t.jsx)("ul",{className:"room-amenity-list",children:e.items.map(e=>(0,t.jsx)("li",{className:"room-amenity-item",children:(0,t.jsxs)("div",{className:"room-amenity-row",title:e.label,children:[(0,t.jsx)("i",{className:l(e.icon),"aria-hidden":!0}),(0,t.jsx)("span",{className:"room-amenity-cap",children:e.label})]})},e.id))})]},e.group_id))})}e.s(["PhotoLightbox",0,a],31333);var i=e.i(14057);function c(e){return e.gallery.length>0?e.gallery:e.imageUrl?[{url:e.imageUrl,alt:e.name}]:[]}function u({room:e,variant:n="compact"}){let o=c(e),[l,s]=(0,r.useState)(0),[d,m]=(0,r.useState)(null),h=(0,r.useRef)(null),[p,f]=(0,r.useState)(!1),y="detail"===n;if((0,r.useEffect)(()=>{let e=h.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e?.isIntersecting&&(f(!0),t.disconnect())},{rootMargin:"200px",threshold:.01});return t.observe(e),()=>t.disconnect()},[]),(0,r.useEffect)(()=>{if(y&&p)for(let e of o.slice(0,6))new window.Image().src=e.url},[y,p,o]),(0,r.useEffect)(()=>{if(p)for(let e of[-1,1]){let t=l+e;t<0||t>=o.length||(new window.Image().src=o[t]?.url??"")}},[l,p,o]),0===o.length)return(0,t.jsx)("div",{className:"room-img room-img-empty","aria-hidden":!0});let g=o[l]??o[0],v=o.length>1,b=y?96:72,x=y?64:48,j=e=>{s(e),window.requestAnimationFrame(()=>{m(e)})};return(0,t.jsxs)("div",{ref:h,className:`room-gallery${y?" room-gallery-detail":""}`,children:[(0,t.jsxs)("div",{className:"room-img",children:[(0,t.jsx)("button",{type:"button",className:"room-img-open",onClick:e=>{e.stopPropagation(),j(l)},"aria-label":`Открыть фото: ${e.name}`,children:y?(0,t.jsx)("img",{src:g.url,alt:`${e.name} — фото ${l+1}`,className:"room-gallery-detail-main",decoding:0===l?"sync":"async",fetchPriority:0===l?"high":"auto",draggable:!1},g.url):p?(0,t.jsx)(i.SiteImage,{src:g.url,alt:`${e.name} — фото ${l+1}`,width:y?960:400,height:y?540:240,className:"h-full w-full object-cover",sizes:"(max-width: 768px) 100vw, 50vw",loading:"lazy"}):(0,t.jsx)("div",{className:"h-full w-full bg-[var(--color-surface-2,#e7e5e4)]","aria-hidden":!0})}),v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"room-gallery-nav room-gallery-nav-prev",onClick:e=>{e.stopPropagation(),s(e=>(e-1+o.length)%o.length)},"aria-label":"Предыдущее фото",children:"‹"}),(0,t.jsx)("button",{type:"button",className:"room-gallery-nav room-gallery-nav-next",onClick:e=>{e.stopPropagation(),s(e=>(e+1)%o.length)},"aria-label":"Следующее фото",children:"›"}),(0,t.jsxs)("span",{className:"room-gallery-counter",children:[l+1," / ",o.length]})]}):null]}),v&&p?(0,t.jsx)("div",{className:"room-gallery-thumbs","aria-label":`Все фото: ${e.name}`,children:o.map((e,r)=>(0,t.jsx)("button",{type:"button",className:`room-gallery-thumb${r===l?" active":""}`,onClick:()=>s(r),onDoubleClick:()=>j(r),"aria-label":`Фото ${r+1}`,"aria-current":r===l,children:(0,t.jsx)(i.SiteImage,{src:e.url,alt:"",width:b,height:x,className:"h-full w-full object-cover",sizes:`${b}px`,loading:"lazy"})},e.url))}):null,null!==d?(0,t.jsx)(a,{photos:o,index:d,onIndexChange:e=>{m(e),s(e)},onClose:()=>m(null),label:e.name}):null]})}function d({room:e,onClose:n}){let[a,l]=(0,r.useState)(!1),i=(0,r.useCallback)(e=>{"Escape"===e.key&&n()},[n]);if((0,r.useEffect)(()=>
1{l(!0)},[]),(0,r.useEffect)(()=>{if(a)return document.body.style.overflow="hidden",window.addEventListener("keydown",i),()=>{document.body.style.overflow="",window.removeEventListener("keydown",i)}},[i,a]),!a)return null;let c=e.descriptionFull?.trim()||e.description,m=e.amenityGroups??[];return(0,o.createPortal)((0,t.jsx)("div",{className:"guest-house-page room-detail-portal-root",children:(0,t.jsx)("div",{className:"room-detail-overlay",role:"presentation",onClick:n,children:(0,t.jsxs)("div",{className:"room-detail-modal",role:"dialog","aria-modal":"true","aria-labelledby":`room-detail-title-${e.id}`,onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"room-detail-header",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{id:`room-detail-title-${e.id}`,className:"room-detail-title",children:e.name}),e.houseGroupName?(0,t.jsx)("p",{className:"room-detail-subtitle",children:e.houseGroupName}):null]}),(0,t.jsx)("button",{type:"button",className:"room-detail-close",onClick:n,"aria-label":"Закрыть",children:"×"})]}),(0,t.jsxs)("div",{className:"room-detail-body",children:[(0,t.jsx)("div",{className:"room-detail-gallery",children:(0,t.jsx)(u,{room:e,variant:"detail"})}),(0,t.jsxs)("div",{className:"room-detail-info",children:[e.bedCount?(0,t.jsx)("div",{className:"room-detail-meta",children:(0,t.jsxs)("span",{className:"room-amenity",children:["до ",e.bedCount," гостей"]})}):null,c?(0,t.jsx)("div",{className:"room-detail-description",children:c}):null,m.length>0?(0,t.jsxs)("div",{className:"room-detail-amenities",children:[(0,t.jsx)("h4",{className:"room-detail-section-title",children:"Удобства и услуги"}),(0,t.jsx)(s,{groups:m})]}):null,(0,t.jsxs)("div",{className:"room-detail-footer",children:[(0,t.jsxs)("div",{className:"room-price",children:["Цена ",(0,t.jsx)("span",{className:"room-price-note",children:"при бронировании"})]}),(0,t.jsx)("a",{href:"#booking",className:"btn-book",onClick:n,children:"Забронировать"})]})]})]})]})})}),document.body)}e.s(["RoomCard",0,function({room:e,revealClassName:n=""}){let[o,a]=(0,r.useState)(!1),l=c(e),s=e.description.trim().length>120,i=s||l.length>0,m=e=>{e.stopPropagation(),e.preventDefault(),a(!0)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("article",{className:`room-card ${n}`.trim(),children:[(0,t.jsx)(u,{room:e}),(0,t.jsxs)("div",{className:"room-body",children:[(0,t.jsx)("h3",{className:"room-name",children:e.name}),e.description?(0,t.jsxs)("button",{type:"button",className:"room-desc-button",onClick:m,"aria-label":`Подробнее о номере: ${e.name}`,children:[(0,t.jsx)("p",{className:"room-desc",children:e.description}),s?(0,t.jsx)("span",{className:"room-desc-more",children:"Подробнее"}):l.length>0?(0,t.jsx)("span",{className:"room-desc-more",children:"Смотреть номер"}):null]}):null,(0,t.jsx)("div",{className:"room-amenities",children:e.bedCount?(0,t.jsxs)("span",{className:"room-amenity",children:["до ",e.bedCount," гостей"]}):null}),(0,t.jsxs)("div",{className:"room-footer",children:[(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"room-price",children:["Цена ",(0,t.jsx)("span",{className:"room-price-note",children:"при бронировании"})]})}),(0,t.jsxs)("div",{className:"room-footer-actions",children:[i?(0,t.jsx)("button",{type:"button",className:"btn-secondary room-details-btn",onClick:m,children:"Подробнее"}):null,(0,t.jsx)("a",{href:"#booking",className:"btn-book",children:"Выбрать"})]})]})]})]}),o?(0,t.jsx)(d,{room:e,onClose:()=>a(!1)}):null]})}],96923);var m=e.i(72964);e.s(["TransportMobileNavGroup",0,function({onNavigate:e}){let[n,o]=(0,r.useState)(!1);return(0,t.jsxs)("div",{className:`nav-mobile-group${n?" open":""}`,children:[(0,t.jsxs)("button",{type:"button",className:"nav-mobile-group-toggle","aria-expanded":n,onClick:()=>o(e=>!e),children:[m.TRANSPORT_MENU_LABEL,(0,t.jsx)("svg",{viewBox:"0 0 12 12",fill:"none","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,t.jsx)("div",{className:"nav-mobile-sub",children:m.TRANSPORT_MENU_ITEMS.map(r=>(0,t.jsx)("a",{href:r.href,onClick:()=>{o(!1),e?.()},children:r.label},r.href))})]})}],93105);let h=()=>(0,t.jsx)("svg",{viewBox:"0 0 12 12",fill:"none","aria-hidden":!0,
1children:(0,t.jsx)("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});e.s(["TransportNavDropdown",0,function(){let[e,n]=(0,r.useState)(!1),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!e)return;let t=e=>{o.current&&!o.current.contains(e.target)&&n(!1)},r=e=>{"Escape"===e.key&&n(!1)};return document.addEventListener("mousedown",t),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("keydown",r)}},[e]),(0,t.jsxs)("div",{className:`nav-dropdown${e?" open":""}`,ref:o,children:[(0,t.jsxs)("button",{type:"button",className:"nav-dropdown-trigger","aria-expanded":e,"aria-haspopup":"true",onClick:()=>n(e=>!e),children:[m.TRANSPORT_MENU_LABEL,(0,t.jsx)(h,{})]}),(0,t.jsx)("div",{className:"nav-dropdown-menu nav-dropdown-menu--transport",role:"menu",children:m.TRANSPORT_MENU_ITEMS.map(e=>(0,t.jsx)("a",{href:e.href,role:"menuitem",onClick:()=>n(!1),children:e.label},e.href))})]})}],2975)},4772,e=>{"use strict";e.s(["KIROVA_YARD_HERO_PREVIEW",0,"/houses/kirova/dvor/7-preview.mp4","KIROVA_YARD_POSTER",0,"/houses/kirova/obshchie/1.webp","SOVKHOZ_YARD_HERO_PREVIEW",0,"/houses/sovkhozny/dvor/7-preview.mp4","SOVKHOZ_YARD_POSTER",0,"/houses/sovkhozny/dvor/1.webp"])}]);

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.