PageSourceSearch

https://divnomorskoe.ru/_next/static/chunks/02mj7xk4mc2ys.js

js divnomorskoe.ru collected 2026-10-04 22:56:45 UTC 15,321 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=l(e,n)),t&&(o.current=l(t,n))},[e,t])}function l(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 i},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(l.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),i&&"#"!==i[0]&&(i="#"+i),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${i}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let n=e.r(18967),o=e.r(52817);function l(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 v},useLinkStatus:function(){return j}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(90809),a=e.r(43476),i=l._(e.r(71645)),s=e.r(95057),u=e.r(8372),c=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let h=e.r(88540),m=e.r(91949),p=e.r(73668),b=e.r(9396);function v(t){var r,n;let o,l,v,[j,y]=(0,i.useOptimistic)(m.IDLE_LINK_STATUS),g=(0,i.useRef)(null),{href:k,as:w,children:N,prefetch:_=null,passHref:L,replace:E,shallow:T,scroll:R,onClick:S,onMouseEnter:M,onTouchStart:C,legacyBehavior:I=!1,onNavigate:O,transitionTypes:P,ref:$,unstable_dynamicOnHover:A,...U}=t;o=N,I&&("string"==typeof o||"number"==typeof o)&&(o=(0,a.jsx)("a",{children:o}));let B=i.default.useContext(u.AppRouterContext),z=!1!==_,K=!1!==_?null===(n=_)||"auto"===n?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,D="string"==typeof(r=w||k)?r:(0,s.formatUrl)(r);if(I){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});l=i.default.Children.only(o)}let W=I?l&&"object"==typeof l&&l.ref:$,F=i.default.useCallback(e=>(null!==B&&(g.current=(0,m.mountLinkInstance)(e,D,B,K,z,y)),()=>{g.current&&((0,m.unmountLinkForCurrentNavigation)(g.current),g.current=null),(0,m.unmountPrefetchableInstance)(e)}),[z,D,B,K,y]),q={ref:(0,c.useMergedRef)(F,W),onClick(t){I||"function"!=typeof S||S(t),I&&l.props&&"function"==typeof l.props.onClick&&l.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,o,l,a,s){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);i.default.startTransition(()=>{d(r,o?"replace":"push",!1===l?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,s)})}}(t,D,g,E,R,O,P)},onMouseEnter(e){I||"function"!=typeof M||M(e),I&&l.props&&"function"==typeof l.props.onMouseEnter&&l.props.onMouseEnter(e),B&&z&&(0,m.onNavigationIntent)(e.currentTarget,!0===A)},onTouchStart:function(e){I||"function"!=typeof C||C(e),I&&l.props&&"function"==typeof l.props.onTouchStart&&l.props.onTouchStart(e),B&&z&&(0,m.onNavigationIntent)(e.currentTarget,!0===A)}};return(0,d.isAbsoluteUrl)(D)?q.href=D:I&&!L&&("a"!==l.type||"href"in l.props)||(q.href=(0,f.addBasePath)(D)),v=I?i.default.cloneElement(l,q):(0,a.jsx)("a",{...U,...q,children:o}),(0,a.jsx)(x.Provider,{value:j,children:v})}e.r(84508);let x=(0,i.createContext)(m.IDLE_LINK_STATUS),j=()=>(0,i.useContext)(x);("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)},27501,e=>{"use strict";var t=e.i(43476),r=e.i(3303),n=e.i(71645),o=e.i(36046);let l="(max-width: 960px)";e.s(["ArticleHotOffersWidget",0,function({apiBaseUrl:e,organizationId:a,token:i,mountId:s="hot-offers",layout:u="vertical",title:c,caption:d,className:f}){let h=(0,n.useRef)(null),m=`#${s}`,p=(0,n.useCallback)(()=>{let t=document.querySelector(m);if(!t)return!1;let r=window;if(!r.BookingWidget)return!1;let n="horizontal"===u||window.matchMedia(l).matches?"horizontal":"vertical";return h.current===n&&t.childElementCount>0||(t.innerHTML="",r.BookingWidget.init({mount:m,mode:"hot-offers",layout:n,apiBaseUrl:e,organizationId:a,token:i,metrikaId:o.YANDEX_METRIKA_ID}),h.current=n,!0)},[e,a,i,m,u]);(0,n.useEffect)(()=>{let e=0,t=0;if(p()||(e=window.setInterval(()=>{p()&&window.clearInterval(e)},250),t=window.setTimeout(()=>window.clearInterval(e),8e3)),"vertical"!==u)return()=>{e&&window.clearInterval(e),t&&window.clearTimeout(t)};let r=window.matchMedia(l),n=()=>{h.current=null,p()};return r.addEventListener("change",n),()=>{e&&window.clearInterval(e),t&&window.clearTimeout(t),r.removeEventListener("change",n)}},[p,u]);let b="horizontal"===u;return(0,t.jsxs)("aside",{className:f??(b?"article-hot-offers-inline":"article-hot-offers-widget"),"aria-label":c??"Горящие предложения",children:[c?(0,t.jsx)("h2",{className:"article-callout-title",children:c}):null,d?(0,t.jsx)("p",{className:"article-hot-offers-caption",children:d}):null,(0,t.jsx)("div",{id:s,className:"article-hot-offers-mount"}),(0,t.jsx)(r.default,{src:"https://br.divnomorskoe.ru/widget-booking.js",strategy:"afterInteractive",onLoad:p})]})}])},95471,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(71645),o=e.i(72964);e.s(["InfoTransportNav",0,function(){let[e,l]=(0,n.useState)(!1),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!e)return;let t=e=>{a.current&&!a.current.contains(e.target)&&l(!1)},r=e=>{"Escape"===e.key&&l(!1)};return document.addEventListener("mousedown",t),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("keydown",r)}},[e]),(0,t.jsxs)("div",{className:"relative hidden sm:block",ref:a,children:[(0,t.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1 text-stone-600 hover:text-[#1e4d3f]","aria-expanded":e,"aria-haspopup":"true",onClick:()=>l(e=>!e),children:[o.TRANSPORT_MENU_LABEL,(0,t.jsx)("svg",{viewBox:"0 0 12 12",fill:"none",className:"h-3 w-3","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?(0,t.jsx)("div",{className:"absolute right-0 top-full z-50 mt-2 w-72 rounded-lg border border-stone-200 bg-white py-2 shadow-lg",role:"menu",children:o.TRANSPORT_MENU_ITEMS.map(e=>(0,t.jsx)(r.default,{href:e.href,role:"menuitem",className:"block px-4 py-2 text-sm leading-snug text-stone-600 hover:bg-stone-50 hover:text-[#1e4d3f]",onClick:()=>l(!1),children:e.label},e.href))}):null]})}])},37324,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016);let o=[{id:"30",name:"№ 30",fromLabel:"Геленджик (Рынок)",toLabel:"Дивноморское",note:"Основной частый маршрут до посёлка",times:{"to-divnomorskoe":["06:40","07:00","08:00","08:20","09:40","10:40","11:00","12:00","12:20","13:20","14:40","15:40","16:20","17:00","17:40","18:20","19:40","20:30"],"from-divnomorskoe":["07:20","07:40","08:40","09:00","10:20","11:20","11:40","12:40","13:00","14:00","15:20","16:20","17:00","17:40","18:20","19:00","20:20","21:00"]}},{id:"102",name:"№ 102",fromLabel:"Геленджик (Автостанция)",toLabel:"Дивноморское",note:"От автостанции, удобно после междугородних рейсов",times:{"to-divnomorskoe":["06:00","07:20","09:00","10:20","11:40","13:00","14:20","16:00","17:20"],"from-divnomorskoe":["06:40","08:00","09:40","11:00","12:20","13:40","15:00","16:40","18:00"]}}];function l(e,t){let r=e-t;if(r<0&&(r+=1440),0===r)return"сейчас";if(r<60)return`через ${r} мин`;let n=Math.floor(r/60),o=r%60;return 0===o?`через ${n} ч`:`через ${n} ч ${o} мин`}e.s(["BusScheduleBoard",0,function({compact:e=!1}){let[a,i]=(0,r.useState)("from-divnomorskoe"),[s,u]=(0,r.useState)("all"),[c,d]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=()=>{let e=new Date;d(60*e.getHours()+e.getMinutes())};e();let t=window.setInterval(e,3e4);return()=>window.clearInterval(t)},[]);let f=(0,r.useMemo)(()=>("all"===s?o:o.filter(e=>e.id===s)).flatMap(e=>e.times[a].map(t=>({routeId:e.id,routeName:e.name,time:t,from:"to-divnomorskoe"===a?e.fromLabel:e.toLabel,to:"to-divnomorskoe"===a?e.toLabel:e.fromLabel,minutes:function(e){let[t,r]=e.split(":").map(Number);return 60*t+r}(t),note:e.note}))).sort((e,t)=>e.minutes-t.minutes),[a,s]),h=(0,r.useMemo)(()=>{if(null===c)return[];let e=f.filter(e=>e.minutes>=c);return(e.length>0?e:f).slice(0,3)},[f,c]);return(0,t.jsxs)("section",{className:`bus-board${e?" is-compact":""}`,"aria-label":"Табло автобусов",children:[(0,t.jsx)("div",{className:"bus-board-head",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"bus-board-title",children:"Табло автобусов · Дивноморское ↔ Геленджик"}),(0,t.jsxs)("p",{className:"bus-board-sub",children:["Летнее расписание ","2026-07",". Ориентир для гостей «Бригантины» — уточняйте на остановке в день поездки."]})]})}),(0,t.jsxs)("div",{className:"bus-board-tabs",role:"tablist","aria-label":"Направление",children:[(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":"from-divnomorskoe"===a,className:`bus-board-tab${"from-divnomorskoe"===a?" is-active":""}`,onClick:()=>i("from-divnomorskoe"),children:"Из Дивноморского"}),(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":"to-divnomorskoe"===a,className:`bus-board-tab${"to-divnomorskoe"===a?" is-active":""}`,onClick:()=>i("to-divnomorskoe"),children:"В Дивноморское"})]}),(0,t.jsxs)("div",{className:"bus-board-filters",role:"group","aria-label":"Маршрут",children:[(0,t.jsx)("button",{type:"button",className:`bus-board-chip${"all"===s?" is-active":""}`,onClick:()=>u("all"),children:"Все"}),o.map(e=>(0,t.jsx)("button",{type:"button",className:`bus-board-chip${s===e.id?" is-active":""}`,onClick:()=>u(e.id),children:e.name},e.id))]}),h.length>0&&null!==c?(0,t.jsxs)("div",{className:"bus-board-next","aria-live":"polite",children:[(0,t.jsx)("h3",{className:"bus-board-next-title",children:"Ближайшие рейсы"}),(0,t.jsx)("ul",{className:"bus-board-next-list",children:h.map(e=>(0,t.jsxs)("li",{children:[(0,t.jsx)("strong",{children:e.time}),(0,t.jsx)("span",{children:e.routeName}),(0,t.jsx)("em",{children:l(e.minutes,c)})]},`${e.routeId}-${e.time}-next`))})]}):null,(0,t.jsx)("div",{className:"bus-board-table-wrap",children:(0,t.jsxs)("table",{className:"bus-board-table",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"col",children:"Время"}),(0,t.jsx)("th",{scope:"col",children:"Маршрут"}),(0,t.jsx)("th",{scope:"col",children:"Откуда → куда"}),(0,t.jsx)("th",{scope:"col",children:"Статус"})]})}),(0,t.jsx)("tbody",{children:f.map(e=>{let r=null!==c&&e.minutes<c,n=null!==c&&h[0]&&h[0].routeId===e.routeId&&h[0].time===e.time;return(0,t.jsxs)("tr",{className:`${r?"is-past":""}${n?" is-next":""}`,children:[(0,t.jsx)("td",{className:"bus-board-time",children:e.time}),(0,t.jsx)("td",{children:e.routeName}),(0,t.jsxs)("td",{children:[e.from," → ",e.to]}),(0,t.jsx)("td",{children:null===c?"—":r?"ушёл":l(e.minutes,c)})]},`${e.routeId}-${e.time}`)})})]})}),(0,t.jsxs)("div",{className:"bus-board-foot",children:[(0,t.jsx)("p",{children:"В пути обычно 15–25 минут. Оплата — наличные или карта (зависит от автобуса). Вечером в пик возможны интервалы длиннее."}),(0,t.jsxs)("p",{className:"bus-board-links",children:[(0,t.jsx)("a",{href:"https://yandex.ru/maps/23/gelendzhik/?l=masstransit",target:"_blank",rel:"noopener noreferrer",children:"Транспорт на Яндекс Картах"}
1),(0,t.jsx)("span",{"aria-hidden":!0,children:" · "}),(0,t.jsx)(n.default,{href:"/news/avtobusy-gelendzhik-2026",children:"Подробнее об автобусах"}),(0,t.jsx)("span",{"aria-hidden":!0,children:" · "}),(0,t.jsx)(n.default,{href:"/tips/taksi-i-perevozki",children:"Такси и трансферы"})]})]})]})}],37324)}]);

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.