import{r as P}from"./MusicNoteIcon.3bb61b50.js";import{D as B,r as A,a as D}from"./DropdownMenu.95a3331d.js";import{r as i,o as s,f as l,g as n,i as o,t as x,w as r,q as b,j as w,k as F,m as y,F as k,J as M,B as I,a as C,z as T,V as E,P as U,e as W}from"./vendor.7e4e5e39.js";import{f as q}from"./filter.bc8cee16.js";import{D as J,r as G,c as K,d as Q,L as X,C as Y,S as Z,V as $,F as L,e as O}from"./ModalFeedBody.940b2345.js";import{U as ee,L as te}from"./Layout.8435b6f7.js";import{_ as p}from"./plugin-vue_export-helper.21dcd24c.js";import{b as S,c as H}from"./menu.esm.eab5e425.js";import{F as ne}from"./FeedPreview.b3da2b40.js";import{F as oe}from"./FeedMusicBody.89f73297.js";import{M as ie}from"./ModalFeed.acd41e24.js";import{M as de}from"./ModalWarning.9147e7f5.js";import{I as se}from"./InfinityScroll.fabf526e.js";import{M as ae}from"./MetaHead.6f35dab5.js";import"./_baseForOwn.4af3a679.js";import"./transition.esm.89c10969.js";import"./dom.esm.2d7131b5.js";import"./app.ccfeba26.js";import"./use-resolve-button-type.esm.e228f45b.js";const le={components:{UserAvatar:ee,DropdownMenuPoint:J,MinusCircleIcon:G,ExclamationIcon:K,PencilAltIcon:Q,MenuItem:S,MenuItems:H},props:{user:Object,created_at:String,feed_id:Number,entity:Object},emits:["onRemoveFeed"],methods:{onRemoveFeed(){this.$emit("onRemoveFeed")}}},re={key:0,class:"flex items-center gap-3"},ce={class:"flex flex-col"},me={class:"text-sm md:text-base block font-medium text-white"},ue={key:1,class:"flex items-center"},_e={class:"hover:underline text-sm md:text-base block font-medium text-white"},fe={class:"hover:underline text-xs text-gray-light"},he={key:2,class:"flex-shrink-0 text-white"},ge=y(" \u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C "),ve=y(" \u0423\u0434\u0430\u043B\u0438\u0442\u044C "),ye=y(" \u041F\u043E\u0436\u0430\u043B\u043E\u0432\u0430\u0442\u044C\u0441\u044F ");function pe(t,a,e,g,f,d){const m=i("user-avatar"),_=i("inertia-link"),c=i("PencilAltIcon"),u=i("MenuItem"),h=i("MinusCircleIcon"),v=i("ExclamationIcon"),j=i("MenuItems"),R=i("dropdown-menu-point");return s(),l("div",{class:"feed-header flex items-center justify-between",onClick:a[1]||(a[1]=F(()=>{},["stop"]))},[e.entity.is_ads?(s(),l("div",re,[n(m,{user:e.user,size:"small",class:"w-10 h-10 md:w-14 md:h-14 text-lg"},null,8,["user"]),o("div",ce,[o("span",me,x(e.user.name),1)])])):(s(),l("div",ue,[n(_,{href:t.route("profile.user",e.user.username),class:"flex-shrink-0 block mr-2 md:mr-4"},{default:r(()=>[n(m,{user:e.user,size:"small",class:"w-10 h-10 md:w-14 md:h-14 text-lg"},null,8,["user"])]),_:1},8,["href"]),n(_,{href:t.route("profile.user",e.user.username),class:"flex flex-col"},{default:r(()=>[o("span",_e,x(e.user.name),1),o("span",fe,x(e.created_at),1)]),_:1},8,["href"])])),e.entity.is_ads==!1?(s(),l("div",he,[n(R,null,{default:r(()=>[n(j,{class:"origin-top-right absolute right-0 mt-2 w-64 bg-indigo-300 shadow-lg max-h-60 rounded-md text-base ring-1 ring-indigo-200 overflow-auto focus:outline-none"},{default:r(()=>[e.user.id===t.$page.props.auth.user.id?(s(),b(u,{key:0},{default:r(()=>[n(_,{href:t.route(`${e.entity.type}.edit`,e.entity.slug),class:"w-full group flex items-center px-4 py-2 text-base hover:bg-indigo-100 text-gray-light"},{default:r(()=>[n(c,{class:"mr-3 h-5 w-5 text-gray-400 group-hover:text-orange","aria-hidden":"true"}),ge]),_:1},8,["href"])]),_:1})):w("",!0),e.user.id===t.$page.props.auth.user.id?(s(),b(u,{key:1},{default:r(()=>[o("button",{class:"w-full group flex items-center px-4 py-2 text-base hover:bg-indigo-100 text-gray-light",onClick:a[0]||(a[0]=N=>d.onRemoveFeed())},[n(h,{class:"mr-3 h-5 w-5 text-gray-400 group-hover:text-orange","aria-hidden":"true"}),ve])]),_:1})):w("",!0),e.user.id!==t.$page.props.auth.user.id?(s(),b(u,{key:2},{default:r(()=>[n(_,{href:t.route("complaint.reason",e.feed_id),class:"group flex items-center px-4 py-2 text-base hover:bg-indigo-100 text-gray-light"},{default:r(()=>[n(v,{class:"mr-3 h-5 w-5 text-gray-400 group-hover:text-orange","aria-hidden":"true"}),ye]),_:1},8,["href"])]),_:1})):w("",!0)]),_:1})]),_:1})])):w("",!0)])}var z=p(le,[["render",pe]]);const xe={components:{LikeCount:X,CommentCount:Y,ShareCount:Z,ViewCount:$},props:{comments:Number,likes:Number,liked:Boolean,ads:Boolean,count:{type:Number,default:0}},emits:["likeFeed"],methods:{likeFeed(){this.$emit("likeFeed")}}},be={class:"mt-3 md:mt-6 feed-footer"},we={class:"flex justify-between"},ke={key:0},Fe={key:1,class:"misc-info flex space-x-4"};function Me(t,a,e,g,f,d){const m=i("like-count"),_=i("comment-count"),c=i("share-count"),u=i("view-count");return s(),l("div",be,[o("div",we,[e.ads?(s(),l("div",ke)):(s(),l("div",Fe,[n(m,{likes:e.likes,liked:e.liked,onLikeFeed:d.likeFeed},null,8,["likes","liked","onLikeFeed"]),n(_,{comments:e.comments},null,8,["comments"]),n(c)])),n(u,{count:e.count},null,8,["count"])])])}var V=p(xe,[["render",Me]]);const je={components:{FeedHeader:z,FeedFooter:V,FeedPaidBlock:L,FeedTags:O},props:{entity:Object,user:Object,feed_id:Number},emits:["likeFeed","onRemoveFeed"],computed:{countMediaContent(){return this.entity.collection_medias.length}},methods:{onReplaceFeed(t){this.entity.collection_medias=t.collection,this.entity.preview=t.preview,this.entity.paid_open=1},onRemoveFeed(){this.$emit("onRemoveFeed",this.feed_id)},likeFeed(){this.$emit("likeFeed")}}},Re={class:"shadow-classic rounded-md bg-indigo-200 p-3 md:px-5 md:py-7"},Ie={class:"mt-3 md:mt-6 feed-body"},Ce={class:"mb-3 md:mb-6 text-gray text-sm md:text-base"},Le=["innerHTML"],Oe=["src"];function ze(t,a,e,g,f,d){const m=i("feed-header"),_=i("feed-tags"),c=i("feed-paid-block"),u=i("feed-footer");return s(),l("div",Re,[n(m,{entity:e.entity,feed_id:e.feed_id,created_at:e.entity.created_at_humans,user:e.user,onOnRemoveFeed:d.onRemoveFeed},null,8,["entity","feed_id","created_at","user","onOnRemoveFeed"]),o("div",Ie,[o("div",Ce,[o("div",{onClick:a[0]||(a[0]=F(()=>{},["stop"]))},[e.entity.is_ads?(s(),l("div",{key:0,class:"prose-content",innerHTML:e.entity.body},null,8,Le)):(s(),l(k,{key:1},[e.entity.tags.length?(s(),b(_,{key:0,class:"mb-1",tags:e.entity.tags},null,8,["tags"])):w("",!0),y(" "+x(e.entity.body),1)],64))]),n(c,{is_paid:e.entity.is_paid,user_id:e.user.id,price:e.entity.price,feed_id:e.feed_id,paid_open:e.entity.paid_open,onOnReplaceFeed:d.onReplaceFeed},null,8,["is_paid","user_id","price","feed_id","paid_open","onOnReplaceFeed"])]),o("div",{class:M([[{"grid-cols-2":d.countMediaContent>1}],"grid gap-1 md:gap-3 md:grid-cols-[repeat(auto-fit,minmax(280px,1fr))]"])},[(s(!0),l(k,null,I(e.entity.collection_medias,h=>(s(),l("div",{key:h.id},[o("img",{class:"w-full h-full object-cover",src:h.url,alt:""},null,8,Oe)]))),128))],2)]),n(u,{likes:e.entity.likes,liked:e.entity.liked,comments:e.entity.comments,count:e.entity.views_count,ads:e.entity.is_ads,onLikeFeed:d.likeFeed},null,8,["likes","liked","comments","count","ads","onLikeFeed"])])}var Ve=p(je,[["render",ze]]);const Ne={components:{FeedHeader:z,FeedFooter:V,FeedPaidBlock:L,FeedTags:O,FeedPreview:ne},props:{entity:Object,user:Object,feed_id:Number},emits:["likeFeed","onRemoveFeed"],computed:{countMediaContent(){return this.entity.collection_medias.length}},methods:{addViewShow(){C.post(route("add.view.feed",this.feed_id)).then(({data:t})=>{t&&this.entity.views_count++})},onReplaceFeed(t){this.entity.collection_medias=t.collection,this.entity.preview=t.preview,this.entity.paid_open=1},onRemoveFeed(){this.$emit("onRemoveFeed",this.feed_id)},likeFeed(){this.$emit("likeFeed")}}},Se={class:"shadow-classic rounded-md bg-indigo-200 p-3 md:px-5 md:py-7"},He={class:"mb-3 md:mb-6 text-gray text-sm md:text-base"},Pe={class:"flex items-start border-b border-indigo-100"},Be={class:"flex-shrink-0 mr-5 w-28 md:w-56"},Ae={class:"flex flex-col"},De={class:"text-base md:text-xl font-semibold text-gray pb-1"},Te=["innerHTML"],Ee={class:"pb-2"},Ue=["src","poster"];function We(t,a,e,g,f,d){const m=i("feed-header"),_=i("feed-preview"),c=i("feed-tags"),u=i("feed-paid-block"),h=i("feed-footer");return s(),l("div",Se,[n(m,{entity:e.entity,feed_id:e.feed_id,created_at:e.entity.created_at_humans,user:e.user,onOnRemoveFeed:d.onRemoveFeed},null,8,["entity","feed_id","created_at","user","onOnRemoveFeed"]),o("div",{class:"mt-3 md:mt-6 feed-body",onClick:a[2]||(a[2]=F(()=>{},["stop"]))},[o("div",He,[o("div",{onClick:a[0]||(a[0]=F(()=>{},["stop"]))},[o("div",Pe,[o("div",Be,[n(_,{class:"h-28 w-28 md:w-56 md:h-56 object-cover",type:"music",source:e.entity.preview},null,8,["source"])]),o("div",Ae,[o("div",De,x(e.entity.title),1),e.entity.is_ads?(s(),l("div",{key:0,class:"prose-content",innerHTML:e.entity.body},null,8,Te)):(s(),l(k,{key:1},[e.entity.tags.length?(s(),b(c,{key:0,class:"mb-1",tags:e.entity.tags},null,8,["tags"])):w("",!0),o("div",Ee,x(e.entity.body),1)],64))])])]),n(u,{is_paid:e.entity.is_paid,user_id:e.user.id,price:e.entity.price,feed_id:e.feed_id,paid_open:e.entity.paid_open,onOnReplaceFeed:d.onReplaceFeed},null,8,["is_paid","user_id","price","feed_id","paid_open","onOnReplaceFeed"])]),o("div",{class:M([[{"grid-cols-2":d.countMediaContent>1}],"grid gap-1 md:gap-3 md:grid-cols-[repeat(auto-fit,minmax(280px,1fr))]"]),onClick:a[1]||(a[1]=(...v)=>d.addViewShow&&d.addViewShow(...v))},[(s(!0),l(k,null,I(e.entity.collection_medias,v=>(s(),l("div",{key:v.id,class:"aspect-w-16 aspect-h-9"},[o("video",{src:v.url,poster:e.entity.preview,controls:""},null,8,Ue)]))),128))],2)]),n(h,{likes:e.entity.likes,liked:e.entity.liked,comments:e.entity.comments,count:e.entity.views_count,ads:e.entity.is_ads,onLikeFeed:d.likeFeed},null,8,["likes","liked","comments","count","ads","onLikeFeed"])])}var qe=p(Ne,[["render",We]]);const Je={components:{FeedHeader:z,FeedFooter:V,FeedMusicBody:oe,FeedPaidBlock:L,FeedTags:O},props:{entity:Object,user:Object,feed_id:Number},emits:["likeFeed","onRemoveFeed"],methods:{addViewShow(){C.post(route("add.view.feed",this.feed_id)).then(({data:t})=>{t&&this.entity.views_count++})},onReplaceFeed(t){this.entity.collection_medias=t.collection,this.entity.preview=t.preview,this.entity.paid_open=1},onRemoveFeed(){this.$emit("onRemoveFeed",this.feed_id)},likeFeed(){this.$emit("likeFeed")}}},Ge={class:"shadow-classic rounded-md bg-indigo-200 p-3 md:px-5 md:py-7"},Ke={class:"mt-3 md:mt-6 feed-body"};function Qe(t,a,e,g,f,d){const m=i("feed-header"),_=i("feed-tags"),c=i("feed-paid-block"),u=i("feed-music-body"),h=i("feed-footer");return s(),l("div",Ge,[n(m,{entity:e.entity,feed_id:e.feed_id,created_at:e.entity.created_at_humans,user:e.user,onOnRemoveFeed:d.onRemoveFeed},null,8,["entity","feed_id","created_at","user","onOnRemoveFeed"]),o("div",Ke,[o("div",{class:"mb-3 md:mb-6 text-gray text-sm md:text-base",onClick:a[0]||(a[0]=F(()=>{},["stop"]))},[o("div",null,[e.entity.tags.length?(s(),b(_,{key:0,class:"mb-1",tags:e.entity.tags},null,8,["tags"])):w("",!0),y(" "+x(e.entity.body),1)]),n(c,{is_paid:e.entity.is_paid,user_id:e.user.id,price:e.entity.price,feed_id:e.feed_id,paid_open:e.entity.paid_open,onOnReplaceFeed:d.onReplaceFeed},null,8,["is_paid","user_id","price","feed_id","paid_open","onOnReplaceFeed"])]),n(u,{feed_id:e.feed_id,title:e.entity.title,preview:e.entity.preview,medias:e.entity.collection_medias,onTrackClick:d.addViewShow},null,8,["feed_id","title","preview","medias","onTrackClick"])]),n(h,{likes:e.entity.likes,liked:e.entity.liked,comments:e.entity.comments,count:e.entity.views_count,ads:e.entity.is_ads,onLikeFeed:d.likeFeed},null,8,["likes","liked","comments","count","ads","onLikeFeed"])])}var Xe=p(Je,[["render",Qe]]);const Ye={props:{entity:Object,user:Object,feed_id:Number}},Ze={class:"shadow-classic rounded-md bg-indigo-200 p-3 md:px-5 md:py-7 relative"},$e=o("div",{class:"absolute inset-0 flex items-center justify-center z-10 text-white text-lg w-full object-cover font-medium"}," 18 + \u041A\u043E\u043D\u0442\u0435\u043D\u0442 ",-1),et=o("div",{class:"blur-2xl flex flex-grow bg-indigo-300 w-full h-36 object-cover"},null,-1),tt=[$e,et];function nt(t,a,e,g,f,d){return s(),l("div",Ze,tt)}var ot=p(Ye,[["render",nt]]);const it={props:{entity:Object,user:Object,feed_id:Number}},dt={class:"shadow-classic rounded-md bg-indigo-200 p-3 md:px-5 md:py-7 relative"},st={class:"absolute inset-0 flex items-center justify-center z-10 text-white text-sm sm:text-lg w-full object-cover font-medium"},at={class:"text-center p-2"},lt=o("p",null,"\u041A\u043E\u043D\u0442\u0435\u043D\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u043F\u043E \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0435!",-1),rt=y(" \u041A\u0443\u043F\u0438\u0442\u044C: "),ct=o("div",{class:"blur-2xl flex flex-grow bg-indigo-300 w-full h-36 object-cover"},null,-1);function mt(t,a,e,g,f,d){const m=i("inertia-link");return s(),l("div",dt,[o("div",st,[o("div",at,[lt,o("p",null,[rt,n(m,{href:t.route("profile.user",e.user.username),class:"font-semibold underline inline-block mr-2"},{default:r(()=>[y(x(e.user.username),1)]),_:1},8,["href"])])])]),ct])}var ut=p(it,[["render",mt]]);const _t={components:{FeedImages:Ve,FeedVideos:qe,FeedMusics:Xe,FeedAdults:ot,FeedProhibited:ut},props:{feed:Object},emits:["openModal","onRemoveFeed"],computed:{authUser(){return T().props.value.auth.user},currentTypeNode(){return"feed-"+this.feed.type.toLowerCase()}},methods:{onRemoveFeed(t){this.$emit("onRemoveFeed",t)},openModal(t){t.entity&&this.$emit("openModal",t)},likeFeed(){C.post(route("feed.like",this.feed.id)).then(()=>{this.feed.entity.liked?(this.feed.entity.liked=!1,this.feed.entity.likes--):(this.feed.entity.liked=!0,this.feed.entity.likes++)})}}};function ft(t,a,e,g,f,d){return s(),b(E(d.currentTypeNode),{feed_id:e.feed.id,user:e.feed.user,entity:e.feed.entity,onClick:a[0]||(a[0]=F(m=>d.openModal(e.feed),["prevent"])),onOnRemoveFeed:d.onRemoveFeed,onLikeFeed:d.likeFeed},null,8,["feed_id","user","entity","onOnRemoveFeed","onLikeFeed"])}var ht=p(_t,[["render",ft]]);const gt={components:{FeedListNode:ht,ModalFeed:ie,ModalWarning:de,InfinityScroll:se},props:{feeds:Array,nextCursor:{type:String,default:""}},setup(){return{lastNodeLement:U(null)}},data(){return{show:!1,modalFeedId:0,warningShow:!1,feedLists:[],modalFeed:{}}},computed:{lastElementID(){var t;return(t=this.feedLists[this.feedLists.length-1])==null?void 0:t.id}},mounted(){this.feedLists=this.feeds},methods:{putFromPagination(t){for(let a of t)this.feedLists.push(a)},deleteActionModal(t){t&&this.destroyFeed(this.modalFeedId),this.warningShow=!1},onRemoveFeed(t){this.warningShow=!0,this.modalFeedId=t},destroyFeed(t){W.Inertia.delete(route("feed.destroy",t),{preserveScroll:!0,preserveState:!0}),this.feedLists=q(this.feedLists,function(a){return a.id!==t})},openModal(t){this.show=!0,this.modalFeed=t},closeModal(){this.show=!1}}};function vt(t,a,e,g,f,d){const m=i("modal-feed"),_=i("modal-warning"),c=i("feed-list-node"),u=i("InfinityScroll");return s(),l(k,null,[n(m,{"modal-feed":f.modalFeed,open:f.show,onCloseModal:d.closeModal,onDestroyFeed:d.destroyFeed},null,8,["modal-feed","open","onCloseModal","onDestroyFeed"]),n(_,{feed_id:f.modalFeedId,open:f.warningShow,onAction:d.deleteActionModal},null,8,["feed_id","open","onAction"]),n(u,{"node-element":g.lastNodeLement,"next-cursor":e.nextCursor,onFromPagination:d.putFromPagination},{default:r(()=>[(s(!0),l(k,null,I(f.feedLists,h=>(s(),l("div",{key:h.id,ref_for:!0,ref:v=>{v&&h.id===d.lastElementID&&(g.lastNodeLement=v)}},[n(c,{feed:h,onOnRemoveFeed:d.onRemoveFeed,onOpenModal:d.openModal},null,8,["feed","onOnRemoveFeed","onOpenModal"])]))),128))]),_:1},8,["node-element","next-cursor","onFromPagination"])],64)}var yt=p(gt,[["render",vt]]);const pt={components:{FeedList:yt,MetaHead:ae,DropdownMenu:B,MenuItem:S,MenuItems:H,PhotographIcon:A,MusicNoteIcon:P,VideoCameraIcon:D},layout:te,props:{nextCursor:String,feeds:Array,active_button:String}},xt={class:"mt-16 container mx-auto px-2 md:px-6 2xl:px-28 buttons-filter-line"},bt={class:"items-center grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-4 2xl:gap-12"},wt=y(" \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0438\u0434\u0435\u043E "),kt=y(" \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 "),Ft=y(" \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043C\u0443\u0437\u044B\u043A\u0443 "),Mt=o("svg",{class:"-ml-1 mr-2 h-4 w-4 md:h-5 md:w-5 flex-shrink-0",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},[o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.167 3.333a.833.833 0 00-.834.834v11.666c0 .46.373.834.834.834h11.666c.46 0 .834-.373.834-.834V4.167a.833.833 0 00-.834-.834H4.167zm-2.5.834a2.5 2.5 0 012.5-2.5h11.666a2.5 2.5 0 012.5 2.5v11.666a2.5 2.5 0 01-2.5 2.5H4.167a2.5 2.5 0 01-2.5-2.5V4.167z"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.083 6.667a.417.417 0 100 .833.417.417 0 000-.833zM5 7.083a2.083 2.083 0 114.167 0 2.083 2.083 0 01-4.167 0zM12.744 7.744a.833.833 0 011.179 0l4.166 4.167a.834.834 0 01-1.178 1.178l-3.578-3.577-8.577 8.577a.833.833 0 01-1.179-1.178l9.167-9.167z"})],-1),jt=o("span",{class:"truncate"},"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F",-1),Rt=o("svg",{class:"-ml-1 mr-2 h-4 w-4 md:h-5 md:w-5 flex-shrink-0",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},[o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.483 2.5a.983.983 0 00-.983.983v13.034c0 .543.44.983.983.983h13.034c.543 0 .983-.44.983-.983V3.483a.983.983 0 00-.983-.983H3.483zm-2.65.983a2.65 2.65 0 012.65-2.65h13.034a2.65 2.65 0 012.65 2.65v13.034a2.65 2.65 0 01-2.65 2.65H3.483a2.65 2.65 0 01-2.65-2.65V3.483z"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.833.833c.46 0 .834.373.834.834v16.666a.833.833 0 11-1.667 0V1.667c0-.46.373-.834.833-.834zM14.167.833c.46 0 .833.373.833.834v16.666a.833.833 0 11-1.667 0V1.667c0-.46.373-.834.834-.834z"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M.833 10c0-.46.373-.833.834-.833h16.666a.833.833 0 010 1.666H1.667A.833.833 0 01.833 10zM.833 5.833c0-.46.373-.833.834-.833h4.166a.833.833 0 010 1.667H1.667a.833.833 0 01-.834-.834zM.833 14.167c0-.46.373-.834.834-.834h4.166a.833.833 0 010 1.667H1.667a.833.833 0 01-.834-.833zM13.333 14.167c0-.46.373-.834.834-.834h4.166a.833.833 0 010 1.667h-4.166a.833.833 0 01-.834-.833zM13.333 5.833c0-.46.373-.833.834-.833h4.166a.833.833 0 010 1.667h-4.166a.833.833 0 01-.834-.834z"})],-1),It=o("span",{class:"truncate"},"\u0412\u0438\u0434\u0435\u043E",-1),Ct=o("svg",{class:"-ml-1 mr-2 h-4 w-4 md:h-5 md:w-5 flex-shrink-0",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},[o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.399 12.399a2.5 2.5 0 011.768-.732H17.5c.46 0 .833.373.833.833v1.667a2.5 2.5 0 01-2.5 2.5h-1.666a2.5 2.5 0 01-1.768-4.268zm1.768.934a.833.833 0 000 1.667h1.666a.833.833 0 00.834-.833v-.834h-2.5zm-11.768.733a2.5 2.5 0 011.768-.733H7.5c.46 0 .833.373.833.834v1.666a2.5 2.5 0 01-2.5 2.5H4.167a2.5 2.5 0 01-1.768-4.267zM4.167 15a.833.833 0 100 1.667h1.666a.833.833 0 00.834-.834V15h-2.5z"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.039 1.864c.187.158.294.391.294.636v10a.833.833 0 01-1.666 0V3.484L8.333 4.873v9.294a.833.833 0 01-1.666 0v-10c0-.408.294-.755.696-.822l10-1.667a.833.833 0 01.676.186z"})],-1),Lt=o("span",{class:"truncate"},"\u041C\u0443\u0437\u044B\u043A\u0430",-1),Ot={class:"feeds-user-list mt-5 container mx-auto px-2 md:px-6 2xl:px-28 space-y-4 lg:space-y-8"};function zt(t,a,e,g,f,d){const m=i("meta-head"),_=i("VideoCameraIcon"),c=i("inertia-link"),u=i("MenuItem"),h=i("PhotographIcon"),v=i("MusicNoteIcon"),j=i("MenuItems"),R=i("dropdown-menu"),N=i("feed-list");return s(),l(k,null,[n(m,{title:"\u041D\u043E\u0432\u043E\u0441\u0442\u0438"}),o("div",xt,[o("div",bt,[n(R,null,{default:r(()=>[n(j,{class:"origin-top-left absolute left-0 mt-2 w-64 bg-indigo-300 shadow-lg max-h-60 rounded-md text-base ring-1 ring-indigo-200 overflow-auto focus:outline-none"},{default:r(()=>[n(u,null,{default:r(()=>[n(c,{href:t.route("videos.create"),class:"group flex items-center px-4 py-2 text-base hover:bg-indigo-200 text-gray-light"},{default:r(()=>[n(_,{class:"mr-3 h-5 w-5 text-gray-400 group-hover:text-orange","aria-hidden":"true"}),wt]),_:1},8,["href"])]),_:1}),n(u,null,{default:r(()=>[n(c,{href:t.route("images.create"),class:"group flex items-center px-4 py-2 text-base hover:bg-indigo-200 text-gray-light"},{default:r(()=>[n(h,{class:"mr-3 h-5 w-5 text-gray-400 group-hover:text-orange","aria-hidden":"true"}),kt]),_:1},8,["href"])]),_:1}),n(u,null,{default:r(()=>[n(c,{href:t.route("musics.create"),class:"group flex items-center px-4 py-2 text-base hover:bg-indigo-200 text-gray-light"},{default:r(()=>[n(v,{class:"mr-3 h-5 w-5 text-gray-400 group-hover:text-orange","aria-hidden":"true"}),Ft]),_:1},8,["href"])]),_:1})]),_:1})]),_:1}),n(c,{href:t.route("feeds.layoutsidebar.image"),class:M([e.active_button=="image"?"bg-orange":"bg-indigo-200 hover:bg-orange","transition inline-flex items-center px-3 py-3 lg:px-7 lg:py-5 justify-center shadow-classic text-sm rounded-md text-white focus:outline-none"])},{default:r(()=>[Mt,jt]),_:1},8,["href","class"]),n(c,{href:t.route("feeds.layoutsidebar.video"),class:M([e.active_button=="video"?"bg-orange":"bg-indigo-200 hover:bg-orange","transition inline-flex items-center px-3 py-3 lg:px-7 lg:py-5 justify-center shadow-classic text-sm rounded-md text-white focus:outline-none"])},{default:r(()=>[Rt,It]),_:1},8,["href","class"]),n(c,{href:t.route("feeds.layoutsidebar.music"),class:M([e.active_button=="music"?"bg-orange":"bg-indigo-200 hover:bg-orange","transition inline-flex items-center px-3 py-3 lg:px-7 lg:py-5 justify-center shadow-classic text-sm rounded-md text-white focus:outline-none"])},{default:r(()=>[Ct,Lt]),_:1},8,["href","class"])])]),o("div",Ot,[n(N,{feeds:e.feeds,"next-cursor":e.nextCursor},null,8,["feeds","next-cursor"])])],64)}var Zt=p(pt,[["render",zt]]);export{Zt as default};