PageSourceSearch

https://timeline-media.jp/_next/static/chunks/pages/your-account/messages-d50f3538845b6c26.js

js timeline-media.jp collected 2026-09-24 12:44:22 UTC 7,322 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{25257:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/your-account/messages",function(){return n(95748)}])},56641:function(e,s,n){"use strict";n.d(s,{Z:function(){return w}});var t=n(85893);n(67294);var a=n(42765),i=n.n(a),r=n(11752),o=n.n(r),l=n(11163),u=n(89050),c=n.n(u),d=n(47330),_=n(37141),v=n(52803),m=n(30654),g=n(61483),p=n(78423),h=n(12203),y=n(96017),x=n(81910);function f(e){let{accountCardProps:s,onClickItem:n}=e,a=(0,l.useRouter)(),{me:i}=(0,p.T)(),{hasPermission:r}=(0,h.Z)(),{isPc:u}=(0,y.Z)(),{publicRuntimeConfig:f}=o()(),{INVITATION_ENABLED:j}=f;if(!s)return null;let w=(e,s,i,r)=>(0,t.jsxs)("div",{className:c().content,onClick:()=>{n&&n(),a.push(s)},children:[(0,t.jsx)("div",{className:c().svgIcon,children:(0,t.jsx)(d.Z,{iconName:i,color:"gray"})}),(0,t.jsx)(_.Z,{size:"m",children:r})]},e),C=w("support_history","/your-account/support-histories","support_history","支援履歴"),N=w("browse_history","/your-account/browsing-histories","browse_history","閲覧履歴"),P=w("profile","/your-account/settings/profile","profile","プロフィール"),Z=w("favorite","/your-account/favorites","favorite","お気に入りのプロジェクト"),z=j?[w("invitation","/your-account/invitation","invitation","友達招待キャンペーン")]:[],R=w("address","/your-account/settings/recipients","address","お届け先一覧"),b=w("payment","/your-account/settings/credit-cards","payment","お支払い情報"),I=w("notice","/your-account/notifications","notification","お知らせ一覧"),k=w("mail","/your-account/settings/notification","mail","メール通知設定"),E=w("password","/your-account/settings/c
1hange-password","password","パスワード設定"),L=w("message","/your-account/messages","message","メッセージ"),S=(0,t.jsx)(v.Z,{...s,size:u?"s":"m"}),M=[(0,t.jsx)("div",{className:c().account,children:(0,t.jsx)("div",{className:c().avatar,children:u?(0,t.jsx)("div",{onClick:()=>{n&&n(),a.push("/your-account/support-histories")},children:S}):S})},"account")],{active:H,provisional:Y,provisionalSns:q,activeSns:F}=g.USER_LEVEL;return r(i,x.n1)?r(i,{permission:[Y]})?M.push(N,P,Z,...z,E):r(i,{permission:[q]})&&M.push(N,P,Z,...z):r(i,x.sC)&&(r(i,{permission:[H]})?M.push(C,N,P,Z,...z,R,b,I,k,E,L):r(i,{permission:[F]})&&M.push(C,N,P,Z,...z,R,b,I,k,L)),(0,t.jsx)("div",{className:c().MyPage,children:(0,t.jsx)(m.Z,{items:M})})}var j=n(38544);function w(e){let{pageHeaderProps:s,children:n,disableFooter:a}=e;return(0,t.jsx)(j.Z,{pageHeaderProps:s,disableFooter:a,children:(0,t.jsxs)("div",{className:i().myPageLayout,children:[(0,t.jsx)("div",{className:i().leftSide,children:(0,t.jsx)(f,{...null==s?void 0:s.myMenuProps})}),(0,t.jsx)("div",{className:i().rightSide,children:n})]})})}},95748:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return j}});var t=n(85893),a=n(27484),i=n.n(a),r=n(11163),o=n(2962);n(67294);var l=n(95644),u=n(82125),c=n.n(u),d=n(5894),_=n(37141),v=n(30654),m=n(87353),g=n(61483);function p(e){let{items:s}=e,n=(0,r.useRouter)(),a=e=>{switch(null==e?void 0:e.message_type){case g.C7.text.value:return e.message||"";case g.C7.image.value:if(e.sender_type===g._n.user.value)return"画像を送信しました";return"".concat(e.organizerName,"さんが画像を送信しました");default:return""}},i=(e,s)=>{var i,r,o,l;let u=[c().content];return(null==s?void 0:s.unread)&&u.push(c().unread),(0,t.jsxs)("div",{className:u.join(" "),onClick:()=>{n.push("/your-account/messages/".concat(null==s?void 0:s.organizerId))},children:[(0,t.jsx)("div",{className:c().avatar,children:(0,t.jsx)(d.Z,{src:null==s?void 0:null===(i=s.avatarProps)||void 0===i?void 0:i.src,alt:(null==s?void 0:null===(r=s.avatarProps)||void 0===r?void 0:r.alt)||"",width:null==s?void 0:null===(o=s.avatarProps)||void 0===o?void 0:o.width,height:null==s?void 0:null===(l=s.avatarProps)||void 0===l?void 0:l.height})}),(0,t.jsxs)("div",{className:c().body,children:[(0,t.jsxs)("div",{className:c().topRow,children:[(0,t.jsx)("div",{children:(0,t.jsx)(_.Z,{size:"m",bold:!0,children:(null==s?void 0:s.name)||""})}),(0,t.jsx)("div",{children:(0,t.jsx)(_.Z,{size:"s",color:"info",children:(null==s?void 0:s.date.format("YYYY/MM/DD HH:mm"))||""})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(_.Z,{size:"m",ellipsisRow:1,children:a(s)})})]})]},null==s?void 0:s.organizerId)};return(0,t.jsxs)("div",{className:c().messageList,children:[(0,t.jsx)("div",{children:(0,t.jsx)(_.Z,{size:"xl",bold:!0,children:"メッセージ"})}),s&&s.length>0?(0,t.jsx)(v.Z,{items:s.map((e,s)=>i(s,e))}):(0,t.jsx)(m.Z,{children:"まだメッセージはありません。プロジェクト実行者に質問がある場合は、プロジェクトページにある【メッセージで質問する】からメッセージをお送りください。"})]})}var h=n(56641);function y(e){let{pageHeaderProps:s,messageListProps:n,paginationProps:a}=e;return(0,t.jsxs)(h.Z,{pageHeaderProps:s,children:[(0,t.jsx)(p,{...n}),(0,t.jsx)("div",{children:(0,t.jsx)(l.Z,{...a})})]})}var x=n(77620),f=n(81910);function j(e){var s,n,a,l;let{headerProps:u}=e,c=(0,r.useRouter)(),{data:d,isLoading:_}=function(e){let{data:s,error:n,mutate:t}=(0,x.Z)("/messages/latest",e,{refreshInterval:0,revalidateOnFocus:!1});return{data:(null==s?void 0:s.data)||{},isLoading:!n&&!s,isError:n,mutate:t}}({page:parseInt(null==c?void 0:c.query.page)||1,per_page:5}),v=null===(s=d.latest_messages)||void 0===s?void 0:s.map(e=>{var s;return{organizerId:e.message.organizer.id,organizerName:e.message.organizer.name,unread:e.has_unread,avatarProps:{src:null===(s=e.message.organizer.logo_media_entry)||void 0===s?void 0:s.url,alt:e.message.organizer.name,width:48,height:48},name:e.message.organizer.name,sender_type:e.message.sender_type,message_type:e.message.message_type,message:e.message.body,image_url:e.message.image_url,date:i()(e.message.sent_at)}});return _?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.PB,{title:"最新のメッセージ一覧",noindex:!0}),(0,t.jsx)(y,{pageHeaderProps:u,paginationProps:{total:null==d?void 0:null===(n=d.pagination)||void 0===n?void 0:n.total_count,perPage:null==d?void 0:null===(a=d.pagination)||void 0===a?void 0:a.per_page,current:null==d?void 0:null===(l=d.pagination)||void 0===l?void 0:l.page,pathname:"/your-account/messages"},messageListProps:{items:v}})]})}j.getInitialProps=async e=>{let{}=e;return{...f.Iq}}},89050:function(e){e.exports={flexRowCenter:"styles_flexRowCenter__Ak9tA",MyPage:"styles_MyPage__kp_4h",content:"styles_content__o0f2w",svgIcon:"styles_svgIcon__qsCUu",flexColCenter:"styles_flexColCenter__2QQo2",account:"styles_account__NSDZW"}},82125:function(e){e.exports={flexRowCenter:"styles_flexRowCenter__kqJ8p",messageList:"styles_messageList__0KFVX",content:"styles_content__dk9Cp",body:"styles_body__PTaxG",topRow:"styles_topRow__8X4jP",flexColCenter:"styles_flexColCenter__cw6cs",noItems:"styles_noItems__WPxIM",avatar:"styles_avatar__zba7w",unread:"styles_unread__N6zNN"}},42765:function(e){e.exports={flexRowCenter:"styles_flexRowCenter__f7vnf",myPageLayout:"styles_myPageLayout__sSsp1",flexColCenter:"styles_flexColCenter__mZjaz",leftSide:"styles_leftSide__fV5JK",rightSide:"styles_rightSide__EYkAs"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=25257)}),_N_E=e.O()}]);

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.