PageSourceSearch

https://ryfma.com/build-chunks/11451.6050ff2be4e8e435.js

js ryfma.com collected 2026-09-24 09:54:35 UTC 2,640 bytes, 43 lines download raw bytes

1"use strict";(self.rspackChunkryfma=self.rspackChunkryfma||[]).push([[11451],{92518(e,t,a){a.r(t),a.d(t,{default:()=>I});var s=a(74848),i=a(70111),l=a(23829),r=a(23105),u=a(93621),n=a(54953),c=a(21540),o=a(90537),d=a(38036),m=a(7358),b=a(86952),f=a(85137),p=a(52028),$=a(38784);let h=(0,$.J1)`
2	mutation updateAlbum(
3		$_id: ID!
4		$title: String!
5		$slug: String!
6		$description: String
7		$sticky: Boolean
8		$status: Int
9		$coverImg: String
10		$isPrivate: Boolean
11		$isPersonal: Boolean
12	) {
13		updateAlbum(
14			_id: $_id
15			title: $title
16			slug: $slug
17			description: $description
18			status: $status
19			sticky: $sticky
20			coverImg: $coverImg
21			isPrivate: $isPrivate
22			isPersonal: $isPersonal
23		)
24	}
25`,g=(0,$.J1)`
26	query getAlbumInfo($albumId: ID!) {
27		album(albumId: $albumId) {
28			_id
29			createdAt
30			updatedAt
31			title
32			description
33			viewCount
34			postCount
35			usersCount
36			status
37			sticky
38			userId
39			coverImg
40			isPrivate
41		}
42	}
43`,v=(0,n.lazy)(()=>a.e(53652).then(a.bind(a,55137))),I=function(){let[e]=(0,c.Bd)(["notif","album"]),t=(0,o.Zp)(),a=(0,i.m)(),{albumId:$}=(0,o.g)(),{staticContext:I}=(0,f.t0)(),{currUserId:y}=(0,f.As)(),{loading:k,error:x,data:j}=(0,l.I)(g,y?{variables:{albumId:$},fetchPolicy:"network-only"}:r.h),[A]=(0,u.n)(h);if(!y){let e=`/login?referer=/album/${$}/edit`;return I?(I.status=301,I.redirectTo=e,null):(0,s.jsx)(d.C5,{to:e})}let N=async s=>{let i={_id:$,...s};try{await A({variables:i}),m.Notification.success(e("notif:albumUpdated"));try{a.cache.evict({fieldName:"album"}),a.cache.evict({fieldName:"albums"}),a.cache.evict({fieldName:"posts"}),a.cache.gc()}catch{}t(`/album/${$}?refresh=true`)}catch(e){m.Notification.error(e)}};if(k)return(0,s.jsxs)("div",{className:"mx-auto max-w-screen-md px-4 pt-4 pb-12",children:[(0,s.jsx)(b.E,{className:"mb-4 h-8 w-56 rounded-full"}),(0,s.jsx)(b.E,{className:"mb-4 h-10 w-full rounded-full"}),(0,s.jsx)(b.E,{className:"h-48 w-full rounded-lg"})]});if(x)return(0,s.jsx)(n.Suspense,{fallback:(0,s.jsx)("div",{}),children:(0,s.jsx)(v,{schema:"ItemList",title:e("album:albumNotFoundTitle"),description:e("album:albumNotFoundDesc"),path:`/album/${$}/edit`,contentType:"article",backLinkText:e("album:albumNotFoundLink")})});let w={...j?.album??{}};return(0,s.jsx)(p.A,{initData:w,updateAlbum:N,currUserId:y,isEditMode:!0})}},86952(e,t,a){var s=a(74848),i=a(26073);function l({className:e,...t}){return(0,s.jsx)("div",{"data-slot":"skeleton",className:(0,i.cn)("bg-accent animate-pulse rounded-md",e),...t})}a.d(t,{E:()=>l})},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.