PageSourceSearch

https://app.r50time.jp/_next/static/chunks/3683-f3f942345327783c.js

js r50time.jp collected 2026-10-01 13:15:53 UTC 8,969 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3683],{47221:function(e,n,t){t.d(n,{Ty:function(){return E},ij:function(){return p},jH:function(){return _},kc:function(){return M},oA:function(){return N}});var i=t(34727),r=t(14251),o=t(70655),a=t(53473),l=t(36492),s=t(48228),c=t(75472),u=t.n(c),d=t(9473),f=t(12669),h=t(24278),v=t(63165),m=t(37640),g=t(49193),x=function(){var e=(0,i.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,f.ZP.get(a.bl.HOME)];case 1:return[2,e.sent().data]}}))}));return function(){return e.apply(this,arguments)}}(),p=(function(){var e=(0,i.Z)((function(e){return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,e.prefetchQuery({queryKey:[v.V7],queryFn:x})];case 1:return n.sent(),[2]}}))}))}(),function(){var e,n=(0,h.v0)(),t=n.user,i=n.isLogged,o=n.trialModalShown;return e={enabled:!!i&&o&&t.completeOnboarding&&!!t.locationId,select:function(e){var n,t,i=u()(e.modals,"ordering");return null!==(t=null===i||void 0===i||null===(n=i.filter)||void 0===n?void 0:n.call(i,(function(e){return!e.viewed})))&&void 0!==t?t:[]}},(0,l.a)([v.V7],x,(0,r.Z)({staleTime:1/0},e))}),_=function(e){return(0,l.a)({queryKey:[v._i,e],queryFn:(0,i.Z)((function(){return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,f.ZP.get(a.bl.MODAL.DETAIL.replace(":id",e))];case 1:return[2,n.sent().data]}}))})),enabled:!!e})},N=function(){var e=(0,d.I0)(),n=(0,s.D)({mutationFn:(0,i.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,f.ZP.post(a.bl.AUTH.PREMIUM_MODAL)];case 1:return[2,e.sent().data]}}))})),onSuccess:function(n){n.success&&e((0,g.CE)())}}),t=n.mutate,r=n.isLoading;return{doViewModal:(0,m.y1)((function(e){r||t(e)})),isLoading:r}},E=function(e){return(0,l.a)([a.bl.AUTH.REACTION_COUNT],(0,i.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,f.ZP.get(a.bl.AUTH.REACTION_COUNT)];case 1:return[2,e.sent().data]}}))})),e)},M=function(){return(0,l.a)([a.bl.USER.PREMIUM_INTRODUCTION],(0,i.Z)((function(){var e;return(0,o.__generator)(this,(function(n){switch(n.label){case 0:return[4,f.ZP.get(a.bl.USER.PREMIUM_INTRODUCTION)];case 1:return[2,null===(e=n.sent().data)||void 0===e?void 0:e.results]}}))})),{retry:!1,keepPreviousData:!0})}},3683:function(e,n,t){t.d(n,{Z:function(){return K}});var i=t(80969),r=t(85893),o=t(62286),a=t.n(o),l=t(45697),s=t.n(l),c=t(9008),u=t.n(c),d=t(11163),f=t(67294),h=t(9473),v=t(14251),m=t(52875),g=t(85945),x=t(80931),p=t(27484),_=t.n(p),N=t(41609),E=t.n(N),M=t(24697),b=t(72439),I=t(79352),w=t(53473),O=t(24278),j=t(27564),Z=t(94449),R=t(83169),T=t(63165),y=t(11849),P=function(){var e=(0,h.v9)((function(e){return e.auth.user}))||{},n=(0,y.c)().doToggleMatchingModalB,t=(0,g.NL)(),o=(0,b.Z)(),a=(0,d.useRouter)(),l=function(){var e=(0,g.NL)(),n=(0,f.useState)(null),t=n[0],r=n[1],o=(0,O.Yp)().matched,a=(0,i.Z)((0,O.$T)({onSuccess:function(){r(null)}}),2),l=a[0],s=a[1];return(0,f.useEffect)((function(){!t&&o.length>0&&!s&&r(o[0])}),[t,o.length,s]),(0,f.useEffect)((function(){0===o.length&&r(null)}),[o.length]),{matched:t,setMatched:r,onClearMatched:function(){o.length>0&&(l({lastReadMatched:_()(null===t||void 0===t?void 0:t.created).utc().toDate()}),e.invalidateQueries([w.tR]))}}}(),s=l.matched,c=l.setMatched,u=l.onClearMatched,p=s||{},N=p.from,P=p.to,A=(null===N||void 0===N?void 0:N.id)===(null===e||void 0===e?void 0:e.id)?P:N,L=[T.Z5.PROFILE.MEMBER_STATUS,T.Z5.PREMIUM].includes(a.pathname),U=(null===e||void 0===e?void 0:e.gender)===j.y7.MALE,D=(0,i.Z)((0,O.Gi)(null===A||void 0===A?void 0:A.id,{onSuccess:function(e){var n;if((null===e||void 0===e?void 0:e.success)&&(null===e||void 0===e||null===(n=e.conversation)||void 0===n?void 0:n.id)){var i;t.invalidateQueries([w.tR]);var r="/conversation/".concat(null===e||void 0===e||null===(i=e.conversation)||void 0===i?void 0:i.id,"?viewFrom=").concat(T.xc.MATCHING_MODAL);a.asPath.includes(r)||a.push(r),E()(s)||c(null)}}}),2),S=D[0],k=D[1],C=(0,f.useCallback)((function(){var e={minHeight:640,maxHeight:768};if("undefined"===window)return e;var n=Math.min(window.innerWidth,440)*(2316/1242),t=0;if(window.innerHeight>640){var i=(window.innerHeight-n)/2;t=i>0?i:0}return(0,m.Z)((0,v.Z)({},e),{height:n,top:t})}),[]),H=(0,M.y1)((function(){S({userId:null===A||void 0===A?void 0:A.id}),u()}),250,{leading:!0,trailing:!1});return E()(s)||L?null:(0,r.jsx)(x.zd,{color:"black",className:"flex-center overflow-y-auto",children:(0,r.jsx)("div",{className:"relative flex w-full flex-col justify-between bg-cover bg-center bg-no-repeat px-4 py-6",style:(0,v.Z)({backgroundImage:"url(/images/matching.jpg)"},C()),children:(0,r.jsxs)("div",{className:"flex h-full flex-col items-center justify-between",children:[(0,r.jsxs)("div",{className:"text-center text-lg font-semibold",children:[(0,r.jsx)("p",{className:"mb-2.5 text-match",children:o("matching_liked_modal.title")}),(0,r.jsx)("p",{className:"whitespace-pre-wrap",children:o("matching_liked_modal.content")})]}),(0,r.jsxs)("div",{className:"flex-center",children:[(0,r.jsx)("div",{className:"rounded-full ring-2 ring-light-red",children:(0,r.jsx)(Z.Z,{src:null===N||void 0===N?void 0:N.avatar,size:124})}),(0,r.jsx)(x.Ee,{className:"relative z-10 -mx-3 shrink-0",src:"/images/double_heart.png",alt:"double_heart",height:44,width:44,lazy:!0}),(0,r.jsx)("div",{className:"rounded-full ring-2 ring-light-red",children:(0,r.jsx)(Z.Z,{src:null===P||void 0===P?void 0:P.avatar,size:124})})]}),(0,r.jsxs)("div",{className:"mt-32 space-y-4 px-6",children:[(0,r.jsxs)(R.Z,{className:"bg-match",onPress:H,loading:k,children:[(0,r.jsx)(I.WhK,{size:24,className:"mr-2.5"}),o("matching_liked_modal.ok")]}),(0,r.jsx)(R.Z,{className:"border-match text-match",variant:"secondary",onPress:function(){u(),U&&n(!0)},children:o("matching_liked_modal.cancel")})]})]})})})},A=t(60155),L=t(51278),U=t(83541),D=t(47221),S=t(49193),k=T.Z5.PREMIUM,C=T.Z5.AUTH,H=T.Z5.ONBOARDING,z=T.Z5.PROFILE,B=[k,C.VERIFY_LOGIN_SESSION,C.MOBILE_LOGIN_SECTION,H,z.MEMBER_STATUS],F=function(){var e=(0,h.v9)((function(e){return e.auth}))||{},n=e.user,t=e.isLogged,i=n||{},o=i.gender,a=i.isPremium,l=i.displayPremiumPromotion,s=void 0!==l&&l,c=(0,D.oA)().doViewModal,u=Boolean(sessionStorage.getItem(T.o0.PREMIUM_MODAL_SHOWED)),v=(0,h.v9)((function(e){return e.home.showingPremiumMod
1al})),m=(0,h.I0)(),g=(0,U.a9)().doPostPremiumRoute,p=(0,b.Z)(),_=(0,d.useRouter)(),N=(0,f.useMemo)((function(){return!u&&s&&!a&&o===j.y7.MALE&&t&&!B.some((function(e){return _.asPath.includes(e)}))}),[u,s,o,a,t,_.asPath]),E=function(){sessionStorage.setItem(T.o0.PREMIUM_MODAL_SHOWED,!0)},M=function(e){null===e||void 0===e||e.stopPropagation(),E(),c(),m((0,S.TN)(!1))};return(0,f.useEffect)((function(){"boolean"!==typeof s||s||E()}),[s]),(0,f.useEffect)((function(){N&&!v&&m((0,S.TN)(!0))}),[N,v]),N?(0,r.jsx)(x.zd,{color:"black",visible:N,className:"overflow-y-auto",children:(0,r.jsxs)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 xs:top-[44%]",children:[(0,r.jsxs)("div",{className:"relative w-[325px] overflow-hidden rounded-[28px] bg-white",children:[(0,r.jsx)("div",{className:"flex-center h-[60px] bg-orange text-xl font-bold text-white",children:p("premium.modal_title")}),(0,r.jsx)(x.Ee,{src:"/images/premium-modal.png",lazy:!0,className:"py-4"}),(0,r.jsx)("div",{className:"px-5 pb-7",children:(0,r.jsx)(L.zx,{variant:"primary",onPress:function(){var e=1===s?T.IC.MODAL_1_DAY:T.IC.MODAL_1_WEEK;g(e),M(),_.push(T.Z5.PROFILE.MEMBER_STATUS)},children:p("common.view_detail")})})]}),(0,r.jsx)("div",{className:"absolute -bottom-16 left-1/2 w-max shrink-0 -translate-x-1/2 text-white",onClick:M,role:"presentation",children:(0,r.jsx)(A.Jvf,{size:40})})]})}):null},G=t(37640),V=t(48163);function W(e){var n,t=e.children,o=(0,d.useRouter)(),l=null===(n=a().get())||void 0===n?void 0:n.token,s=(0,i.Z)((0,G.aU)(),1)[0],c=(0,h.v9)((function(e){return e.auth}))||{},v=c.isLogged,m=c.token,g=c.user,x=c.showInputIntroduction,p=c.showInputOneWord;(0,G.u_)();var _=(0,V.ax)(g,o.pathname),N=_.needsOnboarding,E=_.onboardingUrl;return(0,f.useEffect)((function(){l||null===s||void 0===s||s()}),[l]),(0,f.useEffect)((function(){N&&v&&o.replace(E)}),[N,v]),(0,f.useEffect)((function(){x&&!N&&!(null===g||void 0===g?void 0:g.introduction)&&v&&o.replace((0,V.KV)(T.Z5.ONBOARDING,{step:T._x.INTRODUCTION}))}),[null===g||void 0===g?void 0:g.introduction,v,m]),(0,f.useEffect)((function(){p&&!N&&!(null===g||void 0===g?void 0:g.oneword)&&v&&o.replace((0,V.KV)(T.Z5.ONBOARDING,{step:T._x.ONE_WORD}))}),[null===g||void 0===g?void 0:g.introduction,v,m]),v&&m&&!(N&&x&&p)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u(),{children:(0,r.jsx)("title",{children:"R50 Time"})}),(0,r.jsx)("div",{className:"app-root",children:(0,r.jsxs)("div",{className:"flex h-full flex-col",children:[(0,r.jsx)(F,{}),(0,r.jsx)(P,{}),t]})})]}):null}W.propTypes={children:s().element};var K=W}}]);

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.