PageSourceSearch

https://minami-hamabe.net/assets/ApplicationFormListScreen-Bzj0gH3Y.js

js minami-hamabe.net collected 2026-10-05 03:04:21 UTC 5,183 bytes, 1 lines download raw bytes

1import{$ as C,s as N,m as o,a0 as $,c as y,l as B,r as g,d as F,a1 as m,a2 as r,j as t,N as I,T as x,_ as u,a3 as R,B as b,E as v}from"./index-Dkle4jKF.js";import{C as D}from"./CustomInfiniteScroll-BXESOHw2.js";import{P as W,F as T}from"./ReceivedForm-v70Gkiag.js";import{A as V}from"./ReceivingForm-l1DtGIcp.js";import"./ReplayRounded-COoVUoIO.js";import"./CustomMuiCard-pG8LR2G4.js";import"./CardActionArea-CeNfYpEv.js";import"./CardContent-CwJYr3bh.js";import"./CustomMuiChip-D4SifBvZ.js";import"./Chip-C1GnxJFJ.js";const n="ApplicationFormListScreen",i={wrapper:`${n}-wrapper`,title:`${n}-title`,title2:`${n}-title2`,row1:`${n}-row1`,col1:`${n}-col1`,row2:`${n}-row2`,col2:`${n}-col2`,moreButton:`${n}-moreButton`,...C[n]},H=a=>({[`&.${i.wrapper}`]:{width:"calc(100% - 48px)",margin:"auto",paddingTop:24,paddingBottom:80,[a.breakpoints.up("sm")]:{maxWidth:672,paddingTop:36},[a.breakpoints.up("md")]:{maxWidth:784,paddingTop:50},[a.breakpoints.up("lg")]:{maxWidth:1200}},[`& .${i.title}`]:{fontWeight:500,lineHeight:"28px",[a.breakpoints.up("sm")]:{fontSize:29,lineHeight:"36px"},[a.breakpoints.up("md")]:{fontSize:32,lineHeight:"40px"}},[`& .${i.title2}`]:{lineHeight:"24px",[a.breakpoints.up("sm")]:{fontSize:25,lineHeight:"34px"}},[`& .${i.row1}`]:{display:"flex",flexWrap:"wrap",marginRight:a.spacing(-2),marginLeft:a.spacing(-2),[a.breakpoints.up("md")]:{marginRight:a.spacing(-3),marginLeft:a.spacing(-3)}},[`& .${i.col1}`]:{flex:"1 1 100%",maxWidth:"100%",paddingRight:a.spacing(2),paddingLeft:a.spacing(2),marginBottom:a.spacing(4),[a.breakpoints.up("sm")]:{flex:"1 1 50%",maxWidth:"50%"},[a.breakpoints.up("md")]:{paddingRight:a.spacing(3),paddingLeft:a.spacing(3),marginBottom:a.spacing(6)},[a.breakpoints.up("lg")]:{flex:"1 1 33.33%",maxWidth:"33.33%"}},[`& .${i.row2}`]:{display:"flex",flexWrap:"wrap",marginRight:a.spacing(-2),marginLeft:a.spacing(-2),paddingLeft:0,paddingRight:0,[a.breakpoints.up("md")]:{marginRight:a.spacing(-3),marginLeft:a.spacing(-3)}},[`& .${i.col2}`]:{flex:"1 1 50%",maxWidth:"50%",paddingRight:a.spacing(2),paddingLeft:a.spacing(2),marginBottom:a.spacing(4),[a.breakpoints.up("sm")]:{flex:"1 1 25%",maxWidth:"25%"},[a.breakpoints.up("md")]:{paddingRight:a.spacing(3),paddingLeft:a.spacing(3),marginBottom:a.spacing(6)},[a.breakpoints.up("lg")]:{flex:"1 1 16.66%",maxWidth:"16.66%"}},[`& .${i.moreButton}`]:{[a.breakpoints.down("sm")]:{width:"100%"}}}),G=$(H,y[n]),z=N(o)(({theme:a,...f})=>({...G(a,f)})),d=v(),Z=()=>{const a=B(),[f,j]=g.useState(!0),[S,L]=g.useState(1),[h,P]=g.useState(1),[w,A]=g.useState(1),{prepareApplicationFormList:l,receivedApplicationFormList:c,receivingApplicationFormList:p}=F(s=>s.application),k=F(s=>s.app.fanclubSiteCurrentDesign?.fanclubDesignSubPageTitle?.applicationFormTitle);g.useEffect(()=>{d&&Promise.all([a(m({fanclubSiteId:d,isFirstLoad:!0,params:{page:1,receptionStatus:r.PREPARED}})),a(m({fanclubSiteId:d,isFirstLoad:!0,params:{page:1,receptionStatus:r.RECEIVED}})),a(m({fanclubSiteId:d,isFirstLoad:!0,params:{page:1,receptionStatus:r.RECEIVING}}))]).finally(()=>j(!1))},[a]);const E=async s=>{let e=0;return s===r.RECEIVING&&(e=w+1,A(e)),s===r.PREPARED&&(e=S+1,L(e)),s===r.RECEIVED&&(e=h+1,P(e)),e&&await a(m({fanclubSiteId:d,params:{page:e,receptionStatus:s}})),Promise.resolve()};return f?t.jsx(I,{isFullScreen:!0}):t.jsxs(z,{className:i.wrapper,children:[t.jsx(o,{mb:6,children:t.jsx(x,{variant:"h4",className:u(i.title,"custom-font"),children:k||"応募"})}),!!p.data?.total&&t.jsxs(o,{mb:10,children:[t.jsx(x,{variant:"h5",className:u(i.title2,"custom-font"),children:"受付中"}),t.jsx(o,{className:i.row1,mt:4,children:p.data.list.map(s=>t.jsx(o,{className:i.col1,children:t.jsx(V,{form:s})},s.applicationFormCode))}),p.data.total>R&&p.data.list.length<p.data.total&&t.jsx(o,{textAlign:"right",mt:2,children:t.jsx(b,{color:"primary",variant:"contained",className:i.moreButton,disabled:p.loading,onClick:()=>E(r.RECEIVING),children:"もっとみる"})})]}),t.jsxs(o,{mb:10,children:[t.jsx(x,{variant:"h5",className:u(i.title2,"custom-font"),marginBottom:16,children:"受付予定"}),l.data?.total?t.jsxs(t.Fragment,{children:[t.jsx(o,{className:i.row1,children:l.data.list.map(s=>t.jsx(o,{className:i.col1,children:t.jsx(W,{form:s})},s.applicationFormCode))}),l.data.total>R&&l.data.list.length<l.data.total&&t.jsx(o,{textAlign:"right",mt:2,children:t.jsx(b,{color:"primary",variant:"contained",disabled:l.loading,className:i.moreButton,onClick:()=>E(r.PREPARED),children:"もっとみる"})})]}):t.jsx(o,{px:6,children:t.jsx(x,{variant:"body1",color:"textSecondary",textAlign:"center",children:"現在、受付予定の応募はありません。"})})]}),!!c.data?.total&&t.jsxs(o,{children:[t.jsx(x,{variant:"h5",className:u(i.title2,"custom-font"),marginBottom:24,children:"受付終了"}),t.jsx(D,{className:i.row2,dataLength:c.data.list.length,hasMore:c.data.list.length<c.data.total,isError:p.hasError,handleReloadOnError:()=>{a(m({fanclubSiteId:d,params:{page:h,receptionStatus:r.RECEIVED}}))},isLoading:c.loading,fetchMoreData:()=>E(r.RECEIVED),children:c.data.list.map(s=>t.jsx(o,{className:i.col2,children:t.jsx(T,{form:s})},s.applicationFormCode))})]})]})};export{Z as default};

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.