1import he from"./Layout-0d08d3d7.js";import{E as Y}from"./EpisodeList-77c5a042.js";import{_ as ee}from"./ListSectionHeading-34176239.js";import{P as fe}from"./PodcastListSwipable-3a1ff733.js";import{P as Z}from"./PlaylistListSwipable-937ff1a6.js";import{S as ye,a as ve,_ as I}from"./AdSlot-a2b1f874.js";import{_ as _e}from"./_plugin-vue_export-helper-c27b6911.js";import{r as q,o as i,c as m,a as o,w as p,F as te,j as se,e as L,b as e,t as $,u as a,d as f,h,f as w,s as k,E as xe,P as ge,aR as N,q as be}from"./app-f96b9a38.js";import we from"./PlayRandomEpisodeSection-9be8ff47.js";import{_ as ke}from"./EpisodeListWithSquareItems-0197d2e5.js";import{a as $e}from"./useAuthStore-bd281680.js";import{P as Le}from"./PlusIcon-757d75ad.js";import{F as Se}from"./FavoriteIcon-d21876e3.js";import{_ as Pe}from"./EpisodeAddToPlaylistModal-e6bedf31.js";import{u as Ee}from"./usePlayerStore-ffc1d1da.js";import"./MainNav-4ac10d57.js";import"./MainAuthUserMenu-64843d4c.js";import"./SettingsIcon-17514e01.js";import"./menu-6e48567b.js";import"./dom-cadfdd7e.js";import"./focus-management-dccaee5f.js";import"./use-outside-click-f54ccb8d.js";import"./use-resolve-button-type-e81962cc.js";import"./MainAside-c8eb87d8.js";import"./useDarkMode-eb5341a5.js";import"./RecommendationIcon-375aa968.js";import"./KnowledgebaseIcon-e039e069.js";import"./EpisodeIcon-bc94c554.js";import"./PodcastPlaylistIcon-048cb04c.js";import"./ReportBugButton-3cf539b2.js";import"./Modal-046c4c5e.js";import"./CloseIcon-82975fa5.js";import"./transition-d5d1ed5a.js";import"./hidden-e39bbb26.js";import"./micro-task-89dcd6af.js";import"./description-9a269291.js";import"./FormTextarea-aff24f0e.js";import"./FormInputLabel-5489c904.js";import"./v4-a960c1f4.js";import"./FormTextInput-85d75d75.js";import"./FormPrimaryButton-0c835555.js";import"./LoadingIcon-9ac274f8.js";import"./switch-97e49124.js";import"./vue.runtime.esm-bundler-cbd40ca6.js";import"./MainFooter-763d8833.js";import"./CookieNotification-5c729a3c.js";import"./MainNavMobile-ec6d15b4.js";import"./vue-composable.esm-bundler-11aa148c.js";import"./MainNavMobileMenu-8fcb8fd4.js";import"./StatsIcon-2edff3fb.js";import"./ImpersonationHeader-65abc4f8.js";import"./useAudio-1b62b5d5.js";import"./isObject-a1be2107.js";import"./PlayIcon-a9c481d9.js";import"./SocialShareModal-5c52f41e.js";import"./VKIcon-293b1bd0.js";import"./OdnoklassnikiIcon-487f3d97.js";import"./CopyToClipboardButton-2f3e7452.js";import"./SocialShareIcon-63e83473.js";import"./tabs-f322d81b.js";const Ce={class:"relative overflow-hidden rounded-lg"},Ae=["src","alt"],je={class:"absolute inset-0 flex items-center justify-center bg-neutral-900/60 px-3 transition-colors duration-300 hover:bg-neutral-900/40"},Me={class:"text-center text-sm text-neutral-100 dark:text-neutral-300 lg:text-base"},Te={key:0,class:"mt-4 flex justify-center lg:hidden"},Xe={__name:"CategoryListSwipable",props:{title:{type:String,default:null},subtitle:{type:String,default:null},categories:{type:Array,required:!0},categoryLink:{type:Function,required:!0},showAllLink:{type:String,default:null}},setup(s){return(C,_)=>{const y=q("Link");return i(),m("section",null,[o(ee,{title:s.title,subtitle:s.subtitle,"show-all-link":s.showAllLink},null,8,["title","subtitle","show-all-link"]),o(a(ve),{"slides-per-view":"auto","grab-cursor":"",scrollbar:{draggable:!0},"free-mode":!0,"free-mode-minimum-velocity":.3,"free-mode-momentum-bounce-ratio":.3,"free-mode-sticky":!0},{default:p(()=>[(i(!0),m(te,null,se(s.categories,r=>(i(),L(a(ye),{key:r.id},{default:p(()=>[e("div",null,[o(y,{href:s.categoryLink(r),title:r.name},{default:p(()=>[e("div",Ce,[e("img",{src:r.image.md,alt:r.name,loading:"lazy",class:"h-full w-full object-cover",width:"400",height:"267"},null,8,Ae),e("div",je,[e("h5",Me,$(r.name),1)])])]),_:2},1032,["href","title"])])]),_:2},1024))),128))]),_:1},8,["free-mode-minimum-velocity","free-mode-momentum-bounce-ratio"]),s.showAllLink?(i(),m("div",Te,[o(y,{href:s.showAllLink,class:"button-rounded-outlined"},{default:p(()=>[f(" СмоÑÑеÑÑ Ð²Ñе ")]),_:1},8,["href"])])):h("",!0)])}}},qe=_e(Xe,[["__scopeId","data-v-73aef547"]]),De={class:"mb-5 lg:mb-9 flex items-end justify-between"},Fe={class:"section-heading"},Ie={key:0,class:"text-sm text-brand-100 dark:text-neutral-400"},Ne=["onClick"],ze=["src"],Be={key:0,class:"pointer-events-none absolute inset-0 flex items-center justify-center rounded-2xl bg-black/0 hover:bg-black/30 transition-all group"},Oe=e("div",{class:"opacity-0 group-hover:opacity-100 transition-opacity w-14 h-14 roun
1ded-full bg-white/90 flex items-center justify-center"},[e("svg",{class:"w-6 h-6 text-brand-300 ml-1",fill:"currentColor",viewBox:"0 0 24 24"},[e("path",{d:"M8 5v14l11-7z"})])],-1),Ve=[Oe],He={key:0,class:"group mt-4 flex items-center justify-between gap-3"},Re={class:"min-w-0 flex-1"},Ue={class:"flex flex-shrink-0 items-center space-x-4"},We={class:"flex w-12 items-center justify-end"},Ge={class:"text-sm text-brand-300 group-hover:hidden dark:text-neutral-100"},Je=["title"],Ke={__name:"EditorialCarousel",props:{episodes:{type:Array,required:!0},title:{type:String,default:"ÐÑÐ±Ð¾Ñ ÑедакÑии"},subtitle:{type:String,default:"ÐÑÑÑие ÑÐ¿Ð¸Ð·Ð¾Ð´Ñ Ð·Ð° меÑÑÑ"},showAllLink:{type:String,default:null}},emits:["play"],setup(s,{emit:C}){const _=s,y=$e(),r=w(!1),A=214,n=k(()=>_.episodes.length),j=3,M=k(()=>{const t=[];for(let l=0;l<j;l++)for(let d=0;d<n.value;d++)t.push(_.episodes[d]);return t}),c=w(n.value+(n.value?Math.floor(Math.random()*n.value):0)),oe=k(()=>n.value?(c.value%n.value+n.value)%n.value:0),u=k(()=>_.episodes[oe.value]),z=k(()=>{var t;return y.isFavorited((t=u.value)==null?void 0:t.id)}),B=w(null),O=w(null),V=w(0),S=w(!0),D=()=>{var t;V.value=((t=B.value)==null?void 0:t.clientWidth)||0},le=k(()=>({transform:`translateX(${V.value/2-(c.value*A+A/2)}px)`,transition:S.value?"transform 0.45s ease":"none"})),ae=t=>{const l=t===c.value;return{transform:l?"scale(1)":"scale(0.82)",filter:l?"none":"blur(2px)",opacity:l?1:.55,transition:S.value?"transform 0.45s ease, filter 0.45s ease, opacity 0.45s ease":"none",zIndex:l?10:1}},H=t=>{S.value=!1,c.value+=t,requestAnimationFrame(()=>requestAnimationFrame(()=>{S.value=!0}))},ie=t=>{t.target!==O.value||t.propertyName!=="transform"||!S.value||!n.value||(c.value>=2*n.value?H(-n.value):c.value<n.value&&H(n.value))};let T=null;const X=()=>{R(),T=setInterval(()=>U(!1),3e4)},R=()=>{T&&(clearInterval(T),T=null)},U=(t=!0)=>{c.value+=1,t&&X()},ne=(t=!0)=>{c.value-=1,t&&X()},re=t=>{C("play",t)},ce=t=>{P||(t===c.value?re(M.value[t]):(c.value=t,X()))};let x=0,v=0,g=!1,P=!1;const ue=t=>{g=!0,P=!1,x=t.clientX,v=t.clientX},de=t=>{g&&(v=t.clientX,Math.abs(v-x)>8&&(P=!0))},me=t=>{g=!0,P=!1,x=t.touches[0].clientX,v=x},pe=t=>{g&&(v=t.touches[0].clientX,Math.abs(v-x)>8&&(P=!0))},F=t=>{if(!g)return;g=!1;let l=v;t.changedTouches&&t.changedTouches.length?l=t.changedTouches[0].clientX:typeof t.clientX=="number"&&!Number.isNaN(t.clientX)&&(l=t.clientX);const d=l-x;Math.abs(d)>50&&(d<0?U():ne())};return xe(()=>{D(),window.addEventListener("resize",D),X()}),ge(()=>{R(),window.removeEventListener("resize",D)}),(t,l)=>{var W;const d=q("Link");return i(),m("section",null,[e("div",De,[e("div",null,[e("h4",Fe,$(s.title),1),s.subtitle?(i(),m("p",Ie,$(s.subtitle),1)):h("",!0)]),s.showAllLink?(i(),L(d,{key:0,href:s.showAllLink,class:"flex-shrink-0 text-sm text-brand-200 hover:text-brand-300 dark:text-neutral-400 dark:hover:text-neutral-200"},{default:p(()=>[f(" ÐеÑÑ Ð²ÑÐ±Ð¾Ñ â ")]),_:1},8,["href"])):h("",!0)]),e("div",{ref_key:"viewport",ref:B,class:"relative h-[220px] overflow-hidden select-none cursor-grab active:cursor-grabbing",onMousedown:ue,onMousemove:de,onMouseup:F,onMouseleave:F,onTouchstart:me,onTouchmove:pe,onTouchend:F},[e("div",{ref_key:"track",ref:O,class:"absolute top-0 left-0 h-full flex items-center",style:N(a(le)),onTransitionend:ie},[(i(!0),m(te,null,se(a(M),(b,E)=>{var G,J,K,Q;return i(),m("div",{key:E,class:"flex h-full flex-shrink-0 items-center justify-center",style:N({width:A+"px"})},[e("div",{class:"relative",style:N(ae(E)),onClick:wt=>ce(E)},[e("img",{src:((G=b.cover_image)==null?void 0:G.xl)||((J=b.cover_image)==null?void 0:J.md)||((Q=(K=b.podcast)==null?void 0:K.cover_image)==null?void 0:Q.md),class:be(["w-[190px] h-[190px] object-cover rounded-2xl",E===c.value?"shadow-2xl cursor-pointer":"cursor-pointer"]),draggable:"false"},null,10,ze),E===c.value?(i(),m("div",Be,Ve)):h("",!0)],12,Ne)],4)}),128))],36)],544),a(u)?(i(),m("div",He,[e("div",Re,[o(d,{href:a(u).show_url,class:"block truncate text-sm font-medium text-brand-300 hover:text-brand-200 dark:text-neutral-100",title:a(u).name},{default:p(()=>[f($(a(u).name),1)]),_:1},8,["href","title"]),a(u).podcast?(i(),L(d,{key:0,href:a(u).podcast.show_url,class:"block truncate text-xs text-brand-100 transition-colors hover:text-brand-300 dark:text-neutral-400 dark:hover:text-neutral-300",title:a(u).podcast.name},{default:p(()=>[f($(a(u).podcast.name),1)]),_:1},8,["href","title"])):h("",!0)]),e("div",Ue,[e("button",{type:"button",class:"text-brand-200 hover:text-brand-300 dark:text-neutral-400 dark:hover:text-neutral-100",title:"ÐобавиÑÑ Ñпизод в плÑйлиÑÑ",onClick:l[0]||(l[0]=b=>r.value=!0)},[o(Le,{class:"h-[18px] w-[18px]"})]),e("div",We,[e("span",Ge,$((W=a(u).audio)==null?void 0:W.human_duration),1),e("button",{type:"button",class:"hidden text-brand-200 hover:text-brand-300 group-hover:inline-flex dar
1k:text-neutral-400 dark:hover:text-neutral-100",title:a(z)?"УдалиÑÑ Ð¸Ð· избÑанного":"ÐобавиÑÑ Ð² избÑанное",onClick:l[1]||(l[1]=b=>a(y).toggle(a(u).id))},[o(Se,{fill:a(z)?"currentColor":"none",class:"h-[18px] w-[18px]"},null,8,["fill"])],8,Je)])])])):h("",!0),o(Pe,{episode:a(u),"show-initial":r.value,onClose:l[2]||(l[2]=b=>r.value=!1)},null,8,["episode","show-initial"])])}}},Qe=e("title",null,"Podster.fm - беÑплаÑнÑй Ñ
оÑÑинг Ð´Ð»Ñ Ð¿Ð¾Ð´ÐºÐ°ÑÑов!",-1),Ye=e("meta",{name:"description",content:"ХоÑÑинг Ð´Ð»Ñ Ð½ÐµÐ¾Ð³ÑаниÑенного ÑвоÑÑеÑÑва в подкаÑÑаÑ
"},null,-1),Ze=e("meta",{name:"yandex-verification",content:"1ca957855d37ab03"},null,-1),et=e("meta",{name:"keywords",content:"podster, беÑплаÑнÑй Ñ
оÑÑинг, подкаÑÑ, импоÑÑ Ð¿Ð¾Ð´ÐºÐ°ÑÑа, Ñ
оÑоÑий Ñ
оÑÑинг, ÑлÑÑаÑÑ Ð¿Ð¾Ð´ÐºÐ°ÑÑÑ, подкаÑÑеÑ, podcasts ÑеÑвиÑ, аналиÑика подкаÑÑа, Ñпизод, rss-канал подкаÑÑа, монеÑизаÑиÑ, Ñеклама в подкаÑÑаÑ
, вÑÑÑоеннÑй плееÑ, ÑоздаÑÑ Ð¿Ð»ÐµÐ¹Ð»Ð¸ÑÑ Ð¸Ð· подкаÑÑов, подÑÑеÑ"},null,-1),tt=e("meta",{property:"og:title",content:"Podster.fm - беÑплаÑнÑй Ñ
оÑÑинг Ð´Ð»Ñ Ð¿Ð¾Ð´ÐºÐ°ÑÑов!"},null,-1),st=e("meta",{property:"og:description",content:"ХоÑÑинг Ð´Ð»Ñ Ð½ÐµÐ¾Ð³ÑаниÑенного ÑвоÑÑеÑÑва в подкаÑÑаÑ
"},null,-1),ot=e("meta",{property:"og:type",content:"website"},null,-1),lt=e("meta",{property:"og:image:width",content:"1200"},null,-1),at=e("meta",{property:"og:image:height",content:"630"},null,-1),it=e("meta",{property:"og:image",content:"/images/seo/og/home.jpg"},null,-1),nt=e("meta",{property:"vk:image",content:"/images/seo/vk/home.jpg"},null,-1),rt=e("meta",{name:"twitter:site",content:"@PodsterFM"},null,-1),ct=e("meta",{name:"twitter:title",content:"Podster.fm - беÑплаÑнÑй Ñ
оÑÑинг Ð´Ð»Ñ Ð¿Ð¾Ð´ÐºÐ°ÑÑов!"},null,-1),ut=e("meta",{name:"twitter:description",content:"ХоÑÑинг Ð´Ð»Ñ Ð½ÐµÐ¾Ð³ÑаниÑенного ÑвоÑÑеÑÑва в подкаÑÑаÑ
"},null,-1),dt=e("meta",{name:"twitter:card",content:"summary_large_image"},null,-1),mt=e("meta",{name:"twitter:image",content:"/images/seo/tw/home.jpg"},null,-1),pt={class:"mb-8 flex flex-col lg:mb-12 xl:flex-row xl:space-x-10"},ht={class:"mb-12"},ft={class:"xl:flex xl:space-x-5"},yt={class:"mt-4 flex justify-center lg:hidden"},vt={class:"mb-6 lg:mb-12"},_t={class:"mb-3"},xt=e("h2",{class:"text-lg font-semibold text-brand-300 dark:text-neutral-100"},"ÐÑомо подкаÑÑов",-1),gt={class:"mt-1 text-sm text-neutral-500 dark:text-neutral-400"},bt={layout:he},Cs=Object.assign(bt,{__name:"IndexView",props:{categories:{type:Array,required:!0},editorialChoicePlaylist:{type:Object,required:!0},topEpisodesLast30Days:{type:Array,required:!0},topPodcastsLast30Days:{type:Array,required:!0},playlists:{type:Array,required:!0},newEpisodes:{type:Array,required:!0},podcastPlaylists:{type:Array,required:!0}},setup(s){const C=s,_=Ee();function y(r){_.play({items:[r],name:"ÐÑÐ±Ð¾Ñ ÑедакÑии",link:C.editorialChoicePlaylist.show_url},0)}return(r,A)=>{const n=q("Head"),j=q("Link");return i(),m("div",null,[o(n,null,{default:p(()=>[Qe,Ye,Ze,et,tt,st,ot,lt,at,it,nt,rt,ct,ut,dt,mt]),_:1}),e("div",null,[e("div",pt,[o(we,{categories:s.categories,class:"mb-6 md:mb-16 xl:mb-0 xl:w-1/2"},null,8,["categories"]),s.editorialChoicePlaylist?(i(),L(Ke,{key:0,episodes:s.editorialChoicePlaylist.public_episodes.slice(0,11),title:"ÐÑÐ±Ð¾Ñ ÑедакÑии",subtitle:"ÐÑÑÑие ÑÐ¿Ð¸Ð·Ð¾Ð´Ñ Ð·Ð° меÑÑÑ","show-all-link":s.editorialChoicePlaylist.show_url,class:"xl:w-1/2",onPlay:y},null,8,["episodes","show-all-link"])):h("",!0)]),o(I,{slug:"home_top_banner","wrapper-class":"mb-8 lg:mb-12"}),o(I,{slug:"home_interesting_now","wrapper-class":"mb-12"}),e("section",ht,[o(ee,{title:"ÐÑÑÑие ÑÐ¿Ð¸Ð·Ð¾Ð´Ñ Ð¼ÐµÑÑÑа","show-all-link":"/popular/episodes"}),e("div",ft,[o(Y,{episodes:s.topEpisodesLast30Days.slice(0,5),playlist:s.topEpisodesLast30Days,"show-publish-date":!1,"player-playlist-name":"ÐÑÑÑие ÑÐ¿Ð¸Ð·Ð¾Ð´Ñ Ð¼ÐµÑÑÑа","player-playlist-link":"/popular/episodes",class:"xl:w-1/2"},null,8,["episodes","playlist"]),o(Y,{episodes:s.topEpisodesLast30Days.slice(5,10),playlist:s.topEpisodesLast30Days,"start-index-at":6,"start-playlist-index-at":6,"show-publish-date":!1,"player-playlist-name":"ÐÑÑÑие ÑÐ¿Ð¸Ð·Ð¾Ð´Ñ Ð¼ÐµÑÑÑа","player-playlist-link":"/popular/episodes",class:"xl:w-1/2"},null,8,["episodes","playlist"])]),e("div",yt,[o(j,{href:"/popular/episodes",class:"button-rounded-outlined"},{default:p(()=>[f(" СмоÑÑеÑÑ Ð²Ñе ")]),_:1})])]),e("section",vt,[e("header",_t,[xt,e("p",gt,[f(" ÐаждÑй авÑÐ¾Ñ Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾Ð¿Ð°ÑÑÑ Ð² ÑÑÐ¾Ñ Ð±Ð»Ð¾Ðº беÑплаÑно 1 Ñаз в меÑÑÑ. ÐодкаÑÑÑ Ð¿Ð¾ÐºÐ°Ð·ÑваÑÑÑÑ ÑоглаÑно оÑеÑеди. ÐодаÑÑ Ð·Ð°ÑÐ²ÐºÑ Ð¸ поÑмоÑÑеÑÑ Ð¾ÑеÑÐµÐ´Ñ Ð¼Ð¾Ð¶Ð½Ð¾ в Ñазделе "),o(j,{href:"/my/promo",class:"underline hover:text-brand-300 dark:hover:text-neutral-200"},{default:p(()=>[f("«ÐÑомо»")]),_:1}),f(" в Ð¼ÐµÐ½Ñ Ð²Ð°Ñего кабинеÑа. ")])]),o(I,{slug:"home_promo_podcasts"})]),o(fe,{title:"Топ подкаÑÑов",subtitle:"Ðа меÑÑÑ","show-all-link":"/popular/podcasts",podcasts:s.topPodcastsLast30Days,class:"mb-12"},null,8,["podcasts"]),o(qe,{title:"ÐаÑегоÑии",subtitle:"Ð ÑбÑикаÑÐ¾Ñ Ð¿Ð¾ каÑегоÑиÑм","show-all-link":"/popular/podcasts",categories:s.categories,"category-link":M=>`/popular/podcasts?category=${M.slug}`,class:"mb-12"},null,8,["categories","category-link"]),s.newEpisodes.length?(i(),L(ke,{key:0,title:"Ðовинки",subt
1itle:"ÐовÑе ÑÐ¿Ð¸Ð·Ð¾Ð´Ñ Ð·Ð° поÑледние 14 дней","show-all-link":"/new/episodes",episodes:s.newEpisodes,class:"mb-12"},null,8,["episodes"])):h("",!0),o(Z,{title:"ÐлейлиÑÑÑ",playlists:s.playlists,"show-all-link":"/playlists",class:"mb-12"},null,8,["playlists"]),s.podcastPlaylists.length?(i(),L(Z,{key:1,title:"ÐодбоÑки Ð¾Ñ Ð°Ð²ÑоÑов",subtitle:"ÐодбоÑки Ð¾Ñ Ð°Ð²ÑоÑов подкаÑÑов",playlists:s.podcastPlaylists,"show-all-link":"/podcast-playlists"},null,8,["playlists"])):h("",!0)])])}}});export{Cs 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.