PageSourceSearch

https://divnomorskoe.ru/_next/static/chunks/0jheau~j1bwhh.js

js divnomorskoe.ru collected 2026-10-04 22:56:39 UTC 49,212 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55665,e=>{"use strict";var s=e.i(43476),a=e.i(97226),i=e.i(14057),l=e.i(3303),r=e.i(71645),n=e.i(36046),t=e.i(95504);function c({apiKey:e,locations:a,className:i="yandex-map",showReviewLink:n=!1}){let t=(0,r.useRef)(null),o=(0,r.useRef)(null),[d,h]=(0,r.useState)(!!window.ymaps);return((0,r.useEffect)(()=>{window.ymaps&&h(!0)},[]),(0,r.useEffect)(()=>{if(!d||!t.current||!window.ymaps||0===a.length)return;let e=!1;return window.ymaps.ready(()=>{if(e||!t.current||!window.ymaps)return;o.current&&(o.current.destroy(),o.current=null);let s=window.ymaps,i=a.reduce((e,s)=>[e[0]+s.coords[0],e[1]+s.coords[1]],[0,0]).map(e=>e/a.length),l=new s.Map(t.current,{center:i,zoom:1===a.length?17:16,controls:["zoomControl","routeButtonControl","fullscreenControl"]},{suppressMapOpenBlock:!0});for(let e of(o.current=l,a)){let a=n?`<a href="${e.reviewUrl}" target="_blank" rel="noopener noreferrer">Отзывы на Яндекс Картах</a>`:"";l.geoObjects.add(new s.Placemark(e.coords,{balloonContentHeader:e.name,balloonContentBody:e.address,...a?{balloonContentFooter:a}:{},hintContent:e.name},{preset:"islands#darkGreenDotIcon"}))}let r=l.geoObjects.getBounds();r&&a.length>1&&l.setBounds(r,{checkZoomRange:!0,zoomMargin:48})}),()=>{e=!0,o.current&&(o.current.destroy(),o.current=null)}},[d,a,n]),e)?(0,s.jsxs)(s.Fragment,{children:[d?null:(0,s.jsx)(l.default,{src:`https://api-maps.yandex.ru/2.1/?apikey=${encodeURIComponent(e)}&lang=ru_RU`,strategy:"lazyOnload",onLoad:()=>h(!0)}),(0,s.jsx)("div",{ref:t,className:i,"aria-label":"Карта расположения"})]}):(0,s.jsx)("div",{className:`${i} yandex-map-fallback`,children:(0,s.jsx)("p",{children:"Карта временно недоступна."})})}function o({apiKey:e,locations:a}){return(0,s.jsx)(c,{apiKey:e,locations:a,className:"yandex-map",showReviewLink:!0})}function d({location:e,apiKey:a,onClose:i}){let l=(0,r.useCallback)(e=>{"Escape"===e.key&&i()},[i]);return((0,r.useEffect)(()=>{if(e)return document.body.style.overflow="hidden",window.addEventListener("keydown",l),()=>{document.body.style.overflow="",window.removeEventListener("keydown",l)}},[e,l]),e)?(0,s.jsx)("div",{className:"map-modal-overlay",role:"presentation",onClick:i,children:(0,s.jsxs)("div",{className:"map-modal",role:"dialog","aria-modal":"true","aria-labelledby":"map-modal-title",onClick:e=>e.stopPropagation(),children:[(0,s.jsxs)("div",{className:"map-modal-header",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{id:"map-modal-title",className:"map-modal-title",children:e.name}),(0,s.jsx)("p",{className:"map-modal-address",children:(0,s.jsx)("a",{href:e.reviewUrl,target:"_blank",rel:"noopener noreferrer",children:e.address})})]}),(0,s.jsx)("button",{type:"button",className:"map-modal-close",onClick:i,"aria-label":"Закрыть карту",children:"×"})]}),(0,s.jsx)(c,{apiKey:a,locations:[e],className:"yandex-map map-modal-map"},e.id)]})}):null}function h(){return(0,s.jsx)("a",{href:`https://metrika.yandex.ru/stat/?id=${n.YANDEX_METRIKA_ID}&from=informer`,target:"_blank",rel:"nofollow noopener noreferrer",className:"ym-advanced-informer ym-advanced-informer-site","aria-label":"Статистика Яндекс.Метрики",children:(0,s.jsx)("img",{src:`https://informer.yandex.ru/informer/${n.YANDEX_METRIKA_ID}/3_1_FFFFFFFF_EFEFEFFF_0_pageviews`,style:{width:88,height:31,border:0},alt:"Яндекс.Метрика",title:"Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)",className:"ym-advanced-informer","data-cid":String(n.YANDEX_METRIKA_ID),"data-lang":"ru"})})}var m=e.i(31333),x=e.i(96923),j=e.i(22016);function u(e){let s=Math.round(e);return`${s>0?"+":""}${s}\xb0`}function v({label:e,value:a,hint:i}){return(0,s.jsxs)("div",{className:"weather-stat",children:[(0,s.jsx)("div",{className:"weather-stat-label",children:e}),(0,s.jsx)("div",{className:"weather-stat-value",children:a}),i?(0,s.jsx)("div",{className:"weather-stat-hint",children:i}):null]})}function p({weather:e}){var a,i,l;let{current:r,daily:n}=e;return(0,s.jsx)("section",{className:"weather-strip","aria-labelledby":"weather-heading",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)("div",{className:"weather-strip-head",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Прогноз"}),(0,s.jsxs)("h2",{id:"weather-heading",className:"weather-strip-title",children:["Погода в Дивноморске · сегодня, ",e.dateLabel]})]})}),(0,s.jsxs)("div",{className:"weather-main",children:[(0,s.jsxs)("div",{className:"weather-now","aria-label":"Погода сейчас",children:[(0,s.jsx)("div",{className:"weather-now-icon","aria-hidden":!0,
1children:0===(a=r.weatherCode)?"☀️":a<=3?"⛅":a<=48?"🌫️":a<=57?"🌦️":a<=67?"🌧️":a<=77?"🌨️":a<=82?"🌦️":a<=86?"🌨️":a>=95?"⛈️":"⛅"}),(0,s.jsxs)("div",{className:"weather-now-body",children:[(0,s.jsx)("div",{className:"weather-now-temp",children:u(r.airTemp)}),(0,s.jsx)("div",{className:"weather-now-desc",children:0===(i=r.weatherCode)?"Ясно":i<=2?"Переменная облачность":3===i?"Пасмурно":i<=48?"Туман":i<=57?"Морось":i<=67?"Дождь":i<=77?"Снег":i<=82?"Ливень":i<=86?"Снегопад":i>=95?"Гроза":"Облачно"}),(0,s.jsxs)("div",{className:"weather-now-meta",children:["Ощущается ",u(r.feelsLike)," · влажность ",r.humidity,"% · ветер ",r.windSpeed," км/ч ",["С","СВ","В","ЮВ","Ю","ЮЗ","З","СЗ"][Math.round(r.windDirection/45)%8]??"С"]})]})]}),(0,s.jsxs)("div",{className:"weather-stats",children:[(0,s.jsx)(v,{label:"Воздух",value:`${u(n.airMin)} … ${u(n.airMax)}`,hint:"мин / макс за сутки"}),(0,s.jsx)(v,{label:"Вода",value:null!=n.seaTemp?u(n.seaTemp):"—",hint:"у побережья"}),(0,s.jsx)(v,{label:"Осадки",value:`до ${n.rainProbMax}%`,hint:n.precipitationSum>0?`${n.precipitationSum} мм за сутки`:"без осадков"}),(0,s.jsx)(v,{label:"Ветер",value:`до ${n.windMax} км/ч`,hint:`сейчас ${r.windSpeed} км/ч`}),(0,s.jsx)(v,{label:"UV-индекс",value:String(n.uvMax),hint:(l=n.uvMax)<3?"низкий":l<6?"умеренный":l<8?"высокий":"очень высокий"}),(0,s.jsx)(v,{label:"Волны",value:null!=n.waveMax?`${n.waveMax} м`:"—",hint:"макс. высота"}),(0,s.jsx)(v,{label:"Рассвет",value:n.sunrise,hint:`закат ${n.sunset}`})]})]}),(0,s.jsxs)("div",{className:"weather-strip-foot",children:[(0,s.jsx)("p",{className:"weather-note",children:"Данные Open-Meteo · обновление каждые 30 минут. Температура воды и волны — морская модель у побережья Чёрного моря."}),(0,s.jsxs)(j.default,{href:"/tips/pogoda-i-kupanie",className:"weather-more-link",children:["Когда лучше купаться",(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})]})]})})}var N=e.i(93105),f=e.i(2975),g=e.i(10311),b=e.i(99797),y=e.i(23814);function w(e){return`${e.ownerId}_${e.id}`}function k({video:e,active:a,onSelect:i}){let l=(0,y.formatVkDuration)(e.durationSec);return(0,s.jsxs)("button",{type:"button",className:`home-video-thumb${e.isClip?" is-clip":""}${a?" is-active":""}`,onClick:i,"aria-label":e.title,"aria-current":a?"true":void 0,children:[e.imageUrl?(0,s.jsx)("img",{src:e.imageUrl,alt:"",className:"home-video-thumb-img"}):(0,s.jsx)("span",{className:"home-video-thumb-fallback"}),(0,s.jsx)("span",{className:"home-video-thumb-shade"}),(0,s.jsx)("span",{className:"home-video-thumb-play","aria-hidden":!0,children:(0,s.jsx)("svg",{viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M8 5.5v13l11-6.5L8 5.5z"})})}),e.isClip?(0,s.jsx)("span",{className:"home-video-thumb-badge",children:"Клип"}):null,l?(0,s.jsx)("span",{className:"home-video-thumb-duration",children:l}):null,(0,s.jsx)("span",{className:"home-video-thumb-title",children:e.title})]})}function E({videos:e}){let{clips:a,landscape:i,playlist:l}=(0,r.useMemo)(()=>(0,y.pickHomeVideos)(e),[e]),[n,t]=(0,r.useState)(()=>l[0]?w(l[0]):""),[c,o]=(0,r.useState)(!1);if(0===l.length)return null;let d=l.find(e=>w(e)===n)??l[0],h=(0,y.formatVkDuration)(d.durationSec),m=(0,y.formatVkDateRu)(d.dateUnix);function x(e){t(w(e)),o(!1)}return(0,s.jsxs)("div",{className:"home-video-card",children:[(0,s.jsxs)("div",{className:"home-video-featured",children:[(0,s.jsx)("div",{className:`home-video-player${d.isClip?" is-clip":""}`,children:c?(0,s.jsx)(b.VkEmbedPlayer,{video:d,onEnded:()=>o(!1)}):(0,s.jsxs)("button",{type:"button",className:"home-video-poster",onClick:()=>o(!0),"aria-label":`Смотреть: ${d.title}`,children:[d.imageUrl?(0,s.jsx)("img",{src:d.imageUrl,alt:"",className:"home-video-poster-img"}):(0,s.jsx)("span",{className:"home-video-poster-fallback"}),(0,s.jsx)("span",{className:"home-video-poster-shade"}),(0,s.jsx)("span",{className:"home-video-play","aria-hidden":!0,
1children:(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:"home-video-play-icon",children:(0,s.jsx)("path",{d:"M8 5.5v13l11-6.5L8 5.5z"})})}),d.isClip?(0,s.jsx)("span",{className:"home-video-badge",children:"Клип"}):null,h?(0,s.jsx)("span",{className:"home-video-duration",children:h}):null]})}),(0,s.jsxs)("div",{className:"home-video-meta",children:[m?(0,s.jsx)("time",{className:"home-video-date",dateTime:d.dateIso,children:m}):null,(0,s.jsx)("h3",{className:"home-video-title",children:d.title})]})]}),a.length>0||i.length>0?(0,s.jsxs)("div",{className:"home-video-thumbs","aria-label":"Другие видео",children:[a.length>0?(0,s.jsx)("ul",{className:"home-video-thumbs-row home-video-thumbs-row--clips",children:a.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(k,{video:e,active:w(e)===w(d),onSelect:()=>x(e)})},w(e)))}):null,i.length>0?(0,s.jsx)("ul",{className:"home-video-thumbs-row home-video-thumbs-row--landscape",children:i.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(k,{video:e,active:w(e)===w(d),onSelect:()=>x(e)})},w(e)))}):null]}):null,(0,s.jsx)("a",{href:"/video",className:"btn-primary home-video-all-btn",children:"Смотреть все видео"})]})}function C({src:e,poster:a,className:i,label:l,mobilePosterOnly:n=!1,rootMargin:t="200px"}){let c=(0,r.useRef)(null),[o,d]=(0,r.useState)(!1),[h,m]=(0,r.useState)(!n);(0,r.useEffect)(()=>{if(!n)return void m(!0);let e=window.matchMedia("(max-width: 768px)"),s=navigator.connection,a=()=>{m(!(e.matches||s?.saveData))};return a(),e.addEventListener("change",a),()=>e.removeEventListener("change",a)},[n]),(0,r.useEffect)(()=>{let e=c.current;if(!e)return;let s=new IntersectionObserver(([e])=>{d(!!e?.isIntersecting)},{rootMargin:t,threshold:.01});return s.observe(e),()=>s.disconnect()},[t]);let x=o&&h;return(0,r.useEffect)(()=>{let s=c.current;if(!s)return;if(!x)return void s.pause();s.getAttribute("src")!==e&&(s.src=e,s.load());let a=()=>{s.play().catch(()=>{})};a(),s.addEventListener("loadeddata",a),s.addEventListener("canplay",a);let i=()=>{document.hidden?s.pause():a()};return document.addEventListener("visibilitychange",i),()=>{s.removeEventListener("loadeddata",a),s.removeEventListener("canplay",a),document.removeEventListener("visibilitychange",i)}},[x,e]),(0,s.jsx)("video",{ref:c,className:i,poster:a,muted:!0,loop:!0,playsInline:!0,preload:"none","aria-label":l})}var M=e.i(4772);function $({className:e="",children:a}){return(0,s.jsx)("div",{className:`reveal ${e}`.trim(),children:a})}function I(){return(0,s.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,s.jsx)("path",{d:"M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42"})]})}function _(){return(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})}function S(){return(0,s.jsx)("svg",{className:"about-list-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:(0,s.jsx)("polyline",{points:"20 6 9 17 4 12"})})}let L=[{q:"Есть ли парковка для автомобиля?",a:"Да, рядом с обоими объектами есть платная парковка в шаговой доступности от дома. Стоимость и наличие мест уточняйте при бронировании."},{q:"Разрешено ли проживание с животными?",a:"Мы принимаем гостей с небольшими домашними животными (до 10 кг) при предварительном согласовании. Уточняйте при бронировании."},{q:"Каково время заезда и выезда?",a:"Заезд с 14:00, выезд до 11:00. Ранний заезд и поздний выезд возможны по договорённости за доп. плату или при наличии свободных дат."},{q:"Есть ли кухня для самостоятельного приготовления?",a:"Да, на обоих объектах есть общая оборудованная кухня — холодильник, плита, микроволновка, вся посуда. Также есть мангальная зона на улице."},{q:"Как добраться из аэропорта Геленджика?",a:"От аэропорта Геленджика до Дивноморска около 45 км (~40 минут на машине). Мы можем организовать трансфер — уточняйте при бронировании. Также ходит автобус из Геленджика."}];function A({item:e,houseName:a,variant:i,index:l=0,priority:r=!1}){let n="video"===e.type||/\.(mp4|webm|mov|m4v)(\?|$)/i.test(e.url);if(n&&"main"===i){let a=e.previewUrl??e.url;return(0,s.jsx)(C,{src:a,poster:e.poster,className:"house-gallery-media",label:e.alt,rootMargin:"200px"})}if(n&&!e.poster)return(0,s.jsx)("video",{className:"house-gallery-media",muted:!0,playsInl
1ine:!0,preload:"none","aria-hidden":!0});let t=n?e.poster??e.url:e.url,c="thumb"===i?"":e.alt||`${a} — фото ${l+1}`;return"thumb"===i?(0,s.jsx)(g.GalleryThumbImage,{src:t,alt:c}):(0,s.jsx)(g.GalleryMainImage,{src:t,alt:c,priority:r})}function B(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"house-gallery-video-badge","aria-hidden":!0,children:"Видео"}),(0,s.jsxs)("span",{className:"house-gallery-play","aria-hidden":!0,children:[(0,s.jsx)("svg",{viewBox:"0 0 24 24",width:"28",height:"28",fill:"currentColor",children:(0,s.jsx)("path",{d:"M8 5v14l11-7L8 5z"})}),(0,s.jsx)("span",{children:"Смотреть"})]})]})}function U({house:e}){let a=e.gallery,[i,l]=(0,r.useState)(0),[n,t]=(0,r.useState)(null),c=(0,r.useRef)(null),o=(0,r.useRef)(!0);if((0,r.useEffect)(()=>{let e=e=>{new window.Image().src=e};for(let s of[-1,1,2]){let l=i+s;if(l<0||l>=a.length)continue;let r=a[l];r&&"video"!==r.type&&e(r.url)}},[i,a]),(0,r.useEffect)(()=>{if(o.current){o.current=!1;return}let e=c.current;if(!e)return;let s=e.querySelector(`[data-thumb-index="${i}"]`);if(!s)return;let a=s.offsetLeft-e.clientWidth/2+s.clientWidth/2;e.scrollTo({left:Math.max(0,a),behavior:"smooth"})},[i]),0===a.length)return null;let d=a.filter(e=>"video"===e.type).length,h=a.length-d,x=[h>0?`${h} фото`:null,d>0?`${d} видео`:null].filter(Boolean),j=a[i]??a[0],u=a.length>1,v=j?.type==="video"||/\.(mp4|webm|mov|m4v)(\?|$)/i.test(j?.url??""),p=e=>{l(e),window.requestAnimationFrame(()=>{t(e)})};return(0,s.jsxs)("div",{className:"house-gallery-section reveal",id:`house-gallery-${e.id}`,children:[(0,s.jsx)("div",{className:"house-gallery-header",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"house-gallery-name",children:e.name}),(0,s.jsx)("p",{className:"house-gallery-meta",children:x.join(" · ")})]})}),j?(0,s.jsxs)("div",{className:"house-gallery-showcase",children:[(0,s.jsxs)("div",{className:"house-gallery-main",children:[(0,s.jsxs)("button",{type:"button",className:`house-gallery-main-open${v?" is-video":""}`,onClick:e=>{e.stopPropagation(),p(i)},"aria-label":v?`Смотреть полное видео: ${j.alt||e.name}`:`Открыть фото ${i+1}: ${j.alt||e.name}`,children:[(0,s.jsx)(A,{item:j,houseName:e.name,variant:"main",index:i,priority:!1}),v?(0,s.jsx)(B,{}):null]}),u?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",className:"house-gallery-nav house-gallery-nav-prev",onClick:e=>{e.stopPropagation(),l(e=>(e-1+a.length)%a.length)},"aria-label":"Предыдущее фото",children:"‹"}),(0,s.jsx)("button",{type:"button",className:"house-gallery-nav house-gallery-nav-next",onClick:e=>{e.stopPropagation(),l(e=>(e+1)%a.length)},"aria-label":"Следующее фото",children:"›"}),(0,s.jsxs)("span",{className:"house-gallery-counter",children:[i+1," / ",a.length]})]}):null]}),u?(0,s.jsx)("div",{ref:c,className:"house-gallery-thumbs","aria-label":`Миниатюры: ${e.name}`,children:a.map((a,r)=>{let n="video"===a.type||/\.(mp4|webm|mov|m4v)(\?|$)/i.test(a.url);return(0,s.jsxs)("button",{type:"button","data-thumb-index":r,className:`house-gallery-thumb${r===i?" active":""}${n?" is-video":""}`,onClick:()=>l(r),onDoubleClick:()=>p(r),"aria-label":n?`Видео ${r+1}: ${a.alt||e.name}`:`Фото ${r+1}: ${a.alt||e.name}`,"aria-current":r===i,children:[(0,s.jsx)(A,{item:a,houseName:e.name,variant:"thumb",index:r}),n?(0,s.jsx)("span",{className:"house-gallery-thumb-play","aria-hidden":!0,children:"▶"}):null]},a.url)})}):null,(0,s.jsx)("div",{className:"house-gallery-footer",children:(0,s.jsxs)("button",{type:"button",className:"house-gallery-view-all",onClick:()=>p(i),children:["Смотреть все (",a.length,")"]})})]}):null,null!=n?(0,s.jsx)(m.PhotoLightbox,{photos:a,index:n,onIndexChange:e=>{t(e),l(e)},onClose:()=>t(null),label:e.name},`house-gallery-${e.id}-${n}`):null]})}function W(e){return t.YANDEX_REVIEW_LINKS.find(s=>s.id===e)}e.s(["GuestHouseLanding",0,function({siteData:e,weather:c,latestVideos:m=[]}){let[j,u]=(0,r.useState)(!1),[v,g]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),[w,k]=(0,r.useState)("light"),[A,B]=(0,r.useState)(null),[R,D]=(0,r.useState)(null),z=(0,r.useRef)(null),K=(0,r.useRef)(null),X=(0,r.useRef)(!1),T=(0,r.useRef)(!1);(0,r.useEffect)(()=>{window.location.hash||window.scrollTo(0,0)},[]),(0,r.useEffect)(()=>{let e=window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
1k":"light";k(e),document.documentElement.setAttribute("data-theme",e)},[]),(0,r.useEffect)(()=>{let e=z.current;if(!e)return;let s=!1,a=()=>{s||(requestAnimationFrame(()=>{let a=window.scrollY;e.style.transform=`translateY(${.35*a}px)`,s=!1}),s=!0)};return window.addEventListener("scroll",a,{passive:!0}),()=>window.removeEventListener("scroll",a)},[]),(0,r.useEffect)(()=>{let e=document.querySelector(".guest-house-page");if(!e)return;let s=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("visible"),s.unobserve(e.target))})},{threshold:.12,rootMargin:"0px 0px -40px 0px"});return e.querySelectorAll(".reveal").forEach(e=>s.observe(e)),()=>s.disconnect()},[]),(0,r.useEffect)(()=>(document.body.style.overflow=j?"hidden":"",()=>{document.body.style.overflow=""}),[j]);let q=(0,r.useCallback)(()=>{k(e=>{let s="dark"===e?"light":"dark";return document.documentElement.setAttribute("data-theme",s),s})},[]),F=(0,r.useCallback)(()=>{u(!1),g(!1),y(!1)},[]);(0,r.useEffect)(()=>{if(!b)return;let e=e=>{K.current&&!K.current.contains(e.target)&&y(!1)},s=e=>{"Escape"===e.key&&y(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",s),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",s)}},[b]);let V=(0,r.useCallback)(()=>{let s=window;s.BookingWidget&&(!X.current&&document.querySelector("#booking-widget")&&(s.BookingWidget.init({mount:"#booking-widget",apiBaseUrl:e.apiBaseUrl,organizationId:e.organizationId,token:e.widgetToken,metrikaId:n.YANDEX_METRIKA_ID}),X.current=!0),!T.current&&document.querySelector("#hot-offers")&&(s.BookingWidget.init({mount:"#hot-offers",mode:"hot-offers",layout:"horizontal",apiBaseUrl:e.apiBaseUrl,organizationId:e.organizationId,token:e.widgetToken,metrikaId:n.YANDEX_METRIKA_ID}),T.current=!0))},[e.apiBaseUrl,e.organizationId,e.widgetToken]);return(0,r.useEffect)(()=>{V()},[V]),(0,s.jsxs)("div",{className:"guest-house-page",children:[(0,s.jsx)("a",{href:"#main",className:"sr-only",children:"Перейти к содержимому"}),(0,s.jsx)("header",{className:"navbar",id:"navbar",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("nav",{className:"navbar-inner","aria-label":"Основная навигация",children:[(0,s.jsx)("a",{href:"#",className:"nav-logo","aria-label":"Гостевые дома Дивноморск — на главную",children:(0,s.jsx)(i.SiteImage,{src:"/logo.svg",alt:"Логотип Дивноморск",width:72,height:72,className:"nav-logo-mark"})}),(0,s.jsxs)("div",{className:"nav-links",children:[(0,s.jsx)("a",{href:"#rooms",children:"Номера"}),(0,s.jsx)("a",{href:"#video",children:"Видео"}),(0,s.jsx)("a",{href:"#reviews",children:"Отзывы"}),(0,s.jsx)("a",{href:"#contacts",children:"Контакты"}),(0,s.jsx)(f.TransportNavDropdown,{}),(0,s.jsxs)("div",{className:`nav-dropdown${b?" open":""}`,ref:K,children:[(0,s.jsxs)("button",{type:"button",className:"nav-dropdown-trigger","aria-expanded":b,"aria-haspopup":"true",onClick:()=>y(e=>!e),children:["Полезно",(0,s.jsx)("svg",{viewBox:"0 0 12 12",fill:"none","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,s.jsxs)("div",{className:"nav-dropdown-menu",role:"menu",children:[(0,s.jsx)("a",{href:"/guides",role:"menuitem",children:"Местный гид"}),(0,s.jsx)("a",{href:"/razvlecheniya",role:"menuitem",children:"Развлечения"}),(0,s.jsx)("a",{href:"/planner",role:"menuitem",children:"План отдыха"}),(0,s.jsx)("a",{href:"/tips",role:"menuitem",children:"Советы и FAQ"}),(0,s.jsx)("a",{href:"/news",role:"menuitem",children:"Новости"}),(0,s.jsx)("a",{href:"/pravo",role:"menuitem",children:"Законы и правила"}),(0,s.jsx)("a",{href:"/video",role:"menuitem",children:"Видео"}),(0,s.jsx)("a",{href:"/guesthouse",role:"menuitem",children:"О доме"})]})]})]}),(0,s.jsxs)("div",{className:"nav-actions",children:[(0,s.jsx)("button",{type:"button",className:"theme-toggle",onClick:q,"aria-label":"Переключить тему",children:"dark"===w?(0,s.jsx)(I,{}):(0,s.jsx)(_,{})}),(0,s.jsx)("a",{href:"#booking",className:"btn-nav",children:"Забронировать"}),(0,s.jsxs)("button",{type:"button",className:`hamburger${j?" open":""}`,"aria-label":"Открыть меню","aria-expanded":j,onClick:()=>u(e=>!e),children:[(0,s.jsx)("span",{}),(0,s.jsx)("span",{}),(0,s.jsx)("span",{})]})]})]})})}),(0,s.jsxs)("nav",{className:`nav-mobile${j?" open":""}`,"aria-label":"Мобильная навигация",children:[(0,s.jsx)("a",{href:"#rooms",onClick:F,children:"Номера"}),(0,s.jsx)("a",{href:"#video",onClick:F,children:"Видео"}),(0,s.jsx)("a",{href:"#reviews",onClick:F,children:"Отзывы"}),(0,s.jsx)("a",{href:"#contacts",onClick:F,children:"Контакты"}
1),(0,s.jsx)(N.TransportMobileNavGroup,{onNavigate:F}),(0,s.jsxs)("div",{className:`nav-mobile-group${v?" open":""}`,children:[(0,s.jsxs)("button",{type:"button",className:"nav-mobile-group-toggle","aria-expanded":v,onClick:()=>g(e=>!e),children:["Полезно",(0,s.jsx)("svg",{viewBox:"0 0 12 12",fill:"none","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,s.jsxs)("div",{className:"nav-mobile-sub",children:[(0,s.jsx)("a",{href:"/guides",onClick:F,children:"Местный гид"}),(0,s.jsx)("a",{href:"/razvlecheniya",onClick:F,children:"Развлечения"}),(0,s.jsx)("a",{href:"/planner",onClick:F,children:"План отдыха"}),(0,s.jsx)("a",{href:"/tips",onClick:F,children:"Советы и FAQ"}),(0,s.jsx)("a",{href:"/news",onClick:F,children:"Новости"}),(0,s.jsx)("a",{href:"/pravo",onClick:F,children:"Законы и правила"}),(0,s.jsx)("a",{href:"/video",onClick:F,children:"Видео"}),(0,s.jsx)("a",{href:"/guesthouse",onClick:F,children:"О доме"})]})]}),(0,s.jsx)("a",{href:"#booking",onClick:F,className:"btn-primary",style:{marginTop:"auto",textAlign:"center"},children:"Забронировать"})]}),(0,s.jsxs)("main",{id:"main",children:[(0,s.jsxs)("section",{className:"hero",children:[(0,s.jsx)("div",{className:"hero-bg",children:(0,s.jsx)("div",{ref:z,className:"absolute inset-0 h-full w-full will-change-transform",children:(0,s.jsx)(a.HeroBackgroundVideo,{videoSrc:M.SOVKHOZ_YARD_HERO_PREVIEW,posterSrc:e.heroImageUrl??M.SOVKHOZ_YARD_POSTER??"https://avatars.mds.yandex.net/get-altay/1524599/2a0000016a167bf292e7f5007b33e44ea64d/XXXL",alt:"Гостевой дом «Бригантина» в Дивноморске"})})}),(0,s.jsx)("div",{className:"hero-content",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"hero-copy",children:[(0,s.jsxs)("div",{className:"hero-eyebrow",children:[(0,s.jsx)("span",{className:"hero-eyebrow-dot"}),"Дивноморск, Краснодарский край"]}),(0,s.jsx)("h1",{className:"hero-heading",children:"Гостевой дом «Бригантина»"}),(0,s.jsx)("p",{className:"hero-sub",children:e.heroSubtitle}),(0,s.jsxs)("div",{className:"hero-stats",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"hero-stat-n",children:e.stats.rating}),(0,s.jsx)("div",{className:"hero-stat-l",children:"Рейтинг"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"hero-stat-n",children:e.stats.beachWalk}),(0,s.jsx)("div",{className:"hero-stat-l",children:"До пляжа"})]}),(0,s.jsxs)("a",{href:e.contacts.phoneHref,className:"hero-phone","aria-label":`Позвонить ${e.contacts.phone}`,children:[(0,s.jsx)("div",{className:"hero-stat-n",children:"+7(903)412-22-24"}),(0,s.jsx)("div",{className:"hero-stat-l",children:"Телефон"})]})]}),(0,s.jsxs)("div",{className:"hero-cta",children:[(0,s.jsxs)("a",{href:"#booking",className:"btn-primary",children:[(0,s.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5","aria-hidden":!0,children:[(0,s.jsx)("rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}),(0,s.jsx)("line",{x1:"16",y1:"2",x2:"16",y2:"6"}),(0,s.jsx)("line",{x1:"8",y1:"2",x2:"8",y2:"6"}),(0,s.jsx)("line",{x1:"3",y1:"10",x2:"21",y2:"10"})]}),"Проверить даты"]}),(0,s.jsxs)("a",{href:"#houses",className:"btn-outline",children:["Смотреть объекты",(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})]})]})})}),(0,s.jsxs)("div",{className:"hero-scroll-hint","aria-hidden":!0,children:[(0,s.jsx)("span",{children:"Листать вниз"}),(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M12 5v14M5 12l7 7 7-7"})})]})]}),(0,s.jsx)("div",{className:"booking-strip",id:"booking",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{id:"booking-widget",className:"booking-widget"})})}),(0,s.jsx)("section",{className:"hot-offers-strip","aria-label":"Горящие предложения",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{id:"hot-offers",className:"hot-offers-widget"})})}),c&&(0,s.jsx)(p,{weather:c}),(0,s.jsx)("section",{className:"section",id:"about",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"about-grid",children:[(0,s.jsx)($,{className:"from-left",children:(0,s.jsx)("div",{className:"about-img",children:(0,s.jsx)(i.SiteImage,{src:e.aboutImageUrl??"https://avatars.mds.yandex.net/get-altay/1524599/2a0000016a167bf292e7f5007b33e44ea64d/XXXL",alt:"Номер гостевого дома «Бригантина»",width:600,height:500,className:"h-[500px] w-full object-cover"})})}),(0,s.jsxs)($,{className:"from-right",children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"О нас"}),(0,s.jsx)("h2",{className:"section-heading",children:"Домашний уют на черноморском побережье"}),(0,s.jsx)("p",{className:"section-sub",children:e.aboutText}),(0,s.jsxs)("ul",{className:"about-list",children:[(0,s.jsxs)("li",{children:[(0,s.jsx)(S,{}),(0,s.jsx)("span",{children:"Два объекта в разных частях Дивноморска — выберите расположение, которое вам ближе"})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(S,{}),(0,s.jsx)("span",{children:"Собственный бассейн, закрытая территория, мангальная зона; платная парковка рядом с домом"})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(S,{}),(0,s.jsx)("span",{children:"Свежее постельное бельё и полотенца, ежедневная уборка по запросу"})]}),(0,s.jsxs)("li",{children:[(0,s.jsx)(S,{}),(0,s.jsx)("span",{children:"Семейный отдых приветствуется — детская площадка, мелководный пляж рядом"})]})]})]})]})})}),(0,s.jsx)("section",{className:"section houses-section",id:"houses",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Наши объекты"}),(0,s.jsx)("h2",{className:"section-heading",children:"Два дома — одно побережье"})]}),(0,s.jsx)("div",{className:"houses-grid",children:e.houses.map((e,a)=>{let l=e.gallery.find(e=>"video"===e.type&&e.previewUrl);return(0,s.jsxs)("div",{className:`house-card reveal reveal-delay-${a+1}`,children:[(0,s.jsxs)("div",{className:"house-img",children:[(0,s.jsx)("span",{className:"house-tag",children:e.tag}),l?.previewUrl?(0,s.jsx)(C,{src:l.previewUrl,poster:l.poster??e.imageUrl??void 0,className:"house-img-video",label:l.alt||e.name,rootMargin:"180px"}):e.imageUrl?(0,s.jsx)(i.SiteImage,{src:e.imageUrl,alt:e.name,width:640,height:300,className:"h-full w-full object-cover",loading:"lazy"}):null]}),(0,s.jsxs)("div",{className:"house-body",children:[(0,s.jsx)("h3",{className:"house-name",children:e.name}),(0,s.jsxs)("div",{className:"house-addr",children:[(0,s.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5","aria-hidden":!0,
1children:[(0,s.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),(0,s.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),W(e.id)?(0,s.jsx)("a",{href:W(e.id).reviewUrl,target:"_blank",rel:"noopener noreferrer",className:"house-addr-link",children:e.address}):e.address]}),(0,s.jsx)("p",{className:"house-desc",children:e.description}),(0,s.jsx)("div",{className:"house-features",children:e.features.map(e=>(0,s.jsx)("span",{className:"house-feature",children:e},e))}),(0,s.jsxs)("div",{className:"house-cta",children:[(0,s.jsx)("a",{href:"#booking",className:"btn-primary",children:"Забронировать"}),W(e.id)?(0,s.jsx)("button",{type:"button",className:"btn-secondary",onClick:()=>D(W(e.id)),children:"На карте"}):null,(0,s.jsxs)("a",{href:`#rooms-${e.id}`,className:"btn-secondary",children:["Номера (",e.roomCount,")"]}),e.gallery.length>0?(0,s.jsx)("a",{href:`#house-gallery-${e.id}`,className:"btn-secondary",children:"Фото"}):null]})]})]},e.id)})}),e.houses.map(e=>e.gallery.length>0?(0,s.jsx)(U,{house:e},`gallery-${e.id}`):null)]})}),(0,s.jsx)("section",{className:"section",id:"rooms",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Номера"}),(0,s.jsx)("h2",{className:"section-heading",children:"Выберите свой номер"}),(0,s.jsx)("p",{className:"section-sub",children:"Все номера оснащены кондиционером, холодильником и Wi-Fi. Постельное бельё и полотенца включены."})]}),e.roomGroups.map(e=>(0,s.jsxs)("div",{className:"room-group",id:`rooms-${e.id}`,children:[(0,s.jsxs)($,{children:[(0,s.jsx)("h3",{className:"room-group-title",children:e.name}),(0,s.jsxs)("p",{className:"room-group-count",children:[e.rooms.length," категорий номеров"]})]}),(0,s.jsx)("div",{className:"rooms-grid",children:e.rooms.map((e,a)=>(0,s.jsx)(x.RoomCard,{room:e,revealClassName:`reveal reveal-delay-${a%3+1}`},e.id))})]},e.id))]})}),(0,s.jsx)("section",{className:"section amenities-section",id:"amenities",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Удобства"}),(0,s.jsx)("h2",{className:"section-heading",children:"Всё для комфортного отдыха"})]}),(0,s.jsxs)("div",{className:"amenities-grid",children:[(0,s.jsxs)("div",{className:"amenity-item reveal reveal-delay-1",children:[(0,s.jsxs)("svg",{className:"amenity-icon",viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":!0,children:[(0,s.jsx)("ellipse",{cx:"24",cy:"30",rx:"18",ry:"8"}),(0,s.jsx)("path",{d:"M6 30 Q24 14 42 30"})]}),(0,s.jsx)("div",{className:"amenity-name",children:"Бассейн"}),(0,s.jsx)("p",{className:"amenity-desc",children:"Открытый бассейн на территории обоих домов — на Кирова и на Совхозной"})]}),(0,s.jsxs)("div",{className:"amenity-item reveal reveal-delay-2",children:[(0,s.jsxs)("svg",{className:"amenity-icon",viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":!0,children:[(0,s.jsx)("rect",{x:"8",y:"16",width:"32",height:"24",rx:"3"}),(0,s.jsx)("path",{d:"M16 16V12a8 8 0 0116 0v4"}),(0,s.jsx)("circle",{cx:"24",cy:"28",r:"4"})]}),(0,s.jsx)("div",{className:"amenity-name",children:"Безопасность"}),(0,s.jsx)("p",{className:"amenity-desc",children:"Закрытая территория и видеонаблюдение; платная парковка — рядом с домом"})]}),(0,s.jsxs)("div",{className:"amenity-item reveal reveal-delay-3",children:[(0,s.jsxs)("svg",{className:"amenity-icon",viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":!0,children:[(0,s.jsx)("path",{d:"M8 36L16 20l8 10 8-14 8 20"}),(0,s.jsx)("circle",{cx:"8",cy:"36",r:"2",fill:"currentColor"})]}),(0,s.jsx)("div",{className:"amenity-name",children:"Wi-Fi и ТВ"}),(0,s.jsx)("p",{className:"amenity-desc",children:"Высокоскоростной интернет и кабельное телевидение во всех номерах"})]}),(0,s.jsxs)("div",{className:"amenity-item reveal reveal-delay-4",children:[(0,s.jsxs)("svg",{className:"amenity-icon",viewBox:"0 0 48 48",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":!0,
1children:[(0,s.jsx)("path",{d:"M12 12h24v20H12z"}),(0,s.jsx)("path",{d:"M8 32h32v4H8z"}),(0,s.jsx)("path",{d:"M20 32v4M28 32v4"}),(0,s.jsx)("path",{d:"M16 20h16"}),(0,s.jsx)("path",{d:"M16 16h8"})]}),(0,s.jsx)("div",{className:"amenity-name",children:"Кухня и мангал"}),(0,s.jsx)("p",{className:"amenity-desc",children:"Общая оборудованная кухня и мангальная зона с беседкой на свежем воздухе"})]})]})]})}),(0,s.jsx)("section",{className:"section home-video-section",id:"video",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Видео"}),(0,s.jsx)("h2",{className:"section-heading",children:"Свежие видео из Дивноморска"}),(0,s.jsx)("p",{className:"section-sub",children:"Свежие ролики из нашего сообщества ВКонтакте — обновляются автоматически после новых загрузок."})]}),m.length>0?(0,s.jsx)($,{children:(0,s.jsx)(E,{videos:m})}):(0,s.jsxs)("p",{className:"home-video-empty",children:["Скоро здесь появится новое видео. Все ролики — в разделе"," ",(0,s.jsx)("a",{href:"/video",children:"Видео"}),"."]})]})}),(0,s.jsx)("section",{className:"section reviews-section",id:"reviews",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Отзывы"}),(0,s.jsx)("h2",{className:"section-heading",children:"О нас говорят"}),(0,s.jsx)("p",{className:"section-sub reviews-yandex-lead",children:"Актуальные отзывы гостей с Яндекс Карт по каждому дому. После отдыха можете оставить свой — это помогает другим выбрать жильё."})]}),(0,s.jsx)("div",{className:"yandex-reviews-widgets",children:t.YANDEX_REVIEW_LINKS.map(e=>(0,s.jsxs)("div",{className:"yandex-reviews-widget reveal",children:[(0,s.jsxs)("div",{className:"yandex-reviews-widget-head",children:[(0,s.jsx)("h3",{className:"yandex-reviews-widget-title",children:e.name}),(0,s.jsx)("a",{href:e.reviewUrl,target:"_blank",rel:"noopener noreferrer",className:"yandex-reviews-widget-link",children:"Открыть на Яндекс Картах →"})]}),(0,s.jsx)("iframe",{title:`Отзывы: ${e.name}`,src:`https://yandex.ru/maps-reviews-widget/${e.orgId}?comments`,className:"yandex-reviews-iframe",loading:"lazy"})]},e.id))})]})}),(0,s.jsx)("section",{className:"section",id:"location",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Расположение"}),(0,s.jsx)("h2",{className:"section-heading",children:"Где нас найти"})]}),(0,s.jsxs)("div",{className:"location-grid",children:[(0,s.jsxs)($,{className:"from-left location-houses",children:[(0,s.jsxs)("div",{className:"location-house-card",children:[(0,s.jsx)("h3",{className:"location-house-name",children:e.houses[0]?.name}),(0,s.jsx)("div",{className:"location-house-addr",children:(0,s.jsx)("a",{href:t.YANDEX_REVIEW_LINKS[0]?.reviewUrl,target:"_blank",rel:"noopener noreferrer",className:"location-house-addr-link",children:e.contacts.addressKirova})}),(0,s.jsxs)("div",{className:"location-distances",children:[(0,s.jsx)("span",{className:"loc-chip",children:"🏖 До пляжа — 500 м"}),(0,s.jsx)("span",{className:"loc-chip",children:"🏪 Магазины рядом"}),(0,s.jsx)("span",{className:"loc-chip",children:"🌊 Набережная — 5 мин"})]}),(0,s.jsx)("a",{href:t.YANDEX_REVIEW_LINKS[0]?.reviewUrl,target:"_blank",rel:"noopener noreferrer",className:"location-review-link",children:"Отзывы на Яндекс Картах"})]}),(0,s.jsxs)("div",{className:"location-house-card",children:[(0,s.jsx)("h3",{className:"location-house-name",children:e.houses[1]?.name??"Бригантина на Совхозной"}),(0,s.jsx)("div",{className:"location-house-addr",children:(0,s.jsx)("a",{href:t.YANDEX_REVIEW_LINKS[1]?.reviewUrl,target:"_blank",rel:"noopener noreferrer",className:"location-house-addr-link",children:e.contacts.addressSovkhozny})}),(0,s.jsxs)("div",{className:"location-distances",children:[(0,s.jsx)("span",{className:"loc-chip",children:"🏖 До моря — 15 мин пешком"}),(0,s.jsx)("span",{className:"loc-chip",children:"🌿 Тихий район"}),(0,s.jsx)("span",{className:"loc-chip",children:"🌊 Набережная — 15 мин"})]}),(0,s.jsx)("a",{href:t.YANDEX_REVIEW_LINKS[1]?.reviewUrl,target:"_blank",rel:"noopener noreferrer",className:"location-review-link",children:"Отзывы на Яндекс Картах"})]})]}),(0,s.jsxs)($,{className:"from-right map-embed",children:[(0,s.jsx)(o,{apiKey:(0,t.yandexMapsApiKey)(),locations:t.YANDEX_REVIEW_LINKS}),(0,s.jsx)("p",{className:"map-hint",children:"На карте отмечены оба дома. Кнопка «Пробки» поможет построить маршрут до выбранного объекта."})]})]})]})}),(0,s.jsx)("section",{className:"section faq-section",id:"faq",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Вопросы и ответы"}),(0,s.jsx)("h2",{className:"section-heading",children:"Часто спрашивают"})]}),(0,s.jsx)("div",{className:"faq-list reveal",children:L.map((e,a)=>(0,s.jsxs)("div",{className:`faq-item${A===a?" open":""}`,children:[(0,s.jsxs)("button",{type:"button",className:"faq-q",onClick:()=>B(e=>e===a?null:a),children:[e.q,(0,s.jsxs)("svg",{className:"faq-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5","aria-hidden":!0,
1children:[(0,s.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,s.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})]}),(0,s.jsx)("div",{className:"faq-a",children:(0,s.jsx)("p",{children:e.a})})]},e.q))})]})}),(0,s.jsx)("section",{className:"section",id:"contacts",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)($,{children:[(0,s.jsx)("div",{className:"section-eyebrow",children:"Связь"}),(0,s.jsx)("h2",{className:"section-heading",children:"Свяжитесь с нами"})]}),(0,s.jsx)("div",{className:"contacts-grid contacts-grid-solo",children:(0,s.jsxs)($,{className:"from-left contact-info",children:[(0,s.jsxs)("div",{className:"contact-row",children:[(0,s.jsx)("div",{className:"contact-icon",children:(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07A19.5 19.5 0 013.07 9.81 19.79 19.79 0 01.01 1.18 2 2 0 012 0h3a2 2 0 012 1.72c.127.96.361 1.903.7 2.81a2 2 0 01-.45 2.11L6.91 7.91a16 16 0 006.29 6.29l1.27-1.27a2 2 0 012.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0122 16.92z"})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"contact-label",children:"Телефон"}),(0,s.jsx)("a",{href:e.contacts.phoneHref,className:"contact-value",children:e.contacts.phone})]})]}),(0,s.jsxs)("div",{className:"contact-row",children:[(0,s.jsx)("div",{className:"contact-icon",children:(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M12 2a10 10 0 100 20 10 10 0 000-20zm3.4 13.3c-.2.5-.9.9-1.5 1-.4.1-1 .2-2.9-.6-2.4-1-3.9-3.5-4-3.7-.1-.2-1-1.3-1-2.5s.6-1.8.9-2c.2-.2.5-.3.8-.3h.6c.2 0 .4 0 .6.5.2.5.7 1.8.8 1.9.1.1.1.3 0 .5l-.3.5c-.1.2-.3.3-.2.5.2.3.8 1.3 1.7 2.1 1.2 1 2.2 1.3 2.5 1.5.3.1.5.1.7-.1.2-.2.7-.8.9-1.1.2-.3.4-.2.6-.1.3.1 1.7.8 2 .9.3.2.5.2.6.3.1.2.1.9-.1 1.4z"})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"contact-label",children:"Мессенджер MAX"}),(0,s.jsx)("a",{href:e.contacts.maxUrl,className:"contact-value",target:"_blank",rel:"noopener noreferrer",children:"Написать в MAX · +7 903 412-22-24"})]})]}),(0,s.jsxs)("div",{className:"contact-row",children:[(0,s.jsx)("div",{className:"contact-icon",children:(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:[(0,s.jsx)("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}),(0,s.jsx)("polyline",{points:"22,6 12,13 2,6"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"contact-label",children:"Email"}),(0,s.jsx)("a",{href:`mailto:${e.contacts.email}`,className:"contact-value",children:e.contacts.email})]})]}),(0,s.jsxs)("div",{className:"contact-row",children:[(0,s.jsx)("div",{className:"contact-icon",children:(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,s.jsx)("polyline",{points:"12 6 12 12 16 14"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"contact-label",children:"Режим работы"}),(0,s.jsx)("div",{className:"contact-value contact-value-static",children:"Ежедневно с 9:00 до 21:00"})]})]}),(0,s.jsxs)("div",{className:"contact-row",children:[(0,s.jsx)("div",{className:"contact-icon",children:(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":!0,children:[(0,s.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"}),(0,s.jsx)("circle",{cx:"12",cy:"10",r:"3"})]})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"contact-label",children:"Адреса"}),(0,s.jsxs)("div",{className:"contact-value contact-addresses",children:[(0,s.jsx)("a",{href:t.YANDEX_REVIEW_LINKS[0]?.reviewUrl,target:"_blank",rel:"noopener noreferrer",children:e.contacts.addressKirova}),(0,s.jsx)("a",{href:t.YANDEX_REVIEW_LINKS[1]?.reviewUrl,target:"_blank",rel:"noopener noreferrer",children:e.contacts.addressSovkhozny})]})]})]})]})})]})})]}),(0,s.jsx)(l.default,{src:"https://br.divnomorskoe.ru/widget-booking.js",strategy:"afterInteractive",onLoad:V}),(0,s.jsx)("footer",{children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"footer-grid",children:[(0,s.jsxs)("div",{className:"footer-brand",children:[(0,s.jsx)("div",{className:"nav-logo",style:{textDecoration:"none",display:"flex",alignItems:"center",gap:"var(--space-3)",color:"#fff"},children:(0,s.jsx)(i.SiteImage,{src:"/logo.svg",alt:"Логотип Дивноморск",width:64,height:64,className:"footer-logo-mark"})}),(0,s.jsx)("p",{className:"footer-desc",children:"Два уютных гостевых дома на черноморском побережье. Отдыхайте с комфортом."})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"footer-title",children:"Объекты"}),(0,s.jsxs)("ul",{className:"footer-links",children:[(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#houses",children:"Бригантина на Кирова"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#houses",children:"Бригантина на Совхозной"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#rooms",children:"Все номера"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#booking",children:"Бронирование"})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"footer-title",children:"Информация"}),(0,s.jsxs)("ul",{className:"footer-links",children:[(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#about",children:"О нас"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#amenities",children:"Удобства"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#reviews",children:"Отзывы"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#faq",children:"Вопросы и ответы"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"/raspisanie",children:"Дорога"})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"footer-title",children:"Контакты"}),(0,s.jsxs)("ul",{className:"footer-links",children:[(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:e.contacts.phoneHref,children:e.contacts.phone})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:e.contacts.maxUrl,target:"_blank",rel:"noopener noreferrer",children:"Написать в MAX"})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:`mailto:${e.contacts.email}`,children:e.contacts.email})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:"#location",children:"Как добраться"})})]})]})]}),(0,s.jsxs)("div",{className:"footer-bottom",children:[(0,s.jsx)("div",{className:"footer-copy",children:"© 2026 Гостевые дома в Дивноморске. Все права защищены."}),(0,s.jsxs)("div",{className:"footer-social",children:[(0,s.jsx)("a",{href:e.contacts.maxUrl,"aria-label":"MAX",target:"_blank",rel:"noopener noreferrer",children:"MAX"}),(0,s.jsx)(h,{})]})]})]})}),(0,s.jsx)(d,{location:R,apiKey:(0,t.yandexMapsApiKey)(),onClose:()=>D(null)})]})}],55665)}]);

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.