PageSourceSearch

https://cpa-workstyle.com/_next/static/chunks/pages/mypage/system-f01ef44aaca478cf.js

js cpa-workstyle.com collected 2026-10-07 05:54:15 UTC 37,843 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[873],{612:e=>{e.exports={wrapper:"cardWrapper_wrapper__ISlkz",wrapper_hideHeader:"cardWrapper_wrapper_hideHeader__DKy2a"}},4191:(e,s,i)=>{"use strict";i.d(s,{A:()=>r});var a,n,t=i(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var i=arguments[s];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(null,arguments)}let r=function(e){return t.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),a||(a=t.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.161 22h9.678c.527 0 .982 0 1.356-.03.395-.033.789-.104 1.167-.297a3 3 0 0 0 1.311-1.311c.193-.378.264-.772.296-1.167.031-.375.031-.83.031-1.356V15a1 1 0 1 0-2 0v2.8c0 .577 0 .949-.024 1.232-.022.272-.06.372-.085.422a1 1 0 0 1-.437.437c-.05.025-.15.063-.422.085C17.75 20 17.377 20 16.8 20H7.2c-.577 0-.949 0-1.232-.024-.272-.022-.373-.06-.422-.085a1 1 0 0 1-.437-.437c-.025-.05-.063-.15-.085-.422C5 18.75 5 18.377 5 17.8V6.2c0-.577 0-.949.024-1.232.022-.272.06-.373.085-.422a1 1 0 0 1 .437-.437c.05-.025.15-.063.422-.085C6.25 4 6.623 4 7.2 4H11a1 1 0 1 0 0-2H7.161c-.527 0-.981 0-1.356.03-.395.033-.789.104-1.167.297a3 3 0 0 0-1.311 1.311c-.193.378-.264.772-.296 1.167C3 5.18 3 5.635 3 6.161V17.84c0 .527 0 .982.03 1.356.033.395.104.789.297 1.167a3 3 0 0 0 1.311 1.311c.378.193.772.264 1.167.296.375.031.83.031 1.356.031",clipRule:"evenodd"})),n||(n=t.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M17.748 2.808a2.76 2.76 0 0 1 3.903 3.903l-5.149 5.149-.059.059c-.455.455-.77.77-1.135 1.024a5 5 0 0 1-1.04.555c-.414.162-.851.248-1.482.373l-.082.016-1.315.26a1 1 0 0 1-1.167-1.21l.318-1.353.018-.076c.138-.587.233-.994.395-1.38.143-.34.324-.665.539-.966.242-.34.537-.636.964-1.062l.055-.055zm2.488 1.415a.76.76 0 0 0-1.074 0l-5.237 5.236c-.502.502-.67.675-.805.864q-.193.271-.323.58c-.082.195-.138.41-.273.98.586-.116.811-.168 1.018-.248q.331-.13.623-.333c.202-.14.387-.32.923-.857l5.148-5.148a.76.76 0 0 0 0-1.074",clipRule:"evenodd"})))}},8512:e=>{e.exports={container:"sns_container__fO2Ah",container__inner:"sns_container__inner__axB3u",edit:"sns_edit__C1H5h",mypage__title:"sns_mypage__title__P0H53",mypage__contents:"sns_mypage__contents__mrjnm",detail:"sns_detail__HtIop",detail__content:"sns_detail__content__RJp_o",sns__content:"sns_sns__content__aKLqU","sns__content--google":"sns_sns__content--google__JTBot","sns__content--facebook":"sns_sns__content--facebook__DzCvP",sns__icon:"sns_sns__icon__skiIz",sns__linear:"sns_sns__linear__fURSV","sns__connected-label":"sns_sns__connected-label__yiSV6",disabled:"sns_disabled__bPRIR",loadingOverlay:"sns_loadingOverlay__jMHY_",spinner:"sns_spinner__SRpT_",spin:"sns_spin__BxNNi",shimmering:"sns_shimmering__n4eFq"}},9188:e=>{e.exports={container:"sidenav_container__Z6mLt",container__inner:"sidenav_container__inner__E_a1_",title:"sidenav_title__AvrM9",assets:"sidenav_assets__HX40_",assets__sub:"sidenav_assets__sub__M0kXl",shimmering:"sidenav_shimmering__OZ2Uc"}},12542:e=>{e.exports={container:"subscriptionCard_container__Semte",container__inner:"subscriptionCard_container__inner__XRS5j",subscription:"subscriptionCard_subscription__d_8ca",researchTitle:"subscriptionCard_researchTitle__ABR7p",statusMain:"subscriptionCard_statusMain__aVLRH",priceNoteSmall:"subscriptionCard_priceNoteSmall__YNUyU",sectionLabel:"subscriptionCard_sectionLabel__1bfPL",trialNotice:"subscriptionCard_trialNotice__PVnJy",priceNote:"subscriptionCard_priceNote__EZBEf",nextPayment:"subscriptionCard_nextPayment__uWUXx",divider:"subscriptionCard_divider__j6DdO",actionButtons:"subscriptionCard_actionButtons__SWj84",statusUnsubscribed:"subscriptionCard_statusUnsubscribed___iqD9",stripeError:"subscriptionCard_stripeError__y20By",stripeError__icon:"subscriptionCard_stripeError__icon__BeA_o",stripeError__mb:"subscriptionCard_stripeError__mb__iC0sP",cautionArea:"subscriptionCard_cautionArea__4xYSh",cpaNumber__stripeWarning:"subscriptionCard_cpaNumber__stripeWarning__f2pLF",cpaNumber__stripeWarning__icon:"subscriptionCard_cpaNumber__stripeWarning__icon__8jK5w",shimmering:"subscriptionCard_shimmering__fNQFj"}},12600:(e,s,i)=>{"use strict";i.d(s,{A:()=>d});var a=i(37876),n=i(22714),t=i.n(n);function l(e){let s=!!e.title||!!e.helper,i=t().card,n=[t().card__title,!e.title&&t().card__title_noTitle].filter(
1Boolean).join(" ");return(0,a.jsxs)("div",{className:i,id:e.id,children:[s&&(0,a.jsxs)("div",{className:n,children:[(0,a.jsx)("div",{className:t().title,children:e.title??""}),e.helper?(0,a.jsx)("div",{className:t().helper,children:e.helper}):null]}),e.children]})}var r=i(612),c=i.n(r);function d(e){let s=e.hideHeader?c().wrapper_hideHeader:"";return(0,a.jsx)("div",{className:`${c().wrapper} ${s}`,children:(0,a.jsx)(l,{id:e.id,title:e.title,helper:e.helper,children:e.children})})}},22714:e=>{e.exports={card:"card_card__a0i_E",card__title:"card_card__title__doFmH",title:"card_title__0y9RX",helper:"card_helper__NPOkw",visible:"card_visible__hbNJi",hidden:"card_hidden__J0IbO",shimmering:"card_shimmering__gWUO1"}},24696:e=>{e.exports={container:"emailEdit_container___gMhe",container__inner:"emailEdit_container__inner__7QzeE",edit:"emailEdit_edit__wHwtN",mypage__title:"emailEdit_mypage__title__cbOPj",mypage__contents:"emailEdit_mypage__contents__HOVk_",detail:"emailEdit_detail___0gug",detail__content:"emailEdit_detail__content__ZD_oN",shimmering:"emailEdit_shimmering___WxZ7"}},31952:e=>{e.exports={asset:"assets_asset__TKkl0",active:"assets_active__AiXbX",shimmering:"assets_shimmering__Isate"}},36650:e=>{e.exports={container__inner:"system_container__inner___ar5v",cards:"system_cards__WRgyI",cards__inner:"system_cards__inner__iFvDJ",cards__groupNoTitle:"system_cards__groupNoTitle__yfqV2",button:"system_button__PjXyr",shimmering:"system_shimmering__ZIvDL"}},37160:e=>{e.exports={container:"passwordEdit_container__bcbKw",container__inner:"passwordEdit_container__inner__OUgoL",edit:"passwordEdit_edit__28vUK",mypage__title:"passwordEdit_mypage__title__D8p8o",mypage__contents:"passwordEdit_mypage__contents__wWPCf",detail:"passwordEdit_detail__2P8D9",detail__content:"passwordEdit_detail__content__zvNap",disabled:"passwordEdit_disabled__79J9V",shimmering:"passwordEdit_shimmering__xVnTn"}},39196:e=>{e.exports={container:"itemDetail_container__bofcN",container__inner:"itemDetail_container__inner__m6alg",mypage__contents:"itemDetail_mypage__contents__GMOcG",detail:"itemDetail_detail__juBwD",detail__content:"itemDetail_detail__content__r87GV",detail__text:"itemDetail_detail__text__Gw4Jx",detail__mycode:"itemDetail_detail__mycode__myvAw","detail__mycode-issued":"itemDetail_detail__mycode-issued__Cj7yx",detail__row:"itemDetail_detail__row__17kyA",detail__link:"itemDetail_detail__link__eC6is",shimmering:"itemDetail_shimmering__OZXGS"}},41962:(e,s,i)=>{"use strict";i.d(s,{D:()=>r,w:()=>l});var a=i(43437),n=i(88519),t=i(65860);let l="PASSWORD_RESET_TOKEN_EXPIRED",r=({message:e,error:s,router:i,showToast:r,hasShownErrorRef:c})=>{let d=Array.isArray(e)?e[0]:e;if(s&&!c.current){r(!0,s,"error",4e3,n.A),c.current=!0;return}if(!d||c.current)return;let{message:_,...o}=i.query;switch(d){case l:r(!0,"有効期限が切れました。もう一度お手続きをお願いします。","error",4e3,n.A);break;case"EMAIL_ALREADY_REGISTERED":r(!0,"既に登録しているメールアドレスです。","error",4e3,a.A);break;case"GOOGLE_SIGNUP_SUCCESS":r(!0,"Googleアカウントでのユーザー登録が完了しました。","success",4e3,n.A);break;case"EMAIL_MISMATCH":r(!0,"メールアドレスが異なるため連携できません。","error",4e3,a.A);break;case"SNS_AUTH_SUCCESS":r(!0,"SNS連携しました。","success",2750,t.A);break;case"IS_LOGIN":r(!0,"ログインしました。","success",2750,t.A);break;case"ACCESS_DENIED":break;case"NO_LINKED_ACCOUNT":r(!0,"連携済みのアカウントがありません。ログイン情報の確認または新規会員登録をしてください。","error",4e3,a.A);break;case"BRIDGE_DOMAIN_NG":r(!0,"@bridge-group.co.jpでは登録できません。\n個人アドレス(gmail等)を利用してください。","error",4e3,a.A);break;default:return}c.current=!0,"message"in i.query&&i.replace({pathname:i.pathname,query:o},void 0,{shallow:!0})}},55544:e=>{e.exports={container:"styles_container__9S_mG",container__inner:"styles_container__inner__Rnhel",container__title:"styles_container__title__48Xi6",container__content:"styles_container__content__RyYTn",highlight:"styles_highlight__FsTux",highlightBold:"styles_highlightBold__3CMez",container__content__points:"styles_container__content__points__hNtcS",container__content__note:"styles_container__content__note__lkyVz",container__note:"styles_container__note__qeb_Z",button:"styles_button__0Rqib",shimmering:"styles_shimmering__A6_7W"}},59609:(e,s,i)=>{"use strict";i.d(s,{A:()=>j});var a=i(37876),n=i(9188),t=i.n(n),l=i(6112),r=i(10028),c=i(14232),d=i(31952),_=i.n(d),o=i(92456),m=i(89099),h=i(94085);function u({value:e,label:s,href:i}){let n=(0,o.w)(e=>e.activeAsset),t=(0,o.w)(e=>e.setEditMode),l=(0,o.w)(e=>e.setActiveAsset),r=(0,o.w)(e=>e.editMode),d=(0,m.useRouter)(),p="/mypage"===d.pathname||"/mypage/system"===d.pathname;return(0,c.useEffect)(()=>{p&&t(!1)},[d.pathname,t,p]),(0,c.useEffect)(()=>
1{if(!r){if(!d.pathname.startsWith("/mypage"))return void window.scrollTo({top:0,behavior:"smooth"});if(n){let e=document.getElementById(n);if(e){let s=e.getBoundingClientRect(),i=h.Fr||h.v1?100:60;window.scrollTo({top:window.pageYOffset+s.top-i,behavior:"smooth"})}}}},[d.pathname,n,r]),(0,a.jsx)("div",{className:_().asset,onClick:()=>{n===e?(l(null),setTimeout(()=>{l(e)},0)):l(e),r&&!p?d.push(i):d.push(i,void 0,{shallow:!0})},children:s})}var p=i(4372),x=i(44492);function j(){let e=(0,m.useRouter)(),s="/mypage/system"===e.pathname||e.pathname.startsWith("/mypage/system/")||"/mypage/delete"===e.pathname||e.pathname.startsWith("/mypage/delete/"),{data:i}=(0,p.Py)(),{data:n}=(0,x.IY)(),c=i?.has_active_program!==!1,d=Array.isArray(n)&&n.some(e=>e.is_active);return(0,a.jsxs)(a.Fragment,{children:[!s&&(0,a.jsx)("div",{className:t().container,children:(0,a.jsxs)("div",{className:t().container__inner,children:[(0,a.jsxs)("div",{className:t().title,children:[(0,a.jsx)(l.A,{}),"プロフィール"]}),(0,a.jsxs)("div",{className:t().assets,children:[(0,a.jsx)(u,{value:"profile",label:"基本情報",href:"/mypage/"}),(0,a.jsx)(u,{value:"career",label:"職務経歴・学歴等",href:"/mypage/"}),(0,a.jsx)(u,{value:"license",label:"資格",href:"/mypage/"}),(0,a.jsx)(u,{value:"skill",label:"業務スキル",href:"/mypage/"}),(0,a.jsx)(u,{value:"workStyle",label:"働き方",href:"/mypage/"}),(0,a.jsx)(u,{value:"request",label:"現在の状況・希望条件",href:"/mypage/"})]})]})}),s&&(0,a.jsx)("div",{className:t().container,children:(0,a.jsxs)("div",{className:t().container__inner,children:[(0,a.jsxs)("div",{className:t().title,children:[(0,a.jsx)(r.A,{}),"各種設定"]}),(0,a.jsx)("div",{className:t().assets,children:(0,a.jsx)(u,{value:"email-notifications-edit",label:"アカウント",href:"/mypage/system/"})}),(0,a.jsxs)("div",{className:`${t().assets} ${t().assets__sub}`,children:[(0,a.jsx)(u,{value:"email-notifications-edit",label:"メール受信設定",href:"/mypage/system/"}),(0,a.jsx)(u,{value:"email-edit",label:"メールアドレス設定",href:"/mypage/system/"}),(0,a.jsx)(u,{value:"password-edit",label:"パスワード設定",href:"/mypage/system/"}),(0,a.jsx)(u,{value:"sns-edit",label:"SNS連携",href:"/mypage/system/"})]}),(c||d)&&(0,a.jsxs)("div",{className:t().assets,children:[c&&(0,a.jsx)(u,{value:"friend-introduction",label:"お友達紹介プログラム",href:"/mypage/system/"}),d&&(0,a.jsx)(u,{value:"subscription",label:"提携サービス",href:"/mypage/system/"})]})]})})]})}},62789:(e,s,i)=>{"use strict";i.r(s),i.d(s,{__N_SSP:()=>ei,default:()=>ea});var a,n,t,l,r=i(37876),c=i(36650),d=i.n(c),_=i(12600),o=i(78424),m=i.n(o),h=i(92456),u=i(89099),p=i(4191),x=i(33753);function j({}){let{me:e}=(0,x.A)(),s=e?.member?.receive,i=(0,h.w)(e=>e.setEditMode),a=(0,h.w)(e=>e.setActiveAsset),n=(0,u.useRouter)();return(0,r.jsx)("div",{className:m().container,children:(0,r.jsxs)("div",{className:m().container__inner,children:[(0,r.jsx)("button",{className:m().edit,onClick:()=>void(a("email-notifications-edit"),i(!0),n.push("/mypage/system/email-notification-edit")),children:(0,r.jsxs)("div",{children:[(0,r.jsx)(p.A,{}),"編集"]})}),(0,r.jsxs)("div",{className:m().notification,children:[(0,r.jsx)("div",{className:m().mypage__title,children:"メール受信設定"}),(0,r.jsx)("div",{className:m().mypage__contents,children:(0,r.jsxs)("dl",{className:m().detail,children:[(0,r.jsxs)("div",{className:m().detail__content,children:[(0,r.jsx)("dt",{children:"案件情報"}),s?.allow_vacancy?(0,r.jsx)("dd",{children:"受け取る"}):(0,r.jsx)("dd",{children:"受け取らない"})]}),(0,r.jsxs)("div",{className:m().detail__content,children:[(0,r.jsx)("dt",{children:"セミナー情報"}),s?.allow_seminar?(0,r.jsx)("dd",{children:"受け取る"}):(0,r.jsx)("dd",{children:"受け取らない"})]}),(0,r.jsxs)("div",{className:m().detail__content,children:[(0,r.jsx)("dt",{children:"ニュース"}),s?.allow_news?(0,r.jsx)("dd",{children:"受け取る"}):(0,r.jsx)("dd",{children:"受け取らない"})]})]})})]})]})})}var v=i(59609),N=i(24696),b=i.n(N);function g({}){let{me:e}=(0,x.A)(),s=e?.django_user?.username,i=(0,h.w)(e=>e.setEditMode),a=(0,h.w)(e=>e.setActiveAsset),n=(0,u.useRouter)();return(0,r.jsx)("div",{className:b().container,children:(0,r.jsxs)("div",{className:b().container__inner,children:[(0,r.jsx)("button",{className:b().edit,onClick:()=>void(a("email-edit"),i(!0),n.push("/mypage/system/email-edit")),children:(0,r.jsxs)("div",{children:[(0,r.jsx)(p.A,{}),"編集"]})}),(0,r.jsx)("div",{className:b().emailEdit,children:(0,r.jsxs)("dl",{className:b().detail,children:[(0,r.jsx)("div",{className:b().mypage__title,children:"メールアドレス設定"}
1),(0,r.jsxs)("div",{className:b().detail__content,children:[(0,r.jsx)("dt",{children:"メールアドレス"}),(0,r.jsx)("dd",{children:s})]})]})})]})})}var f=i(8512),y=i.n(f),A=i(14232);function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var i=arguments[s];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(null,arguments)}let E=function(e){return A.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),a||(a=A.createElement("path",{fill:"#4285F4",fillRule:"evenodd",d:"M21.6 12.227c0-.71-.064-1.39-.182-2.046H12v3.869h5.382a4.6 4.6 0 0 1-1.996 3.018v2.509h3.232c1.891-1.74 2.982-4.305 2.982-7.35",clipRule:"evenodd"})),n||(n=A.createElement("path",{fill:"#34A853",fillRule:"evenodd",d:"M12 22c2.7 0 4.964-.896 6.618-2.423l-3.232-2.51c-.895.6-2.04.955-3.386.955-2.605 0-4.81-1.759-5.595-4.122H3.064v2.59A10 10 0 0 0 12 22",clipRule:"evenodd"})),t||(t=A.createElement("path",{fill:"#FBBC05",fillRule:"evenodd",d:"M6.405 13.9c-.2-.6-.314-1.241-.314-1.9 0-.66.114-1.3.314-1.9V7.509H3.064A10 10 0 0 0 2 11.999c0 1.614.386 3.142 1.064 4.492z",clipRule:"evenodd"})),l||(l=A.createElement("path",{fill:"#EA4335",fillRule:"evenodd",d:"M12 5.977c1.468 0 2.786.505 3.823 1.496l2.868-2.868C16.959 2.99 14.696 2 12 2 8.09 2 4.71 4.24 3.064 7.51l3.34 2.59C7.192 7.736 9.396 5.977 12 5.977",clipRule:"evenodd"})))};var C=i(66537),S=i(88519),k=i(65860),R=i(48797),L=i(4372),D=i(86145),I=i(41962),M=i(21159),P=i(82199);function O({}){let{me:e}=(0,x.A)(),[s,i]=(0,A.useState)(!0),a=e?.member?.google_login?.account_id,n=!!a&&!/#\d+$/.test(a),t=e?.django_user?.is_password,l=e?.django_user?.username,c=(0,C.W)(e=>e.setShowToast),d=(0,L.Ng)(),[_,o]=(0,A.useState)(!1),m=(0,u.useRouter)(),{message:h}=m.query,p=(0,C.d)(),{mutateAsync:j}=(0,D.mg)({onEmailMismatch:()=>{o(!0)}}),[v,N]=(0,A.useState)(!1),b=(0,A.useRef)(!1);(0,A.useEffect)(()=>{(0,I.D)({message:h,router:m,showToast:p,hasShownErrorRef:b})},[h,m,p]),(0,A.useEffect)(()=>{t&&i(n)},[n,t]),(0,A.useEffect)(()=>{_&&(i(!1),o(!1))},[_]);let g=async()=>{if(!t){i(!0),c(!0,"SNS連携を解除するにはパスワードを設定してください。","warning",2750,S.A);return}if(s)await d.mutateAsync(),i(!1);else if("credentials"in navigator&&"IdentityCredential"in window){N(!0);try{let e=await navigator.credentials.get({identity:{providers:[{configURL:"https://accounts.google.com/gsi/fedcm.json",clientId:"131470438991-8f06imjg8l5aig5ufdi44rc81dgq9uli.apps.googleusercontent.com",nonce:crypto.randomUUID(),context:"signin"}]}}).catch(e=>{console.error(e),f()});if(N(!1),e){let s={token:e.token,shouldRedirect:!1,email:l,isSNSIntegration:!0},a=await j(s);if((0,M.Bo)(a.code)){i(!1),c(!0,a.message,"error",2750,k.A);return}i(!0),"SNS_AUTH_SUCCESS"===a.code&&c(!0,"SNS連携しました。","success",2750,k.A)}}catch(e){console.error("FedCM sign-in failed:",e),f()}}else f(),i(!0),N(!1)};function f(){let e=window.origin,s=window.location.pathname,i=encodeURIComponent(`${e}/api/v3/public/auth/google/callback/`),a=encodeURIComponent("openid email profile"),n=encodeURIComponent(JSON.stringify({is_login:"true",pathname:s,email:l,is_SNS_Integration:!0})),t=`https://accounts.google.com/o/oauth2/auth?client_id=131470438991-8f06imjg8l5aig5ufdi44rc81dgq9uli.apps.googleusercontent.com&redirect_uri=${i}&response_type=code&scope=${a}&prompt=select_account&state=${n}`;window.location.href=t}return(0,r.jsx)("div",{className:y().container,children:(0,r.jsx)("div",{className:y().container__inner,children:(0,r.jsxs)("div",{className:y().sns,children:[(0,r.jsx)("div",{className:y().mypage__title,children:"SNS連携"}),(0,r.jsxs)("div",{className:`${y().sns__content} ${y()["sns__content--google"]}`,children:[(0,r.jsxs)("div",{className:y().sns__icon,children:[(0,r.jsx)(E,{}),"Google",s&&(0,r.jsx)("span",{className:y()["sns__connected-label"],children:"連携中"})]}),(0,r.jsx)("div",{children:s?(0,r.jsx)(R.A,{onClick:g,color:"default",size:"small",label:"連携を解除する",disabled:P.K}):(0,r.jsx)(R.A,{onClick:g,color:"primary",size:"small",label:"連携する",loading:v,disabled:P.K})})]})]})})})}var T=i(37160),z=i.n(T);function U({}){let e=(0,h.w)(e=>e.setEditMode),s=(0,h.w)(e=>e.setActiveAsset),i=(0,u.useRouter)(),{me:a}=(0,x.A)(),n=a?.django_user?.is_password;return(0,r.jsx)("div",{className:z().container,children:(0,r.jsxs)("div",{className:z().container__inner,children:[(0,r.jsx)("button",{className:z().edit,onClick:()=>void(s("password-edit"),e(!0),i.push("/mypage/system/password-edit/")),children:(0,r.jsxs)("div",{children:[(0,r.jsx)(p.A,{}),"編集"]})}),(0,r.jsx)("div",{className:z().password,children:(0,r.jsxs)("dl",{className:z().detail,children:[(0,r.jsx)("div",{className:z().mypage__title,children:"パスワード設定"}
1),(0,r.jsxs)("div",{className:z().detail__content,children:[(0,r.jsx)("dt",{children:"現在のパスワード"}),(0,r.jsx)("dd",{className:n?"":z().disabled,children:n?"*********************":"未設定"})]})]})})]})})}var H=i(43437),B=i(12542),W=i.n(B),$=i(37464),q=i(93579),G=i(8595),V=i(66520);let F=({statusText:e,displayStatus:s,formattedCancelAt:i,formattedEndedAt:a,formattedNextPayment:n,isApplyDisabled:t,trialDays:l,unitAmount:c,unitAmountWithTax:d,cpaNumber:_})=>{let o=(0,u.useRouter)(),m=(0,G.Kr)(e=>e.openModal),h=0===_||null==_,p="未契約"===s&&h,x=e=>{e.preventDefault(),(0,q.f)()},j=()=>{o.push("/mypage/system/subscription-detail")},v=()=>{m((0,r.jsx)(V.A,{}))},N=()=>{window.open("https://tax.maruzen-research.jp/login","_blank")},b=()=>(0,r.jsxs)("div",{className:W().cpaNumber__stripeWarning,children:[(0,r.jsx)(S.A,{className:W().cpaNumber__stripeWarning__icon}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{children:"本サービスは、「協会登録番号」をご登録いただいた方を対象として提供しています。"}),(0,r.jsx)("p",{children:"協会登録番号は「プロフィール > 資格」よりご入力ください。"})]})]});switch(s){case"無料トライアル中":return(0,r.jsx)("div",{className:W().container,children:(0,r.jsxs)("div",{className:`${W().subscription} ${W().container__inner}`,children:[(0,r.jsx)("div",{className:W().researchTitle,children:"丸善リサーチ"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"現在の契約状態"}),(0,r.jsx)("div",{className:W().statusMain,children:s}),(0,r.jsxs)("div",{className:W().trialNotice,children:["無料トライアルの申し込みは完了しました。",(0,r.jsx)("br",{}),"現在、アカウント発行手続きを進めています。",(0,r.jsx)("br",{}),"通常2営業日以内に丸善リサーチ運営よりご案内メールが届きます。",(0,r.jsx)("br",{}),"メールが確認できない方は「会計士.job事務局([email protected])」へご連絡ください。"]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"利用料金"}),(0,r.jsxs)("div",{className:W().statusMain,children:["月額",c?.toLocaleString(),"円",(0,r.jsx)("span",{className:W().priceNoteSmall,children:"(税抜)"})]}),(0,r.jsxs)("div",{className:W().priceNote,children:["(税込価格 ",d?.toLocaleString(),"円)"]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"次回請求日"}),(0,r.jsx)("div",{className:W().nextPayment,children:n})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"サブスクリプション設定 (Stripe)"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"決済情報を確認する",onClick:x})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"丸善リサーチ"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"サービスログインはこちら",onClick:N,Icon:$.A})]}),(0,r.jsx)("div",{className:W().divider}),(0,r.jsxs)("div",{className:W().actionButtons,children:[(0,r.jsx)(R.A,{color:"default",size:"small",label:"サービス詳細はこちら",onClick:j}),(0,r.jsx)(R.A,{color:"basic",size:"small",label:"解約する",onClick:v})]})]})});case"利用中(サブスクリプション)":return(0,r.jsx)("div",{className:W().container,children:(0,r.jsxs)("div",{className:`${W().subscription} ${W().container__inner}`,children:[(0,r.jsx)("div",{className:W().researchTitle,children:"丸善リサーチ"}),"past_due"===e||"unpaid"===e?(0,r.jsxs)("div",{className:W().stripeError,children:[(0,r.jsx)(H.A,{className:W().stripeError__icon}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:W().stripeError__mb,children:"お支払いに失敗しました。カード情報をご確認ください。"}),(0,r.jsx)("p",{children:"なお、繰り返し決済が失敗した場合、サブスクリプションは自動的に解約されます。"})]})]}):null,(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"現在の契約状態"}),(0,r.jsx)("div",{className:W().statusMain,children:s})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"利用料金"}),(0,r.jsxs)("div",{className:W().statusMain,children:["月額",c?.toLocaleStr
1ing(),"円",(0,r.jsx)("span",{className:W().priceNoteSmall,children:"(税抜)"})]}),(0,r.jsxs)("div",{className:W().priceNote,children:["(税込価格 ",d?.toLocaleString(),"円)"]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"次回請求日"}),(0,r.jsx)("div",{className:W().nextPayment,children:n})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"サブスクリプション設定 (Stripe)"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"決済情報を確認する",onClick:x})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"丸善リサーチ"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"サービスログインはこちら",onClick:N,Icon:$.A})]}),(0,r.jsx)("div",{className:W().divider}),(0,r.jsxs)("div",{className:W().actionButtons,children:[(0,r.jsx)(R.A,{color:"default",size:"small",label:"サービス詳細はこちら",onClick:j}),(0,r.jsx)(R.A,{color:"basic",size:"small",label:"解約する",onClick:v})]})]})});case"解約受付済み":return(0,r.jsx)("div",{className:W().container,children:(0,r.jsxs)("div",{className:`${W().subscription} ${W().container__inner}`,children:[(0,r.jsx)("div",{className:W().researchTitle,children:"丸善リサーチ"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"現在の契約状態"}),(0,r.jsx)("div",{className:W().statusMain,children:s})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"サブスクリプション有効期限"}),(0,r.jsx)("div",{className:W().nextPayment,children:i})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"サブスクリプション設定 (Stripe)"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"決済情報を確認する",onClick:x})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"丸善リサーチ"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"サービスログインはこちら",onClick:N,Icon:$.A})]}),(0,r.jsx)("div",{className:W().divider}),(0,r.jsxs)("div",{children:[(0,r.jsx)(R.A,{color:"default",size:"small",label:"お申し込み・詳細はこちら",onClick:j,disabled:t}),(0,r.jsx)("div",{className:W().cautionArea,children:"※ 解約後、一定期間内の再申し込みはできません。"})]})]})});case"解約完了":return(0,r.jsx)("div",{className:W().container,children:(0,r.jsxs)("div",{className:`${W().subscription} ${W().container__inner}`,children:[(0,r.jsx)("div",{className:W().researchTitle,children:"丸善リサーチ"}),!t&&h&&(0,r.jsx)(b,{}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"現在の契約状態"}),(0,r.jsx)("div",{className:W().statusMain,children:s}),(0,r.jsxs)("div",{className:W().trialNotice,children:["解約は完了しました。",(0,r.jsx)("br",{}),"丸善リサーチアカウントの退会処理は、最大で解約完了日の翌月末までに行われます。",(0,r.jsx)("br",{}),"※ お客様の料金発生はありません。"]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"解約完了日"}),(0,r.jsx)("div",{className:W().nextPayment,children:a})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"サブスクリプション設定 (Stripe)"}),(0,r.jsx)(R.A,{color:"default",size:"small",label:"決済情報を確認する",onClick:x})]}),(0,r.jsx)("div",{className:W().divider}),(0,r.jsxs)("div",{children:[(0,r.jsx)(R.A,{color:"default",size:"small",label:"お申し込み・詳細はこちら",onClick:j,disabled:t||h}),(0,r.jsx)("div",{className:W().cautionArea,children:t?(0,r.jsx)(r.Fragment,{children:"※ 解約後、一定期間内の再申し込みはできません。"}):(0,r.jsxs)(r.Fragment,{children:["※ 丸善リサーチを",l,"日間無料でお試しいただけます。(クレジットカード決済情報の登録が必要です)",(0,r.jsx)("br",{}),"※ 無料期間終了後に自動でサブスクリプション(毎月",c?.toLocaleStr
1ing(),"円(税抜))が開始されます。"]})})]})]})});default:return(0,r.jsx)("div",{className:W().container,children:(0,r.jsxs)("div",{className:`${W().subscription} ${W().container__inner}`,children:[(0,r.jsx)("div",{className:W().researchTitle,children:"丸善リサーチ"}),p&&(0,r.jsx)(b,{}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:W().sectionLabel,children:"現在の契約状態"}),(0,r.jsx)("div",{className:W().statusUnsubscribed,children:s})]}),(0,r.jsx)("div",{className:W().divider}),(0,r.jsxs)("div",{children:[(0,r.jsx)(R.A,{color:"default",size:"small",label:"お申し込み・詳細はこちら",onClick:j,disabled:h}),(0,r.jsxs)("div",{className:W().cautionArea,children:["※ 丸善リサーチを",l,"日間無料でお試しいただけます。(クレジットカード決済情報の登録が必要です)",(0,r.jsx)("br",{}),"※ 無料期間終了後に自動でサブスクリプション(毎月",c?.toLocaleString(),"円(税抜))が開始されます。"]})]})]})})}},K=({subscription:e,subscriptionInfo:s,formattedCancelAt:i,formattedEndedAt:a,formattedNextPayment:n,isApplyDisabled:t,trialDays:l,unitAmount:c,unitAmountWithTax:d,cpaNumber:_})=>{let o=s?.status||"",m=e&&!1===e.subscribed&&!e.stripe_customer_id||""===o?"未契約":("trialing"===o||"active"===o)&&i?"解約受付済み":"trialing"===o?"無料トライアル中":"active"===o||"past_due"===o||"unpaid"===o?"利用中(サブスクリプション)":"canceled"===o?"解約完了":"";return(0,r.jsx)(F,{statusText:o,displayStatus:m,formattedCancelAt:i,formattedEndedAt:a,formattedNextPayment:n,isApplyDisabled:t,trialDays:l,unitAmount:c,unitAmountWithTax:d,cpaNumber:_})};var X=i(39196),Z=i.n(X),J=i(48230),Y=i.n(J),Q=i(67768);function ee({}){let e=(0,Q.jE)(),s=(0,C.d)(),{data:i,isPending:a}=(0,L.Py)(),n=Array.isArray(i?.result)?i.result:[],t=n.find(e=>e.referral_ambassador_code)?.referral_ambassador_code??null,l=n.filter(e=>null!==e.ambassador).map(e=>e.ambassador)[0],{mutate:c,isPending:d}=(0,L.E3)(),_=async()=>{if(t)try{if("u"<typeof navigator||!navigator.clipboard)throw Error("Clipboard API is not available");await navigator.clipboard.writeText(t),s(!0,"紹介コードをコピーしました。","success",2750,k.A)}catch(e){console.error("紹介コードのコピーに失敗しました",e)}};return(0,r.jsx)("div",{className:Z().container,children:(0,r.jsx)("div",{className:Z().container__inner,children:(0,r.jsx)("div",{className:Z().notification,children:(0,r.jsx)("div",{className:Z().mypage__contents,children:(0,r.jsxs)("dl",{className:Z().detail,children:[l&&(0,r.jsx)("div",{className:Z().detail__content,children:(0,r.jsx)("p",{className:Z().detail__text,children:`あなたは紹介コード ${l.code} を使用して会員登録しました。`})}),(0,r.jsx)("div",{className:Z().detail__content,children:(0,r.jsxs)("div",{className:Z().detail__row,children:[(0,r.jsxs)("dl",{className:Z().detail__mycode,children:[(0,r.jsx)("dt",{children:"あなた専用の紹介コード"}),(0,r.jsx)("dd",{children:a?"読み込み中…":t?(0,r.jsx)("span",{className:Z()["detail__mycode-issued"],children:t}):"未発行"})]}),t?(0,r.jsx)(R.A,{color:"default",label:"紹介コードをコピー",onClick:_,size:"small",disabled:a}):(0,r.jsx)(R.A,{color:"primary",label:"紹介コードを発行する",onClick:()=>{c(void 0,{onSuccess:i=>{e.invalidateQueries({queryKey:["referral-program"]}).catch(e=>{console.error("紹介コード情報の更新に失敗しました",e)}),s(!0,"紹介コードを発行しました。","success",2750,k.A)},onError:e=>{console.error("紹介コードの発行に失敗しました",e)}})},size:"small",disabled:d||a})]})}),(0,r.jsx)("div",{className:Z().detail__link,children:(0,r.jsx)(Y(),{href:"https://bridge-group.notion.site/job-29a32e8e29048031aa51e3f1c9cfccb3",target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(R.A,{color:"default",label:"プログラム詳細はこちら",size:"small",Icon:$.A})})})]})})})})})}var es=i(44492),ei=!0;function ea(e){let{setEditMode:s}=(0,h.w)(),i=(0,u.useRouter)(),{session_id:a}=i.query,n=(0,C.d)(),{data:t}=(0,L.Py)(),{data:l}=(0,es.IY)(),c=t?.has_active_program!==!1,o=Array.isArray(l)&&l.some(e=>e.is_active),m=e?.subscription,p=e?.subscriptionInfo;return(0,A.useEffect)(()=>{"true"===i.query.isExpired&&n(!0,"有効期限が切れました。もう一度お手続きをお願いします。","error",4e3,H.A),"string"==typeof a&&a.length>0&&n(!0,"お申し込みが完了しました。","success",4e3,k.A)},[i,n,a]),(0,r.jsx)("div",{className:d().container,children:(0,r.jsxs)("div",{className:d().container__inner,children:[(0,r.jsx)("div",{className:d().sideNav,children:(0,r.jsx)(v.A,{})}),(0,r.jsxs)("div",{className:d().cards,children:[(0,r.jsxs)("div",{className:d().cards__inner,children:[(0,r.jsx)(_.A,{id:"email-notifications-edit",title:"アカウント",children:(0,r.jsx)(j,{})}),(0,r.jsxs)("div",{className:d().cards__groupNoTitle,children:[(0,r.jsx)(_.A,{id:"email-edit",hideHeader:!0,children:(0,r.jsx)(g,{})}),(0,r.jsx)(_.A,{id:"password-edit",hideHeader:!0,children:(0,r.jsx)(U,{})}),(0,r.jsx)(_.A,{id:"sns-edit",hideHeader:!0,children:(0,r.jsx)(O,{})})]}),c&&(0,r.jsx)(_.A,{id:"friend-introduction",title:"お友達紹介プログラム",children:(0,r.jsx)(ee,{})}),o&&(0,r.jsx)(_.A,{id:"subscription",title:"提携サービス",children:(0,r.jsx)(K,{subscription:m,subscriptionInfo:p,formattedCancelAt:e?.formattedCancelAt,formattedEndedAt:e?.formattedEndedAt,formattedNextPayment:e?.formattedNextPayment,isApplyDisabled:e?.isApplyDisabled,trialDays:e?.trialDays,unitAmou
1nt:e?.unitAmount,unitAmountWithTax:e?.unitAmountWithTax,cpaNumber:e?.me?.member?.license?.cpa_number??0})})]}),(0,r.jsx)("div",{className:d().button,children:(0,r.jsx)(R.A,{size:"small",color:"basic",label:"退会手続きへ",onClick:()=>{s(!0),i.push("/mypage/delete/")}})})]})]})})}},66520:(e,s,i)=>{"use strict";i.d(s,{A:()=>c});var a=i(37876);i(14232);var n=i(55544),t=i.n(n),l=i(48797),r=i(93579);function c(){return(0,a.jsx)("div",{className:t().container,children:(0,a.jsxs)("div",{className:t().container__inner,children:[(0,a.jsx)("div",{className:t().container__title,children:"解約する前にご確認ください"}),(0,a.jsxs)("div",{className:t().container__content,children:[(0,a.jsxs)("div",{className:t().container__content__points,children:[(0,a.jsxs)("p",{children:["・ 解約手続きは、Stripe設定画面より",(0,a.jsx)("span",{className:t().highlightBold,children:"サブスクリプションをキャンセル"}),"してください。"]}),(0,a.jsx)("p",{children:"・ キャンセル後もサブスクリプションの有効期限まではサービスをご利用いただけます。"}),(0,a.jsxs)("p",{children:["・ 有効期限を過ぎると",(0,a.jsx)("span",{className:t().highlight,children:"解約完了"}),"となります。"]})]}),(0,a.jsxs)("div",{className:t().container__content__note,children:[(0,a.jsx)("p",{children:"【丸善リサーチアカウントの退会について】"}),(0,a.jsx)("p",{children:"解約完了後、当社にて丸善リサーチアカウントの退会手続きを行います。"}),(0,a.jsx)("p",{children:"退会処理は、最大で解約完了日の翌月末までに実施されます。"}),(0,a.jsx)("p",{children:"※ アカウント退会までの期間、お客様の料金発生はありません。"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:t().container__note,children:"Stripe設定画面へ遷移します"}),(0,a.jsx)("div",{className:t().button,children:(0,a.jsx)(l.A,{size:"small",label:"解約する(サブスクのキャンセル)",color:"base_black",onClick:e=>{e.preventDefault(),(0,r.f)()}})})]})]})})}},74241:(e,s,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/mypage/system",function(){return i(62789)}])},78424:e=>{e.exports={container:"emailNotification_container__gQNwA",container__inner:"emailNotification_container__inner__gMZU6",edit:"emailNotification_edit__WLrSU",mypage__title:"emailNotification_mypage__title__lWq1_",mypage__contents:"emailNotification_mypage__contents__6ADti",detail:"emailNotification_detail__Rz1fR",detail__content:"emailNotification_detail__content__ZQnOh",shimmering:"emailNotification_shimmering__9Q20Q"}},82199:(e,s,i)=>{"use strict";i.d(s,{K:()=>a});let a=!1},88519:(e,s,i)=>{"use strict";i.d(s,{A:()=>l});var a,n=i(14232);function t(){return(t=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var i=arguments[s];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(null,arguments)}let l=function(e){return n.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),a||(a=n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.731 2.34h6.538c.557-.001 1.047-.002 1.503.147a3 3 0 0 1 1.08.623c.357.321.602.746.88 1.23l.058.1 3.152 5.46.058.1c.28.483.525.907.625 1.376.087.412.087.837 0 1.248-.1.469-.345.893-.625 1.375l-.058.101-3.152 5.46-.058.1c-.278.484-.523.909-.88 1.23a3 3 0 0 1-1.08.624c-.456.148-.946.147-1.503.146H8.73c-.557.001-1.047.002-1.503-.146a3 3 0 0 1-1.08-.624c-.357-.321-.602-.746-.88-1.23l-.058-.1-3.152-5.46L2 14c-.28-.483-.525-.907-.625-1.376a3 3 0 0 1 0-1.248c.1-.469.345-.893.625-1.375l.058-.1L5.21 4.439l.058-.1c.278-.484.523-.909.88-1.23a3 3 0 0 1 1.08-.623c.456-.149.946-.148 1.503-.147m.117 2c-.741 0-.887.011-1.002.049a1 1 0 0 0-.36.208c-.09.08-.173.201-.544.843L3.79 10.9c-.37.641-.434.774-.459.892a1 1 0 0 0 0 .416c.025.118.089.25.459.892l3.152 5.46c.37.642.454.763.544.843a1 1 0 0 0 .36.208c.115.038.261.05 1.002.05h6.304c.741 0 .887-.012 1.002-.05a1 1 0 0 0 .36-.208c.09-.08.174-.201.544-.843l3.152-5.46c.37-.641.434-.774.459-.892a1 1 0 0 0 0-.416c-.025-.118-.088-.25-.459-.892l-3.152-5.46c-.37-.642-.454-.763-.544-.843a1 1 0 0 0-.36-.208c-.115-.038-.261-.05-1.001-.05zM12 7a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V8a1 1 0 0 1 1-1m-1 9a1 1 0 0 1 1-1h.01a1 1 0 0 1 0 2H12a1 1 0 0 1-1-1",clipRule:"evenodd"})))}},93579:(e,s,i)=>{"use strict";i.d(s,{f:()=>n});var a=i(85967);async function n(e){let s={return_url:e??`${window.location.origin}/mypage/system/`},{data:i}=await a.A.post("/api/v3/public/stripe/portal/session/",s),n=i?.url;if(!n)throw Error("Portal URL not returned");window.location.assign(n)}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=74241)),_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.