PageSourceSearch

https://ryfma.com/build-chunks/18967.3420cb0303e2bd24.js

js ryfma.com collected 2026-10-01 12:17:18 UTC 3,128 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkryfma=self.rspackChunkryfma||[]).push([[18967],{29642(e,t,r){r.r(t);var s=r(74848),i=r(95420),a=r(54953),n=r(21540),o=r(50663),d=r(83097),l=r(7358),c=r(21438),u=r(92027),p=r(44467),m=r(39834);r.d(t,{},{default:function({index:e,userFullName:t,festPost:r,isAuthor:g,removeFestPost:f,currUserId:x,handleCloseDeleteModal:h}){let[b]=(0,n.Bd)(["contest","post","notif"]),[v,w]=(0,a.useState)(""),[I]=(0,i.n)(d.A),[j]=(0,i.n)(o.A),y=async()=>{if(!x)return void l.Notification.error("Войдите в свой аккаунт, чтобы создавать чаты");let e=[r.author._id],s={type:e.length>1?2:1,name:t,creatorId:x,users:[x,...e]},i=v.replace(/<p><\/p>/gi,"").replace("<p>&nbsp;","<p>").replace("&nbsp;</p>","</p>").replace(/<p>/gi,"").replace(/<\/p>/gi,"").trim(),a=(0,m.A)(i),n=a.length>80?`${a.substr(0,77)}…`:a;try{let e=await I({variables:s}),t=e.data?.createRoom?._id;window.ReactGA&&window.ReactGA.event({category:"Room",action:"RoomCreated",label:`RoomCreated: rId: ${t}, ${x}`,value:1});let r={roomId:t,content:a,lastRead:n,userId:x};setTimeout(async()=>{try{await j({variables:r}),l.Notification.success(b("notif:messageSendSuccess"))}catch(e){console.info(e),l.Notification.error(e)}},1500)}catch(e){l.Notification.error(e)}};return(0,s.jsx)(c.Lt,{open:!0,onOpenChange:e=>!e&&h(),children:(0,s.jsxs)(c.EO,{children:[(0,s.jsx)(c.wd,{children:(0,s.jsx)(c.r7,{children:b("deletePost")})}),g?(0,s.jsx)("p",{children:b("deletePostTextAuthor")}):(0,s.jsx)("p",{children:b("deletePostText")}),!g&&(0,s.jsxs)("div",{className:"mb-4 grid w-full items-center gap-2",children:[(0,s.jsx)(u.J,{htmlFor:"msgToUser",children:b("writeMsgHint")}),(0,s.jsx)(p.T,{value:v,onChange:e=>w(e.target.value),id:"msgToUser",rows:5,placeholder:b("writeMsgHint")})]}),(0,s.jsxs)(c.ck,{children:[(0,s.jsx)(c.Zr,{children:b("common:no")}),(0,s.jsx)(c.Rx,{variant:"destructive",onClick:g?()=>{let t={_id:r._id,festId:r.festId,postId:r.postId,userId:r.userId};h(),f(t,e)}:()=>{let t={_id:r._id,festId:r.festId,postId:r.postId,userId:r.userId,msg:v};v&&y(),h(),f(t,e)},children:b("common:yes")})]})]})})}})},92027(e,t,r){var s=r(74848),i=r(26073);function a({className:e,...t}){return(0,s.jsx)("label",{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}r.d(t,{J:()=>a})},44467(e,t,r){var s=r(74848),i=r(26073);function a({className:e,...t}){return(0,s.jsx)("textarea",{"data-slot":"textarea",className:(0,i.cn)("aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...t})}r.d(t,{T:()=>a})}}]);

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.