PageSourceSearch

https://plsdb.com/static/js/8598.36ad4047.chunk.js

js plsdb.com collected 2026-10-05 08:45:43 UTC 9,528 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkgame_db_frontend=self.webpackChunkgame_db_frontend||[]).push([[8598],{45296:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(9950),i=a(20032),r=a(87233),o=a(65471),n=a(44414);const l=(0,o.A)([(0,n.jsx)("path",{d:"M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 10H3V8h18zM6 15h2v-2h2v-2H8V9H6v2H4v2h2z"},"0"),(0,n.jsx)("circle",{cx:"14.5",cy:"13.5",r:"1.5"},"1"),(0,n.jsx)("circle",{cx:"18.5",cy:"10.5",r:"1.5"},"2")],"VideogameAssetOutlined");var c=a(42477);const d=e=>{let{src:t,title:a,aspectRatio:o="3/4",eager:c=!1,className:d,sx:x}=e;const[p,m]=(0,s.useState)(!1),h=!!t&&!p;return(0,n.jsx)(i.A,{className:d,sx:[{position:"relative",display:"block",width:"100%",aspectRatio:o,overflow:"hidden",bgcolor:"#181818"},...Array.isArray(x)?x:[x]],children:h?(0,n.jsx)(i.A,{component:"img",src:t,alt:"",loading:c?"eager":"lazy",fetchPriority:c?"low":void 0,decoding:"async",draggable:!1,onError:()=>m(!0),sx:{display:"block",width:"100%",height:"100%",objectFit:"cover"}}):(0,n.jsxs)(i.A,{sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:.75,p:1,textAlign:"center",background:"linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02))"},children:[(0,n.jsx)(l,{sx:{fontSize:"1.1rem",color:"text.disabled"}}),a&&(0,n.jsx)(r.A,{sx:{fontSize:{xs:"0.52rem",sm:"0.56rem"},lineHeight:1.5,color:"text.secondary",display:"-webkit-box",WebkitLineClamp:4,WebkitBoxOrient:"vertical",overflow:"hidden",wordBreak:"break-word"},children:a})]})})};c.Zz.card},85879:(e,t,a)=>{a.d(t,{U:()=>d});a(9950);var s=a(20032),i=a(83274),r=a(65471),o=a(44414);const n=(0,r.A)((0,o.jsx)("path",{d:"M17 1.01 7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99M17 19H7V5h10z"}),"Smartphone"),l=(e,t)=>(0,o.jsx)(s.A,{component:"span",sx:{display:"inline-block",width:t,height:t,flexShrink:0,maskImage:`url(/icons/service/${e})`,maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:`url(/icons/service/${e})`,WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center",backgroundColor:"currentColor"}}),c={windows:{label:"Windows",icon:l("windows.svg","0.68rem")},playstation:{label:"PlayStation",icon:l("playstation_color.svg","0.72rem")},switch:{label:"Nintendo Switch",icon:l("switch_official.svg","0.72rem")},xbox:{label:"Xbox",icon:l("xbox_color.svg","0.66rem")},mobile:{label:"\u30e2\u30d0\u30a4\u30eb",icon:(0,o.jsx)(n,{sx:{fontSize:"0.76rem"}})}},d=e=>{let{marks:t}=e;return null!==t&&void 0!==t&&t.length?(0,o.jsx)(s.A,{sx:{display:"flex",alignItems:"center",gap:.75,color:"text.disabled"},children:t.map((e=>{const t=c[e];return t?(0,o.jsx)(i.A,{title:t.label,placement:"top",children:(0,o.jsx)(s.A,{component:"span","aria-label":t.label,sx:{display:"inline-flex"},children:t.icon})},e):null}))}):null}},8598:(e,t,a)=>{a.r(t),a.d(t,{default:()=>A});a(9950);var s=a(19808),i=a(20032),r=a(87233),o=a(10226),n=a(28429),l=a(42074),c=a(36150),d=a(32856),x=a(14801),p=a(67818),m=a(28006),h=a(80452),g=a(59642),y=a(42477),b=a(15796),v=a(2895),u=a(44414);const A=()=>{const{key:e=""}=(0,n.g)(),{i18n:t}=(0,p.Bd)(),{data:a,isLoading:A,isError:f,refetch:j}=(0,c.I)({queryKey:["discoverySection",e,(0,g.a$)()],queryFn:()=>(0,h.gc)(e),staleTime:3e5});return(0,u.jsxs)(s.A,{maxWidth:"lg",sx:{px:{xs:1.5,sm:3},pt:{xs:"84px",sm:"104px"},pb:8},children:[(0,u.jsx)(d.mg,{children:(0,u.jsx)("title",{children:a?`${a.title}\uff5cPULSE`:"PULSE"})}),(0,u.jsxs)(i.A,{component:l.N_,to:"/",sx:{display:"inline-flex",alignItems:"center",gap:.5,mb:2,textDecoration:"none",color:"text.secondary",...y.ZE.caption,"&:hover":{color:"primary.main"}},children:[(0,u.jsx)(x.A,{sx:{fontSize:"0.8rem"}}),"\u30db\u30fc\u30e0\u3078"]}),f&&!a&&(0,u.jsxs)(i.A,{sx:{py:8,textAlign:"center"},children:[(0,u.jsx)(r.A,{sx:{...y.ZE.body,fontWeight:700},children:"\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f"}),(0,u.jsx)(o.A,{onClick:()=>j(),variant:"outlined",sx:{mt:3,borderRadius:y.Zz.control,textTransform:"none"},children:"\u518d\u8a66\u884c"})]}),a&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r.A,{component:"h1",sx:b.xx,children:a.title}),a.subtitle&&(0,u.jsx)(r.A,{sx:b.dH,children:a.subtitle}),"game"===a.item_type?(0,u.jsx)(i.A,{sx:{mt:{xs:2.5,sm:3.5},display:"grid",gridTemplateColumns:{xs:"repeat(3, minmax(0, 1fr))",sm:"repeat(4, minmax(0, 1fr))",md:"repeat(6, minmax(0, 1fr))"},gap:{xs:1,sm:1.5}},children:a.items.map((e=>(0,u.jsxs)(v.A,{game:e,children:[(0,u.jsx)(r.A,{noWrap:!0,sx:{mt:.75,...y.ZE.caption,fontWeight:700},children:(0,m.Gh)(e,t.language)}),e.reason&&(0,u.jsx)(r.A,{sx:{mt:.4,...y.ZE.label,color:"text.secondary",lineHeight:1.5,display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e.reason})]},e.game_id)))}):(0,u.jsx)(r.A,{sx:{mt:3,...y.ZE.caption,color:"text.secondary"},children:"\u3053\u306e\u7bc0\u306f\u30db\u30fc\u30e0\u3067\u5168\u90e8\u898b\u3089\u308c\u307e\u3059\u3002"}),0===a.items.length&&!A&&(0,u.jsx)(r.A,{sx:{mt:4,...y.ZE.caption,color:"text.secondary"},children:"\u3044\u307e\u51fa\u305b\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002"})]})]})}},2895:(e,t,a)=>{a.d(t,{A:()=>y});a(9950);var s=a(20032),i=a(83274),r=a(25333),o=a(80582),n=a(42074),l=a(67818),c=a(28006),d=a(12225),x=a(85879),p=a(45296),m=a(82498),h=a(44414);const g="@media (hover: hover) and (pointer: fine)",y=e=>
1{let{game:t,width:a,overlay:y,frameSx:b,children:v,dim:u=!1,hideTitle:A=!1,hideMarks:f=!1,onDismiss:j,action:k}=e;const{i18n:w}=(0,l.Bd)(),S=(0,c.Gh)(t,w.language);return(0,h.jsxs)(s.A,{sx:e=>{const t=(0,d.oT)(e);return{...t,position:"relative",flexShrink:0,width:a||"100%",minWidth:0,opacity:u?.45:1,[g]:{...t[g],"& .dismiss":{opacity:0,transition:"opacity .15s ease"},"&:hover .dismiss":{opacity:1},"& .dismiss:focus-visible":{opacity:1}}}},children:[(0,h.jsxs)(s.A,{sx:[{position:"relative",borderRadius:m.Zz.card,overflow:"hidden"},...Array.isArray(b)?b:[b]],children:[(0,h.jsx)(p.A,{className:d.Og,src:(0,c.u0)(t.cover,t.cover_global,w.language),title:S}),y,j&&(0,h.jsx)(i.A,{title:"\u8208\u5473\u306a\u3057",placement:"top",children:(0,h.jsx)(r.A,{className:"dismiss",size:"small","aria-label":`${S} \u3092\u8208\u5473\u306a\u3057\u306b\u3059\u308b`,onClick:e=>{e.preventDefault(),e.stopPropagation(),j()},sx:{position:"absolute",top:6,right:6,zIndex:3,p:.5,borderRadius:m.Zz.control,bgcolor:"rgba(0,0,0,.62)",backdropFilter:"blur(6px)",color:"common.white","&:hover":{bgcolor:"rgba(0,0,0,.82)"}},children:(0,h.jsx)(o.A,{sx:{fontSize:"0.8rem"}})})}),k]}),(0,h.jsxs)(s.A,{sx:{pointerEvents:"none"},children:[v,!A&&!v&&(0,h.jsx)(s.A,{component:"span",sx:e=>({display:"block",mt:.75,...e.typography.body2,...m.ZE.caption,color:"text.primary",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}),children:S}),!A&&!f&&(0,h.jsx)(s.A,{sx:{mt:.5},children:(0,h.jsx)(x.U,{marks:t.platforms})})]}),(0,h.jsx)(s.A,{component:n.N_,to:`/game/${t.game_id}`,"aria-label":S,draggable:!1,sx:{position:"absolute",inset:0,zIndex:1,borderRadius:m.Zz.card}})]})}},80452:(e,t,a)=>{a.d(t,{T_:()=>g,To:()=>y,XU:()=>r,_O:()=>o,d5:()=>d,fX:()=>n,g5:()=>x,gc:()=>c,q3:()=>p,qi:()=>l,uS:()=>h,yl:()=>m});var s=a(82932),i=a(59642);const r={PENDING:0,PLAYED:1,BACKLOG:4,WISH:5,SKIP:8,UNINTERESTED:9},o=async()=>(await s.Ay$.get("/discovery/packs/themes/")).data,n=async e=>(await s.Ay$.get(`/discovery/packs/themes/${e}/`,{params:{scope:(0,i.aB)()}})).data,l=async()=>(await s.Ay$.get("/discovery/home/",{params:{retro:(0,i.a$)()}})).data,c=async e=>(await s.Ay$.get(`/discovery/sections/${e}/`,{params:{retro:(0,i.a$)()}})).data,d=async()=>(await s.Ay$.get("/discovery/surf/")).data,x=async()=>(await s.Ay$.post("/discovery/packs/open/",{retro:(0,i.a$)()})).data,p=async e=>(await s.Ay$.get(`/discovery/packs/${e}/`)).data,m=async(e,t,a,i)=>(await s.Ay$.post(`/discovery/packs/${e}/items/${t}/assign/`,{action:a,score:i})).data,h=async e=>(await s.Ay$.post("/discovery/uninterested/",{game_id:e})).data,g=async e=>(await s.Ay$.post("/discovery/uninterested/undo/",{game_id:e})).data,y=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(await s.Ay$.post("/discovery/dev/reset/",e)).data}},59642:(e,t,a)=>{a.d(t,{QE:()=>d,_j:()=>r,a$:()=>o,aB:()=>x,eN:()=>p,iP:()=>n});const s="pulse.discovery.retro",i="soft",r=[{value:"on",label:"\u5236\u9650\u3057\u306a\u3044",help:"\u767a\u58f2\u6642\u671f\u306b\u95a2\u4fc2\u306a\u304f\u51fa\u3057\u307e\u3059"},{value:"soft",label:"\u63a7\u3048\u3081",help:"\u73fe\u884c\u6a5f\u3067\u904a\u3079\u306a\u3044\u3082\u306e\u3092\u5f8c\u308d\u306b\u56de\u3057\u307e\u3059"},{value:"off",label:"\u51fa\u3055\u306a\u3044",help:"\u73fe\u884c\u6a5f\u3067\u904a\u3079\u306a\u3044\u3082\u306e\u3092\u767a\u898b\u9762\u304b\u3089\u5916\u3057\u307e\u3059"}],o=()=>{try{const e=localStorage.getItem(s);return"on"===e||"soft"===e||"off"===e?e:i}catch{return i}},n=e=>{try{localStorage.setItem(s,e)}catch{}},l="pulse.discovery.packScope",c="current",d=[{value:"current",label:"\u73fe\u884c\u6a5f\u306e\u307f",help:"\u4eca\u306e\u30cf\u30fc\u30c9\u3067\u904a\u3079\u308b\u4f5c\u54c1\u3060\u3051\u3092\u914d\u308a\u307e\u3059"},{value:"all",label:"\u5236\u9650\u3057\u306a\u3044",help:"\u65e7\u6a5f\u7a2e\u3067\u3057\u304b\u904a\u3079\u306a\u3044\u4f5c\u54c1\u3082\u914d\u308a\u307e\u3059"}],x=()=>{try{const e=localStorage.getItem(l);return"current"===e||"all"===e?e:c}catch{return c}},p=e=>{try{localStorage.setItem(l,e)}catch{}}}}]);

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.