1import{a as M,C as V}from"./nDPKqmdE.js";import{u as E,P as I}from"./BFmxbmU5.js";import{S as j}from"./RLaqixlW.js";import{u as q}from"./dMF7novI.js";import{u as z}from"./BxdCw9Oe.js";import{P as U}from"./B_Q8MPy-.js";import{P as G}from"./DNA_u_4D.js";import{R as H}from"./5Gploex2.js";import{u as J}from"./Bnt6or6e.js";import{a as K,C as O,k as o,j as Q,b as a,i as p,f as i,l as s,m as W,t as X,u as n,F as v,q as b,s as Y,e as t}from"./DuX0ydu4.js";import{u as Z}from"./BFIjNOIc.js";import{u as ee}from"./3A9mNRhq.js";import"./D1uPuEaH.js";import"./C6to7a0o.js";import"./CyfOrvRG.js";import"./ChfCcgRj.js";const te={class:"section-main__title"},ae={key:0,class:"section-buttons__wrapper"},oe={class:"x-grid elements-list"},se={key:0,class:"x-col"},ne={key:1,class:"x-col"},re={key:0,class:"x-col"},ie={key:2,class:"section-empty"},le={key:3,class:"section-error"},Be=K({__name:"[[section]]",async setup(ce){let c,y;const u={color:"#7472A5",pageTitle:"ЧиÑаÑÑ",metaTitle:"ЧиÑаÑÑ | ÐиноТÐ",metaDesc:"ЧиÑаÑÑ - ÐлавнÑй РоÑÑийÑкий Ñелеканал о кино",description:"ÐнÑеÑвÑÑ Ñ ÐºÐ¸Ð½ÐµÐ¼Ð°ÑогÑаÑиÑÑами, опÑоÑÑ Ð¿ÑедÑÑавиÑелей индÑÑÑÑии, ÑÐ°Ð·Ð±Ð¾Ñ Ð¸ анализ ÑвоÑÑеÑкого меÑода извеÑÑнÑÑ
ÑежиÑÑÑÑов, иÑÑоÑии пÑо кино и из кино, ÑпеÑиалÑнÑе пÑоекÑÑ, ÑамÑе важнÑе новоÑÑи из миÑа ÑоÑÑийÑкого и миÑового кинемаÑогÑаÑа. ЧиÑаем ÑеÑензии кÑиÑиков на лÑÑÑие новинки и миÑовÑе ÑедевÑÑ, ÑобиÑаем ÑемаÑиÑеÑкие подбоÑки и ÑзнаÑм болÑÑе пÑо кино."},x=O(),d=o(()=>x.params.section||null),{page:P,setPage:B}=Z(),{getAllArticles:k}=q(),{data:_}=([c,y]=Q(()=>ee("read-sections",()=>$fetch("/api/read/section"),{server:!0,getCachedData:(e,m)=>m.payload.data[e]})),c=await c,y(),c),{items:h,appendNext:A,status:w,pagination:C,appending:D,error:R}=E({keyBase:"read-list",params:()=>({code:d.value??void 0}),page:()=>P.value,fetcher:e=>k(e)}),r=o(()=>(_.value??[]).find(e=>e.code===d.value)??null),S=o(()=>r.value?.tagColor||u.color);o(()=>null);const T=o(()=>r.value?.name||u.pageTitle);o(()=>r.value?.description||u.description),z(r,u);async function F(){await A(e=>k({code:d.value??void 0,page:e}),B)}const g=o(()=>w.value==="pending"),N=o(()=>_.value?.map(e=>({name:e.name,link:`/read/${e.code}/`,active:e.code===d.value}))),{updateBreadcrumbs:$}=J(),L=o(()=>{const e=[{title:"ЧиÑаÑÑ",to:"/read/"}];return r.value&&e.push({title:r.value.name,to:""}),e});return $(L.value),(e,m)=>(t(),a(v,null,[p("div",{class:"section load-more",style:Y(`--section-color: ${S.value}`)},[p("h1",te,X(T.value),1),n(_)?(t(),a("div",ae,[i(j,{items:N.value},null,8,["items"])])):s("",!0),p("div",oe,[(t(!0),a(v,null,b(n(h),(l,f)=>(t(),a(v,{key:l.id},[f===1?(t(),a("div",se,[i(U)])):s("",!0),g.value?s("",!0):(t(),a("div",ne,[i(M,{item:l,"is-first":!1,"badge-color":S.value,"class-name":"_default","has-desc":!1},null,8,["item","badge-color"])]))],64))),128)),g.value?(t(),a(v,{key:0},b(8,(l,f)=>p("div",{class:"x-col",key:`skeleton-${l}`},[f===1?(t(),a("div",re,[i(G)])):s("",!0),i(V)])),64)):s("",!0)]),n(C).pages>1?(t(),W(I,{key:1,pagination:n(C),loading:n(D)||g.value,onShowMore:m[0]||(m[0]=l=>F())},null,8,["pagination","loading"])):n(h)?s("",!0):(t(),a("div",ie,"ÐаÑеÑÐ¸Ð°Ð»Ñ Ð½Ðµ найденÑ.")),n(R)?(t(),a("div",le,"ÐÑибка загÑÑзки ÑпиÑка.")):s("",!0)],4),i(H,{title:"Также ÑекомендÑем",section:"read"})],64))}});export{Be as default};
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.