PageSourceSearch

https://flysk.ru/assets/entries/pages_news_-slug.B2z3wW93.js

js flysk.ru collected 2026-10-02 00:13:46 UTC 10,062 bytes, 1 lines download raw bytes

1import{d as h,a as n,e as a,t as S,k as y,F as T,s as x,h as o,f as l,c as i,q as D,v as P,g as u,l as v,b as r,w as A,r as z,u as U,i as E}from"../chunks/chunk-XxbXtNwf.js";import{D as C,a as j,P as N,i as $,b as B,c as M,d as V}from"../chunks/chunk-CiXZas8y.js";import{D as R,A as H,h as K}from"../chunks/chunk-ftvJM5OQ.js";import{H as L}from"../chunks/chunk-D8HtBIwb.js";import{C as I}from"../chunks/chunk-_HNsnov7.js";import{N as O}from"../chunks/chunk-KaNT2xgS.js";/* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      */import"../chunks/chunk-BwgKl_e-.js";/* empty css                      *//* empty css                      */import"../chunks/chunk-B72EJHIY.js";/* empty css                      *//* empty css                      */import"../chunks/chunk-DUWAqURw.js";/* empty css                      *//* empty css                      *//* empty css                      */import"../chunks/chunk-DA_-Thph.js";/* empty css                      */import"../chunks/chunk-DBLiJq03.js";/* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      */const F={class:"related-news py-16 md:py-20 bg-gray-50 dark:bg-gray-900"},q={class:"container-xl mx-auto px-4"},J={class:"flex items-center justify-between mb-10"},G={class:"text-2xl md:text-3xl font-bold text-gray-900 dark:text-white"},Q={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8"},W=h({__name:"RelatedNews",props:{news:{},title:{default:"Читайте также"}},setup(d){return(e,s)=>
1(o(),n("section",F,[a("div",q,[a("div",J,[a("h2",G,S(e.title),1),s[0]||(s[0]=a("a",{href:"/news",class:"hidden sm:inline-flex items-center gap-2 px-6 py-3.5 rounded-xl font-semibold text-base transition-all duration-200 no-underline bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700 whitespace-nowrap"},[y(" Все новости "),a("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"})])],-1))]),a("div",Q,[(o(!0),n(T,null,x(e.news,p=>(o(),l(O,{key:p.id,news:p,"show-badge":!1},null,8,["news"]))),128))]),s[1]||(s[1]=a("div",{class:"text-center mt-10 sm:hidden"},[a("a",{href:"/news",class:"inline-flex items-center gap-2 px-6 py-3.5 rounded-xl font-semibold text-base transition-all duration-200 no-underline bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700"},[y(" Все новости "),a("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 8l4 4m0 0l-4 4m4-4H3"})])])],-1))])]))}}),X={class:"news-detail-page min-h-screen flex flex-col"},Y={class:"flex-1"},Z={key:0,class:"news-cover-image mb-8"},ee=["src","alt"],te={key:1,class:"py-12 md:py-16"},ae={class:"container-xl px-4"},oe={class:"max-w-4xl mx-auto"},re={key:0,class:"news-cover-image mb-8"},se=["src","alt"],ie=h({__name:"NewsDetailPage",props:{news:{},blocksData:{},relatedNews:{},header:{},headerKey:{},headerMenus:{},footer:{},footerKey:{},footerMenus:{}},setup(d){const e=d,s=i(()=>"news-hero-".concat(e.news.id)),p=i(()=>{if(e.news.excerpt)return'<span style="position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;">TL;DR: </span><span style="font-weight: 600; color: #9333EA; margin-right: 0.5em;">Кратко:</span>'.concat(e.news.excerpt)}),c=i(()=>({id:s.value,status:e.news.status,show_breadcrumbs:!0,breadcrumb_title:"Новости / ".concat(e.news.title),overline:"Новость",headline:e.news.title,headline_tag:"h1",subheadline:p.value,subheadline_tag:"p",visual_style:"auto",size:"auto",column_proportions:"full-width",container_width:"xl",right_content:"none",background_type:"transparent"})),f=i(()=>e.news.blocks||[]),b=i(()=>e.news.published_at||e.news.date_created),m=i(()=>{if(!e.news.cover_image)return;const t=typeof e.news.cover_image=="string"?e.news.cover_image:e.news.cover_image.id;return"".concat(H,"/assets/").concat(t)}),k=i(()=>K({headline:e.news.title,description:e.news.excerpt,datePublished:e.news.published_at||e.news.date_created,dateModified:e.news.date_updated,imageUrl:m.value,pageUrl:"https://flysk.ru/news/".concat(e.news.slug)})),_=D();return P(k,t=>{t&&_({Head:z("script",{type:"application/ld+json",innerHTML:JSON.stringify(t)})})},{immediate:!0}),(t,g)=>{var w;return o(),n("div",X,[t.headerKey?(o(),l(C,{key:0,"header-key":t.headerKey,header:t.header,menus:t.headerMenus},null,8,["header-key","header","menus"])):u("v-if",!0),a("main",Y,[v(L,{id:s.value,"page-id":t.news.id,"block-data":c.value},null,8,["id","page-id","block-data"]),g[0]||(g[0]=a("div",{id:"mobile-toc-target"},null,-1)),f.value.length>0?(o(),l(I,{key:0,"toc-items":[],"reading-time":0,"cta-block-id":((w=t.blocksData)==null?void 0:w.sidebarCtaId)||r(R),"blocks-data":t.blocksData,"date-published":b.value,"date-modified":t.news.date_updated},{default:A(()=>[t.news.cover_image?(o(),n("figure",Z,[a("img",{src:m.value,alt:t.news.title,class:"w-full rounded-xl",loading:"eager"},null,8,ee)])):u("v-if",!0),v(N,{blocks:f.value,"blocks-data":t.blocksData,"page-id":t.news.id,"cta-no-container":!0},null,8,["blocks","blocks-data","page-id"])]),_:1},8,["cta-block-id","blocks-data","date-published","date-modified"])):(o(),n("div",te,[a("div",ae,[a("div",oe,[t.news.cover_image?(o(),n("figure",re,[a("img",{src:m.value,alt:t.news.title,class:"w-full rounded-xl",loading:"eager"},null,8,se)])):u("v-if",!0)])])])),t.relatedNews.length>0?(o(),l(W,{key:2,news:t.relatedNews},null,8,["news"])):u("v-if",!0)]),t.footerKey?(o(),l(j,{key:1,"footer-key":t.footerKey,footer:t.footer,menus:t.footerMenus,"blocks-data":t.blocksData}
1,null,8,["footer-key","footer","menus","blocks-data"])):u("v-if",!0)])}}}),ne=h({__name:"+Page",setup(d){const e=U();return(s,p)=>{var c;return o(),l(ie,{key:(c=r(e).news)==null?void 0:c.slug,news:r(e).news,"blocks-data":r(e).blocksData,"related-news":r(e).relatedNews||[],header:r(e).header,"header-key":r(e).headerKey,"header-menus":r(e).headerMenus,footer:r(e).footer,"footer-key":r(e).footerKey,"footer-menus":r(e).footerMenus},null,8,["news","blocks-data","related-news","header","header-key","header-menus","footer","footer-key","footer-menus"])}}}),le=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"}));function de(d){const e=d.data;return e!=null&&e.news?"".concat(e.news.title," | Флайск"):"Новость | Флайск"}const pe=Object.freeze(Object.defineProperty({__proto__:null,title:de},Symbol.toStringTag,{value:"Module"})),lt={hasServerOnlyHook:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},isClientRuntimeLoaded:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:{server:!0}}},onRenderClient:{type:"standard",definedAtData:{filePathToShowToUser:"vike-vue/__internal/integration/onRenderClient",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:E}},onPageTransitionStart:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/+onPageTransitionStart.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:V}},onPageTransitionEnd:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/+onPageTransitionEnd.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:M}},Page:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/news/@slug/+Page.vue",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:le}},hydrationCanBeAborted:{type:"standard",definedAtData:{filePathToShowToUser:"vike-vue/config",fileExportPathToShowToUser:["default","hydrationCanBeAborted"]},valueSerialized:{type:"js-serialized",value:!0}},prefetchStaticAssets:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/+config.ts",fileExportPathToShowToUser:["default","prefetchStaticAssets"]},valueSerialized:{type:"js-serialized",value:"viewport"}},Layout:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/pages/+Layout.vue",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:B}]},title:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/news/@slug/+title.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:pe}},lang:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/+config.ts",fileExportPathToShowToUser:["default","lang"]},valueSerialized:{type:"js-serialized",value:"ru"}},onCreateApp:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/pages/+onCreateApp.ts",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:$}]}};export{lt as configValuesSerialized};

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.