PageSourceSearch

https://ryfma.com/build-chunks/28000.c268694ca1fd7ce3.js

js ryfma.com collected 2026-09-24 09:56:40 UTC 25,763 bytes, 173 lines download raw bytes

1"use strict";(self.rspackChunkryfma=self.rspackChunkryfma||[]).push([[28e3],{55137(e,s,t){t.r(s),t.d(s,{default:()=>j});var l=t(74848),i=t(54953),a=t(92368),n=t(23829),r=t(21540),o=t(70431),c=t(38784),d=t(75593);let m=(0,c.J1)`
2	query getRecommendedPosts($isClassic: Boolean, $limit: Int) {
3		recommendedPosts(isClassic: $isClassic, limit: $limit) {
4			...PostCard
5		}
6	}
7	${d.RK}
8`;var x=t(86952),u=t(85137);let h=function({isClassic:e=!1,limit:s=4,showHeader:t=!0}){let[i]=(0,r.Bd)("post"),{isMobile:a}=(0,u.t0)(),{loading:c,error:d,data:h}=(0,n.I)(m,{variables:{isClassic:e,limit:s}});if(c)return(0,l.jsx)("div",{className:"py-8",children:(0,l.jsxs)("section",{className:"container",children:[t?(0,l.jsx)(x.E,{className:"mb-4 h-7 w-48 rounded-full"}):null,(0,l.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-4",children:Array.from({length:4}).map((e,s)=>(0,l.jsx)(x.E,{className:"h-[200px] w-full rounded-2xl"},s))})]})});if(d)return(0,l.jsxs)("div",{children:["Error: ",d.message]});let p=h?.recommendedPosts??[];if(p.length<1)return null;let j=[],g={"@context":"https://schema.org","@type":"ItemList",name:i("relatedPosts"),numberOfItems:j.length,itemListElement:j};return(0,l.jsxs)("div",{className:"py-8",children:[(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g).replace(/\//g,"\\u002F")}}),(0,l.jsxs)("section",{className:"container",children:[t?(0,l.jsx)("h2",{className:"mb-4 text-lg font-bold",children:i("relatedPosts")}):null,(0,l.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-4",children:p.map((e,s)=>{var t;return t=s+1,e?(j.push({"@type":"ListItem",position:t-1,name:e.title,url:`https://ryfma.com/p/${e._id}/${e.slug}`}),(0,l.jsx)(o.A,{post:e,isMobile:a,heading:"h3"},e._id)):null})})]})]})},p=(0,i.lazy)(()=>t.e(12792).then(t.bind(t,95723))),j=function({noSEO:e=!1,schema:s,title:t,icon:n,description:r,path:o="/",contentType:c,backLink:d="/",backLinkText:m,noIndex:x=!1,noFollow:u=!1,isBlocked:j=!1}){let g=n;return j&&(g=(0,l.jsx)("img",{src:"https://cdn.ryfma.com/defaults/icons/ryfma-403.png",className:"mx-auto w-64"})),g||(g=(0,l.jsx)("img",{src:"https://cdn.ryfma.com/defaults/icons/ryfma-404.png",className:"mx-auto w-64"})),(0,l.jsxs)("div",{className:"container",children:[e&&(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow, noyaca, none"}),!e&&(0,l.jsx)(i.Suspense,{fallback:(0,l.jsx)("div",{}),children:(0,l.jsx)(p,{schema:s,title:t,description:r,path:o,contentType:c,noIndex:x,noFollow:u})}),(0,l.jsxs)("div",{className:"mb-8 px-4 pt-6 text-center",children:[g,(0,l.jsx)("h1",{className:"mt-6 text-xl font-bold",children:t}),(0,l.jsx)("p",{className:"py-2",children:r}),(0,l.jsx)(a.N_,{to:d,className:"mt-4 font-bold text-gray-600 underline hover:text-gray-500",children:m})]}),(0,l.jsx)(h,{showHeader:!1,limit:12})]})}},30215(e,s,t){t.r(s),t.d(s,{default:()=>K});var l=t(74848),i=t(23829),a=t(93621),n=t(80900),r=t(81595),o=t(54953),c=t.n(o),d=t(21540),m=t(92368),x=t(90537),u=t(55137),h=t(27785),p=t(75058),j=t(95723),g=t(72407),f=t(7358),N=t(25274),v=t(54553),y=t(86952),$=t(85137),b=t(84164),w=t(58037),I=t(42784),A=t(41125),P=t(50994),k=t(70111),S=t(73175),_=t(49315),D=t(84538),C=t(27197),T=t(48561);let z=function({festId:e}){let s,[t]=(0,d.Bd)(["contest","notif"]),[i]=(0,m.ok)(),n=(0,k.m)(),{currUser:r,currUserId:c}=(0,$.As)(),x=i.get("from"),[u,h]=(0,o.useState)(null),[p,j]=(0,o.useState)(null),[g,N]=(0,o.useState)([]),[y,b]=(0,o.useState)("vsempoezii"===x),[w,I]=(0,o.useState)(!1),[A,P]=(0,o.useState)(!1),[z,L]=(0,o.useState)(!1),[E,F]=(0,o.useState)(""),[B]=(0,a.n)(_.A),q=async()=>{if(P(!0),L(!1),F(""),!u)return void f.Notification.error("Пост не выбран!");let s={festId:e,postId:u._id,isDuel:!0};try{await B({variables:s}),window.ReactGA&&window.ReactGA.event({category:"Duel",action:"AcceptDuel",label:`AcceptDuel: ${u._id}, ${c}`,value:1}),N([]),b(!1),h(null),P(!1),f.Notification.success(t("notif:festRequestSent")),window.location.reload()}catch(e){f.Notification.error(e),P(!1),L(!0),F(e.message)}},O=e=>()=>{I(!0),n.query({query:D.A,variables:{type:"latest",userId:c,personal:!0,skip:e||0,limit:32},fetchPolicy:"network-only"}).then(e=>{let{errors:s,data:a}=e;if(s)s.length>0&&f.Notification.error(s[0].message);else if(a.posts){let e=a.posts.map(e=>({_id:e._id,text:e.title,value:e._id,content:(0,l.jsxs)("span",{children:[(0,l.jsx)("b",{children:e.title})," ",(0,l.jsx)("span",{className:"right",children:t("selectPost")})]})})),s=i.get("from");1===g.length&&"vsempoezii"===s?(N(g),h(g[0]),j(g[0].value),b(!0)):N([...g,...new Set(e)]),I(!1)}}).catch(e=>{f.Notification.error(e.message)})},R=e=>{h(g.find(s=>
8s._id===e)??null),j(e)};return(0,l.jsxs)("div",{children:[(0,l.jsx)(v.$,{onClick:()=>{O(0)(),b(!0)},children:t("acceptDeal")}),(s=c?0===g.length?w?(0,l.jsx)("div",{className:"first-post-msg",children:(0,l.jsx)("h3",{children:t("loadingPosts")})}):(0,l.jsxs)("div",{className:"first-post-msg",children:[(0,l.jsx)("h3",{children:t("noPosts")}),(0,l.jsx)(m.N_,{className:"ui massive button red",to:"/new-post",children:t("addPost")}),(0,l.jsx)("div",{className:"small",children:t("refreshPage")})]}):(0,l.jsxs)("form",{children:[(0,l.jsx)(C.A,{text:u?.text,options:g.map(e=>({option:e.value,text:e.text,onClick:()=>R(e.value)})),defaultOption:p??void 0,handleChangeOption:R,placeholder:t("selectPost")}),g.length>31?(0,l.jsxs)("div",{className:"flex items-center space-x-2 text-sm",onClick:O(g.length),children:[(0,l.jsx)(S.A,{className:"mr-2"}),(0,l.jsx)("span",{children:t("common:showMoreIfNotFound")})]}):null,u&&(0,l.jsxs)("div",{className:"rounded-md bg-blue-200",children:[(0,l.jsx)("h4",{children:t("selectedPost")}),(0,l.jsx)("p",{children:u.text})]}),(0,l.jsx)("br",{}),(0,l.jsx)("br",{}),!u&&(0,l.jsx)("div",{className:"error",children:t("enterAllFields")}),z&&(0,l.jsx)("div",{className:"error",children:E}),(0,l.jsx)(v.$,{disabled:!u||A,onClick:q,children:A?t("sendingRequest"):t("sendRequest")}),(0,l.jsx)("br",{}),(0,l.jsx)("br",{})]}):(0,l.jsxs)("div",{className:"first-post-msg no-user",children:[(0,l.jsx)("h3",{children:t("doYouHaveAccount")}),(0,l.jsx)(m.N_,{className:"ui huge button primary",to:`/login?referer=/d/${e}`,rel:"noopener nofollow",children:t("loginRyfma")}),(0,l.jsx)("div",{className:"divider"}),(0,l.jsx)("h3",{children:t("noAccountYet")}),(0,l.jsx)(m.N_,{className:"ui huge button red",to:`/register?referer=/d/${e}`,rel:"noopener nofollow",children:t("createRyfma")})]}),(0,l.jsx)(T.lG,{open:y,onOpenChange:e=>!e&&b(!1)&&N([]),children:(0,l.jsxs)(T.Cf,{children:[(0,l.jsx)(T.c7,{children:(0,l.jsx)(T.L3,{children:t("requestTitle")})}),r?(0,l.jsx)("p",{children:t("requestSubTitle")}):(0,l.jsx)("p",{children:t("requestSubTitleNoUser")}),s]})}))]})};var L=t(23105),E=t(99034),F=t(38784);let B=(0,F.J1)`
9	query getFestPost($festId: String!, $userId: String!) {
10		getFestPost(festId: $festId, userId: $userId) {
11			_id
12			festId
13			postId
14			userId
15			likeCount
16
17			post {
18				_id
19				createdAt
20				postedAt
21				title
22				slug
23				excerpt
24				htmlBody
25				coverImg
26				likeCount
27				liked
28				currUserLikes
29				commentsCount
30				userId
31				isAdultContent
32			}
33
34			author {
35				profile {
36					name
37				}
38			}
39		}
40	}
41`;var q=t(3580),O=t(68533),R=t(28041),M=t(78655);let U=({t:e,objectId:s})=>(0,l.jsxs)("div",{id:"comments",className:"py-4",children:[(0,l.jsx)("div",{className:"text-lg leading-5 font-bold",children:e("comment:comments")}),(0,l.jsx)("div",{id:"c_null",className:"space-y-6",children:(0,l.jsxs)("div",{className:"mt-4 rounded-lg bg-gray-100 px-2 py-3 text-center",children:[e("comment:loginReq1")," ",(0,l.jsx)(m.N_,{to:`/login?referer=/d/${s}`,rel:"nofollow",className:"text-blue-600",children:e("comment:loginReqLink")})," ",e("comment:loginReq2")]})})]}),H=()=>null,J=()=>null,W=function({duelPost:e,post:s,author:i,isOwner:n,ownerId:x}){let[u]=(0,d.Bd)("post"),{currUser:h,currUserId:p}=(0,$.As)(),{isMobile:j}=(0,$.t0)(),[g]=(0,o.useState)(!1),[,y]=(0,o.useState)(!1),[b,w]=(0,o.useState)(!1),[I]=(0,a.n)(R.A);(0,o.useEffect)(()=>{(s?.commentsCount>0||p)&&t.e(51806).then(t.bind(t,83272)).then(e=>{U=e.default,y(!0)}),s.videoLink&&t.e(14375).then(t.bind(t,76986)).then(e=>{J=e.default,w(!0)})},[]);let A=s.htmlBody.replace(/<p><\/p>/gi,"").replace(/<a(\s[^>]*)?>.*?<\/a>/gi,""),P=h?.roles.includes("admin");return(0,l.jsxs)(c().Fragment,{children:[(0,l.jsxs)("div",{className:"my-4 flex items-center justify-center space-x-2",children:[(0,l.jsx)(O.A,{size:18,fill:"#f74160",color:"#f74160"}),(0,l.jsx)("span",{className:"font-bold text-[#f74160]",children:e.likeCount})]}),(0,l.jsxs)("div",{className:"",children:[P||n&&x!==e.userId&&(0,l.jsx)("div",{className:"admin-actions",children:(0,l.jsx)(N.A,{trigger:(0,l.jsx)("div",{className:"right",children:(0,l.jsx)(r.A,{size:20})}),content:(0,l.jsxs)("div",{children:[(0,l.jsx)("h5",{children:u("deletePost")}),(0,l.jsx)("p",{children:u("deletePostText")}),(0,l.jsx)("div",{className:"actions",children:(0,l.jsx)(v.$,{variant:"default",onClick:()=>{try{I({variables:{_id:e._id,festId:e.festId,postId:e.postId,userId:e.userId,msg:"",isDuel:!0}}),f.Notification.success("Пост удален успешно"),window.location.reload()}catch(e){f.Notification.error(e)}},children:u("common:yes")})})]})})}
41),(0,l.jsx)(m.N_,{to:`/p/${s._id}/${s.slug}`,children:(0,l.jsx)("h2",{children:s.title})}),s.videoLink&&b&&(0,l.jsx)(J,{videoLink:s.videoLink}),(0,l.jsx)("div",{onContextMenu:()=>!1,dangerouslySetInnerHTML:{__html:A}}),(0,l.jsx)(M.A,{post:{...s,author:i},isMobile:j,isPost:!0,seoTitle:s.seoTitle??s.title??"",seoDesc:s.seoDescription??""}),(0,l.jsx)(U,{t:u,author:i,objectType:"post",objectId:s._id,title:s.title,commentsLength:s.commentsCount,showComments:!0})]}),g&&(0,l.jsx)(H,{referer:`/d/${e._id}/${e.slug}`})]})},Y=function({author:e,isOwner:s,ownerId:t}){let[n]=(0,d.Bd)("contest"),{duelId:r}=(0,x.g)(),{loading:c,error:m,data:u}=(0,i.I)(B,e?{variables:{festId:r,userId:e._id}}:L.h),[h]=(0,a.n)(q.A);return((0,o.useEffect)(()=>{h({variables:{_id:r}})},[]),c)?(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)(y.E,{className:"h-6 w-2/3 rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-full rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-full rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-1/2 rounded-full"})]}):m||!u?.getFestPost?(0,l.jsxs)("div",{className:"space-y-4 text-center",children:[(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,l.jsx)(E.A,{}),(0,l.jsx)("span",{children:"0"})]}),(0,l.jsx)("p",{children:n("postNotFound")})]}):(0,l.jsx)(W,{duelPost:u?.getFestPost,post:u?.getFestPost?.post,author:e,isOwner:s,ownerId:t})},G=(0,o.lazy)(()=>Promise.resolve().then(t.bind(t,42784))),K=function(){let[e]=(0,d.Bd)("contest"),[s]=(0,m.ok)(),{duelId:t,duelSlug:c}=(0,x.g)(),{currUser:k,currUserId:S}=(0,$.As)(),_=(0,I.shouldHideAds)(k),{isMobile:D,staticContext:C}=(0,$.t0)(),T=s.get("refresh"),{loading:L,error:E,data:F}=(0,i.I)(p.A,{variables:{slug:c,festId:t,isDuel:!0},fetchPolicy:T?"network-only":"cache-and-network"}),[B]=(0,a.n)(h.A);if(L)return(0,l.jsxs)("div",{className:"mx-auto max-w-screen-xl pt-4 pb-12",children:[(0,l.jsx)(y.E,{className:"mx-auto mb-4 h-8 w-64 rounded-full"}),(0,l.jsx)(y.E,{className:"mx-auto mb-8 h-7 w-56 rounded-full"}),(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-12",children:[(0,l.jsxs)("div",{className:"col-span-12 space-y-3 lg:col-span-5",children:[(0,l.jsx)(y.E,{className:"mx-auto size-36 rounded-full"}),(0,l.jsx)(y.E,{className:"mx-auto h-6 w-40 rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-full rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-2/3 rounded-full"})]}),!D&&(0,l.jsxs)("div",{className:"col-span-2 space-y-2 text-center",children:[(0,l.jsx)(y.E,{className:"mx-auto h-16 w-16 rounded-lg"}),(0,l.jsx)(y.E,{className:"mx-auto h-7 w-24 rounded-full"}),(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-2",children:[(0,l.jsx)(y.E,{className:"size-7 rounded-full"}),(0,l.jsx)(y.E,{className:"h-7 w-16 rounded-full"})]})]}),(0,l.jsxs)("div",{className:"col-span-12 space-y-3 lg:col-span-5",children:[(0,l.jsx)(y.E,{className:"mx-auto size-36 rounded-full"}),(0,l.jsx)(y.E,{className:"mx-auto h-6 w-40 rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-full rounded-full"}),(0,l.jsx)(y.E,{className:"h-4 w-2/3 rounded-full"})]})]})]});if(E||!F?.getContest)return C&&(C.status=F?.getContest?404:410),(0,l.jsx)(u.default,{schema:"WebPage",title:e("duelNotFoundDesc"),description:e("duelNotFoundDesc"),path:`d/${t}/${c}`,contentType:"website",backLink:"/d/all",backLinkText:e("duelNotFoundLink")});let q=F.getContest,O=q.usersData[0]||q.author,R=new Date,M=new Date(q.fromDate),U=new Date(q.toDate),H=U>R&&2===q.status,J=5===q.status,W=!!O&&S===O._id,K=k?.roles.includes("admin"),Q=q.winner,Z=null,V=null;if(J){let s="absolute -bottom-1 left-2/4 right-auto -translate-x-2/4 rounded-full py-1 px-3 text-sm text-white";Q?Q._id===O?(Z=(0,l.jsx)("div",{className:`${s} bg-blue-600`,children:(0,l.jsx)("div",{className:"",children:e("win")})}),V=(0,l.jsx)("div",{className:`${s} bg-red-600`,children:(0,l.jsx)("div",{className:"",children:e("lose")})})):(Z=(0,l.jsx)("div",{className:`${s} bg-red-600`,children:(0,l.jsx)("div",{className:"",children:e("lose")})}),V=(0,l.jsx)("div",{className:`${s} bg-blue-600`,children:(0,l.jsx)("div",{className:"",children:e("win")})})):(Z=(0,l.jsx)("div",{className:`${s} bg-gray-100`,children:(0,l.jsx)("div",{className:"text-black",children:e("nowinner")})}),V=(0,l.jsx)("div",{className:`${s} bg-gray-100`,children:(0,l.jsx)("div",{className:"text-black",children:e("nowinner")})}))}let X="";q.usersData[1]&&(X=q.isAnonymous?" vs Автор 2":` vs ${q.usersData[1].profile.name}`);let ee=`${e("seoDuelPageTitle")}${q.seoTitle||q.title} - ${!q.isAnonymous?O.profile.name:"Автор 1"}${X} ${J?`(Завершена ${U.getDate()}-${U.getMonth()+1}-${U.getFullYear()})`:"(Идет)"}`,es=`${ee} ${e("seoDuelsDesc")}`,et=null;q.usersData[1]?et=(0,l.jsx)(Y,{isOwner:W,ownerId:O._id,author:q.usersData[1]}):W||(et=q.disallowedUsers?.includes(S)?(0,l.jsx)("div",{className:"text-center text-xl font-bold",children:e("cantAcceptDuel")}):(0,l.jsx)(z,{festId:q._id}));let el=(0,l.jsx)("div",{className:"text-xl font-semibold",children:"Дуэль еще не началась, ждем участников"});return J?el=(0,l.jsx)("div",{className:"text-xl font-semibold",children:"Дуэль завершена!"}):H&&q.isActive&&(el=(0,l.jsxs)("div",{className:"text-xl font-semibold",children:["До завершения дуэли:",(0,l.jsx)(P.A,{to:q.toDate,className:"text-2xl"})]})),(0,l.jsxs)("div",{className:"mx-auto max-w-screen-xl pt-4 pb-12",children:[(0,l.jsx)(j.default,{schema:"WebPage",title:ee,description:es,path:`d/${q._id}/${q.slug}`,contentType:"website"}),(0,l.jsxs)("div",{itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/LiteraryEvent",children:[(0,l.jsx)("meta",{itemProp:"startDate",content:(0,b.A)(M)}),(0,l.jsx)("meta",{itemProp:"endDate",content:(0,b.A)(U)}),(0,l.jsx)("meta",{itemProp:"description",content:es}),(0,l.jsx)("meta",{itemProp:"eventAttendanceMode",content:"https://schema.org/OnlineEventAttendanceMode"}),(0,l.jsx)("meta",{itemProp:"eventStatus",content:"https://schema.org/EventScheduled"}),(0,l.jsx)("div",{className:"hidden",itemProp:"location",itemScope:!0,itemType:"https://schema.org/VirtualLocation",children:(0,l.jsx)("meta",{itemProp:"url",content:`https://ryfma.com/d/${q._id}/${q.slug}`})}),(0,l.jsxs)("span",{className:"hidden",itemProp:"offers",itemScope:!0,itemType:"https://schema.org/Offer",children:[(0,l.jsx)("meta",{className:"contest-price",itemProp:"price",content:"0"}),(0,l.jsx)("meta",{itemProp:"validFrom",content:(0,b.A)(M)}),(0,l.jsx)("meta",{itemProp:"validThrough",content:(0,b.A)(U)}),(0,l.jsx)("meta",{itemProp:"priceCurrency",content:"RUB"}),(0,l.jsx)(m.N_,{itemProp:"url",to:`/d/${q._id}/${q.slug}`}),(0,l.jsx)("link",{itemProp:"availability",href:"https://schema.org/OnlineOnly"})]}),(0,l.jsx)("span",{className:"hidden",itemScope:!0,itemProp:"organizer",itemType:"https://schema.org/Organization",children:(0,l.jsx)("a",{href:`https://ryfma.com/u/${O.username}`,itemProp:"url",children:(0,l.jsx)("span",{itemProp:"name",children:O.profile.name})})}),(0,l.jsx)("span",{className:"hidden",itemScope:!0,itemProp:"performer",itemType:"https://schema.org/Person",children:(0,l.jsx)("a",{href:`https://ryfma.com/u/${O.username}`,itemProp:"url",children:(0,l.jsx)("span",{itemProp:"name",children:O.profile.name})})}),(0,l.jsxs)("main",{children:[!q.isFestival&&(0,l.jsx)(A.A,{items:[{link:"/",
41name:"Ryfma"},{link:"/d/all",name:e("backToDuels")},{name:q.title,metaName:q.title}]}),W&&(0,l.jsx)("div",{className:"text-right",children:(0,l.jsxs)(m.N_,{to:`/d/${q._id}/${q.slug}/edit`,className:"flex items-center space-x-2",children:[(0,l.jsx)(n.A,{}),(0,l.jsx)("span",{children:e("common:edit")})]})}),K&&(0,l.jsx)(N.A,{trigger:(0,l.jsx)("div",{className:"right",children:(0,l.jsx)(r.A,{size:20})}),content:(0,l.jsxs)("div",{children:[(0,l.jsx)("h5",{children:e("deletePost")}),(0,l.jsx)("p",{children:e("deletePostText")}),(0,l.jsx)("div",{className:"actions",children:(0,l.jsx)(v.$,{variant:"default",onClick:()=>{try{B({variables:{_id:t},update:e=>{e.evict({fieldName:"getContest"}),e.evict({fieldName:"getFestivals"}),e.evict({fieldName:"getAdminContests"}),e.gc()}}),f.Notification.success("Дуэль удалена успешно")}catch(e){f.Notification.error(e)}},children:e("common:yes")})})]})}),(0,l.jsxs)("h1",{itemProp:"name",className:"mb-4 text-center text-2xl font-bold",children:['Дуэль "',q.title,'"']}),(0,l.jsx)("div",{className:"mb-8 text-center",children:el}),(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-12",children:[(0,l.jsxs)("div",{className:"col-span-12 lg:col-span-5",children:[q.isAnonymous&&(0,l.jsx)(g.A,{image:"https://cdn.ryfma.com/defaults/icons/default_full_avatar.jpg",name:"Автор 1",username:"",noLink:!0,type:"huge",iconSize:"text-5xl"}),O&&!q.isAnonymous&&(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(g.A,{image:O.profile.image,username:O.username,name:O.profile.name,type:"huge",iconSize:"text-5xl"}),Z]}),(0,l.jsx)("div",{className:"mt-2 text-center text-base font-semibold",children:O.profile.name})]}),(0,l.jsx)("div",{children:(0,l.jsx)(Y,{isOwner:W,ownerId:O._id,author:O})})]}),!D&&(0,l.jsxs)("div",{className:"col-span-2 space-y-2 text-center",children:[(0,l.jsx)("img",{src:"https://cdn.ryfma.com/defaults/icons/weapons.png",className:"mx-auto"}),(0,l.jsx)("div",{className:"text-xl font-semibold text-gray-400 uppercase",children:e("reward")}),(0,l.jsxs)("div",{className:"flex items-center justify-center space-x-2",children:[(0,l.jsx)(w.A,{size:28}),(0,l.jsx)("span",{className:"text-xl font-bold",children:"100"})]})]}),(0,l.jsxs)("div",{className:"col-span-12 lg:col-span-5",children:[q.isAnonymous&&q.usersData[1]&&(0,l.jsx)(g.A,{image:"https://cdn.ryfma.com/defaults/icons/default_full_avatar.jpg",name:"Автор 2",username:"",noLink:!0,type:"huge",iconSize:"text-5xl"}),q.isAnonymous&&!q.usersData[1]&&(0,l.jsx)(g.A,{image:"https://cdn.ryfma.com/defaults/icons/default_full_avatar.jpg",name:"Ждет соперника",username:"",noLink:!0,type:"huge",iconSize:"text-5xl"}),!q.isAnonymous&&(q.usersData[1]?(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(g.A,{image:q.usersData[1].profile.image,name:q.usersData[1].profile.name,username:q.usersData[1].username,type:"huge",iconSize:"text-5xl"}),V]}),(0,l.jsx)("div",{className:"mt-2 text-center text-base font-semibold",children:q.usersData[1].profile.name})]}):(0,l.jsx)(g.A,{image:"https://cdn.ryfma.com/defaults/icons/default_full_avatar.jpg",name:"Ждет соперника",username:"",noLink:!0,type:"huge",iconSize:"text-5xl"})),(0,l.jsx)("div",{children:et})]})]})]})]}),!_&&(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)("div",{style:{height:250}}),children:(0,l.jsx)(G,{height:250,adType:"multiList",statId:48})})]})}},49315(e,s,t){var l=t(38784);let i=(0,l.J1)`
42	mutation insertFestPost(
43		$festId: String!
44		$postId: String!
45		$fio: String
46		$age: Int
47		$city: String
48		$phone: String
49		$email: String
50		$extraInfo: String
51		$linkToPage: String
52		$repostLink: String
53		$level: Int
54		$isDuel: Boolean
55	) {
56		insertFestPost(
57			festId: $festId
58			postId: $postId
59			fio: $fio
60			age: $age
61			city: $city
62			phone: $phone
63			email: $email
64			extraInfo: $extraInfo
65			linkToPage: $linkToPage
66			repostLink: $repostLink
67			level: $level
68			isDuel: $isDuel
69		) {
70			_id
71		}
72	}
73`;t.d(s,{},{A:i})},75058(e,s,t){var l=t(38784);let i=(0,l.J1)`
74	query getContest($slug: String, $festId: String, $isDuel: Boolean) {
75		getContest(slug: $slug, festId: $festId, isDuel: $isDuel) {
76			_id
77			ownerId
78			toDate
79			fromDate
80			seoTitle
81			title
82			slug
83			brief
84			description
85			coverImg
86			fromDate
87			toDate
88			acceptDate
89			entryFee
90			isDuel
91			isAnonymous
92			isRealMoney
93			isActive
94			status
95			disallowedUsers
96			blockedUsers {
97				_id
98				username
99				profile {
100					name
101					image
102				}
103			}
104			winner {
105				_id
106				profile {
107					name
108				}
109			}
110			duelPost {
111				_id
112				title
113			}
114			author {
115				_id
116				username
117				roles
118				profile {
119					name
120					image
121				}
122			}
123			usersData {
124				_id
125				username
126				roles
127				profile {
128					image
129					name
130				}
131			}
132		}
133	}
134`;t.d(s,{},{A:i})}
134,84538(e,s,t){var l=t(38784),i=t(75593);let a=(0,l.J1)`
135	query getLatestPosts(
136		$type: String
137		$userId: String
138		$albumId: String
139		$tagId: String
140		$tagSlug: String
141		$festId: String
142		$duration: String
143		$withImage: Boolean
144		$status: Int
145		$personal: Boolean
146		$keyword: String
147		$noCache: Boolean
148		$skip: Int
149		$limit: Int
150		$from: String
151	) {
152		posts(
153			type: $type
154			userId: $userId
155			albumId: $albumId
156			tagId: $tagId
157			tagSlug: $tagSlug
158			festId: $festId
159			duration: $duration
160			withImage: $withImage
161			status: $status
162			personal: $personal
163			keyword: $keyword
164			noCache: $noCache
165			skip: $skip
166			limit: $limit
167			from: $from
168		) {
169			...PostFeedItem
170		}
171	}
172	${i.Og}
173`;t.d(s,{},{A:a})},58037(e,s,t){var l=t(74848);t.d(s,{},{A:({color:e="currentColor",size:s=24,...t})=>(0,l.jsx)("span",{className:"mx-[2px] my-0 inline-block h-[var(--size)] w-[var(--size)] align-middle",style:{"--size":`${s}px`},children:(0,l.jsxs)("svg",{xmlns:"https://www.w3.org/2000/svg",width:s,height:s,viewBox:"0 0 640 640",fill:"none",stroke:e,...t,children:[(0,l.jsx)("circle",{r:"317.5",cy:"317.49999",cx:"317.50001",fill:"#F6D738"}),(0,l.jsx)("path",{d:"m293.00101,149.87799c49.741,0 87.836,8.845 114.303,26.539c26.461,17.695 39.694,45.196 39.694,82.497c0,23.28 -5.345,42.165 -16.023,56.673c-10.684,14.508 -26.064,25.908 -46.152,34.193c6.698,8.291 13.708,17.779 21.044,28.457c7.329,10.684 14.586,21.837 21.759,33.472c7.173,11.646 14.111,23.755 20.803,36.351c6.698,12.596 12.915,24.946 18.651,37.061l-83.398,0c-6.083,-10.835 -12.249,-21.832 -18.489,-32.997c-6.239,-11.159 -12.635,-22 -19.199,-32.521c-6.558,-10.522 -13.043,-20.484 -19.439,-29.888c-6.407,-9.404 -12.808,-17.935 -19.204,-25.589l-36.826,0l0,120.995l-74.603,0l0,-326.638c16.258,-3.181 33.069,-5.417 50.451,-6.692c17.377,-1.27 32.919,-1.913 46.628,-1.913zm4.304,63.606c-5.423,0 -10.281,0.162 -14.586,0.475c-4.305,0.324 -8.369,0.643 -12.193,0.956l0,89.91l21.044,0c28.049,0 48.136,-3.505 60.257,-10.522c12.115,-7.011 18.17,-18.964 18.17,-35.865c0,-16.263 -6.139,-27.814 -18.41,-34.674c-12.278,-6.853 -30.37,-10.28 -54.282,-10.28z",fill:"#C67D26"})]})})})},41125(e,s,t){var l=t(74848),i=t(70885),a=t(92368);t.d(s,{},{A:({items:e})=>(0,l.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,l.jsx)("ol",{className:"mt-2 mb-2 flex list-none flex-wrap",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:e.map((s,t)=>(0,l.jsxs)("li",{itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",className:e.length===t+1?"line-clamp-2 inline text-sm break-words whitespace-normal capitalize":"mr-2 mb-1 flex items-center",children:[e.length===t+1?s.name:(0,l.jsx)(a.N_,{itemScope:!0,itemProp:"item",itemType:"https://schema.org/WebPage",itemID:`https://ryfma.com${s.link}`,to:s.link??"/",className:"text-sm font-semibold text-blue-600",children:(0,l.jsx)("span",{className:"text-sm break-words whitespace-normal capitalize",itemProp:"name",children:s.name})}),(0,l.jsx)("meta",{itemProp:"position",content:String(t+1)}),e.length===t+1&&(0,l.jsx)("meta",{itemProp:"name",content:s.metaName}),e.length!==t+1&&(0,l.jsx)(i.A,{size:16,className:"ml-2 text-gray-500"})]},t))})})})},50994(e,s,t){var l=t(74848),i=t(7401);t.d(s,{},{A:function({to:e,isShort:s=!1,className:t=""}){return"u"<typeof window?null:(0,l.jsx)(i.Ay,{date:e??"",renderer:({days:e,hours:i,minutes:a,seconds:n,completed:r})=>{if(r)return null;let o=i<10?`0${i}`:i,c=a<10?`0${a}`:a,d=n<10?`0${n}`:n;return s?(0,l.jsxs)("div",{className:`font-semibold text-gray-900 ${t}`,children:[(0,l.jsx)("span",{className:"text-sm",children:c}),":",(0,l.jsx)("span",{className:"text-sm",children:d})]}):e>0?(0,l.jsxs)("div",{className:`font-semibold text-gray-900 ${t}`,children:[(0,l.jsxs)("span",{className:"text-sm",children:[e," дн."]}),"\xa0",(0,l.jsx)("span",{className:"text-sm",children:o}),":",(0,l.jsx)("span",{className:"text-sm",children:c}),":",(0,l.jsx)("span",{className:"text-sm",children:d})]}):(0,l.jsxs)("div",{className:`font-semibold text-gray-900 ${t}`,children:[(0,l.jsx)("span",{className:"text-sm",children:o}),":",(0,l.jsx)("span",{className:"text-sm",children:c}),":",(0,l.jsx)("span",{className:"text-sm",children:d})]})}})}})},38445(e){e.exports={lZ:"YwKUAz",QI:"_6ejKQA",pf:"H5gAyO",ZI:"_2MhWIw",kz:"kqwemF",Zy:"jU5-ao",tV:"ijTAHA",zP:"_71Qsrc",yl:"Xrg8xu"}}}]);

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.